Hello!
I’m trying to add this plugin tailwindcss-text-scale - npm to a Sage theme I’m making from scratch, I have the @roots/bud-tailwind library in its latest version as well as all the other @roots libraries.
I followed the configuration instructions:
import textScalePlugin from ‘tailwindcss-text-scale’;
/** @type {import(‘tailwindcss’).Config} config /
const config = {
content: ['./app/**/.php’, ‘./resources/**/*.{php,vue,js}’],
theme: {
extend: {
colors: {}, // Extend Tailwind’s default colors
},
},
plugins: [
textScalePlugin({
minScreen: 320,
maxScreen: 1440,
}),
],
};
export default config;
but I get this error when trying to compile
Any help is appreciated, thx