It should make theming easier as well since changing —text-primary will cascade everywhere it’s used as opposed to remembering where you set the colors.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Give the raw colors a name (eg —ocean-teal) and assign that name as a variable to another item (eg. —text-primary: —ocean-teal)
Good approach. I do the same. Sometimes I write the base colors as the Tailwind way red-100, red-200, red-300...
That's elegant. I think I'm going to try this out tonight.
It should make theming easier as well since changing —text-primary will cascade everywhere it’s used as opposed to remembering where you set the colors.