Replies: 1 comment 1 reply
-
Hey! Not really a bug so I moved it to discussions but thanks for sharing the feedback. You can bring back the old scales if you want by doing something like this: @theme {
--spacing-*: initial;
--spacing-1: 0.25rem;
--spacing-2: 0.5rem;
/* etc. */
} But yeah, I do agree that the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of Tailwind CSS are you using?
For example: v4.0.0-beta.2
What build tool (or framework if it abstracts the build tool) are you using?
For example: tailwind v4 + astro (the plugin was simple to replace)
What version of Node.js are you using?
For example: n/a
What browser are you using?
For example: n/a
What operating system are you using?
For example: n/a
Reproduction URL
it's 'required' but n/a
Describe your issue
v3:
[--gutter:theme(spacing.8)]
-- better than raw CSS, not amazing, but very clear in the codev4:
[--gutter:calc(var(--spacing)_*_8)]
-- oh noI expected it to be
[--gutter:--spacing-8]
magic'd in using dynamic spacing, but no, also can't use--spacing_*_8
or some other shorthand, only the full expressionBeta Was this translation helpful? Give feedback.
All reactions