Open
Description
Describe the bug
I don't know why the color that I've overwritten in windi.config.ts file does not work
To Reproduce
Steps to reproduce the behavior:
- overwrite the green-100 color in windi.config.ts file (at theme -> extend -> colors -> green -> 100 )
export default defineConfig({
....,
theme: {
extend: {
colors: {
green: {
100: "#7f1d1d",
},
},
},
},
plugins: [formsPlugin, typographyPlugin, aspectRatioPlugin, lineClampPlugin],
});
( you can see the color in the picture )
- put text-green-500 into
- tag
Expected behavior
the text color should be changed to #7f1d1d
not #10B981
my nuxt.config.ts file
export default defineNuxtConfig({
windicss: {
analyze: true,
config: {
attributify: true,
},
},
css: ['@/assets/font.css'],
modules: ['nuxt-windicss'],
})
please help, thanks 🙏🏾
Metadata
Assignees
Labels
No labels