Closed itsamoreh closed 6 months ago
Slugs for colors in theme.json will not work in tailwind @apply statements if they are missing a dash.
e.g. the following colors will not all be available to tailwind and if you try to use them, the theme will not build.
theme.json
{ "color": "blue", "slug": "primary", "name": "blue" }, { "color": "red", "slug": "secondary", "name": "red" },
example.scss
@apply text-primary
Slugs for colors in theme.json will not work in tailwind @apply statements if they are missing a dash.
e.g. the following colors will not all be available to tailwind and if you try to use them, the theme will not build.
theme.json
example.scss