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
Hi, I have disabled all Tailwind colors using the code below because I want to create my own tokens. @theme { --color-*: initial; }
However, this will result in all colors being removed, which means, for example, I can't access --color-gray-200 directly. Is there a way to access those default colors inside the theme? @theme inline { --text-color-primary: var(--color-gray-200) }
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I have disabled all Tailwind colors using the code below because I want to create my own tokens.
@theme { --color-*: initial; }
However, this will result in all colors being removed, which means, for example, I can't access
--color-gray-200
directly. Is there a way to access those default colors inside the theme?@theme inline { --text-color-primary: var(--color-gray-200) }
Beta Was this translation helpful? Give feedback.
All reactions