You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current Nested Object Syntax documentation states that the default key is special, meaning "no modifier". Given the config below, Tailwind 1.9 generates color classes in the form: text-primary bg-primary, but with Tailwind 2.0 they are generated as text-primary-default bg-primary-default.
Is this a misunderstanding on my part, or a regression in Tailwind 2.0?
Describe the problem:
The current Nested Object Syntax documentation states that the
default
key is special, meaning "no modifier". Given the config below, Tailwind 1.9 generates color classes in the form:text-primary bg-primary
, but with Tailwind 2.0 they are generated astext-primary-default bg-primary-default
.Is this a misunderstanding on my part, or a regression in Tailwind 2.0?
Link to a minimal reproduction:
https://github.com/hagmic/tw-colors
This reproduction contains CSS files generated witth
npx tailwindcss build styles.css -o output.css
. One with1.9.6
and the other withnext
.The text was updated successfully, but these errors were encountered: