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
Tailwind bg-primary/90 Not Using Custom Primary Color from globals.css
Description:
I recently updated the primary color in my globals.css file using HSL (16, 61%, 55%). The new color is correctly applied when using classes like bg-primary. However, when I use opacity variants such as bg-primary/90, the color does not reflect the updated value — it still appears to use Tailwind's default blue.
Details:
Here's the relevant portion of my components.json configuration:
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Title:
Tailwind
bg-primary/90
Not Using Custom Primary Color fromglobals.css
Description:
I recently updated the primary color in my
globals.css
file using HSL (16, 61%, 55%
). The new color is correctly applied when using classes likebg-primary
. However, when I use opacity variants such asbg-primary/90
, the color does not reflect the updated value — it still appears to use Tailwind's default blue.Details:
Here's the relevant portion of my
components.json
configuration:Beta Was this translation helpful? Give feedback.
All reactions