5 ms·
We considered it but it felt too magical to make any CSS variable under `:root` automatically drive the existence of utility classes. Putting things under a cus
by adamwathan 3y ago
We considered it but it felt too magical to make any CSS variable under `:root` automatically drive the existence of utility classes. Putting things under a custom at-rule like `@theme` makes that opt-in, because we know anything you put there is actually intended to drive your utility classes.
- TIPSIO 3y agoMakes sense! Thanks for the reply, Adam. Best of luck and thanks for driving progress forward with the project still.