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
The proposal for CSS Functions and Mixins was resolved to be adopted and the spec draft has been released. The author published an explainer.
In particular, the part about @mixin and @apply is very interesting, as it is very similar to Tailwind utilities.
As Tailwind is moving to v4, should the community consider to align with the new spec?
For example, the new @utility at-rule could be adjusted to @mixin. Unfortunately, the syntax for @apply is not the same, but maybe we can change it and provide a code mod?
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.
-
The proposal for CSS Functions and Mixins was resolved to be adopted and the spec draft has been released. The author published an explainer.
In particular, the part about
@mixin
and@apply
is very interesting, as it is very similar to Tailwind utilities.As Tailwind is moving to v4, should the community consider to align with the new spec?
For example, the new
@utility
at-rule could be adjusted to@mixin
. Unfortunately, the syntax for@apply
is not the same, but maybe we can change it and provide a code mod?Beta Was this translation helpful? Give feedback.
All reactions