We can generate class names for padding
and margin
.
#3082
iam-frankqiu
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
This is an interesting approach, but somewhat conflicts with the concept of "predefined constraints" where you set scales with specific values in the config file, and then stick to those values across the whole project. Allowing users to define new values "on the fly" removes a lot of that design consistency. A library called Atomic CSS, which has been around for a long time, takes that specific approach, if you're interested. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
For example. When a user sets a class named as
p-98
. We can detect all the .html .jsx .vue .tsx files. Auto-generate these class names. What we only need to do is define the name rule. Finally. generating all the class. what do you think?Beta Was this translation helpful? Give feedback.
All reactions