CSSSR / dsgen

7 stars 0 forks source link

Separate token group for common colors (both text and bg) #32

Closed nekitk closed 3 years ago

nekitk commented 3 years ago

For projects which don't have logical colors and use named absoulte colors (gray-100, gray-500, etc. like in Tailwind: https://tailwindcss.com/docs/customizing-colors).

Add token group colors — these colors could be used both in color and in background properties. Variable should be just --color-${name}.

Tweaks necessary:

nekitk commented 3 years ago

Done in b86e868294bed46d7aee85bb0f91f7b5061e7fd6