Extended properties
#17767
Replies: 1 comment
-
You could also extend the @utility flex-* {
flex: --value(--flex-*);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
in v3 i had extended theme
extend: {
flex: {
full: '1 1 100%',
10: '1 1 10%',
15: '1 1 15%',
20: '1 1 20%',
25: '1 1 25%',
...
},
after migration to v4 these are added in @theme as variables
--flex-10: 1 1 10%;
--flex-15: 1 1 15%;
--flex-20: 1 1 20%;
--flex-25: 1 1 25%;
--flex-full: 1 1 100%;
Beta Was this translation helpful? Give feedback.
All reactions