unocss / unocss

The instant on-demand atomic CSS engine.

Home Page:https://unocss.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TailwindCSS importing colors within scss

Hextar opened this issue · comments

In tailwind I'm able to get colors into scss like:

theme('colors.primary.500')

In some cases I could use @apply bg-primary-500, but in other I need to apply colors to props like fill or within a scss map.

Is there something similar?