Replies: 2 comments
-
I wonder how this could actually be maintained other than just like... as a policy as you write components. Some kinda custom cop? That seems like. lot. Maybe this isn't an issue but a like, discussion topic? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @dhnaranjo this is a good idea. I am not against this and we should explore how we could do this while keeping maintaince in mind. |
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.
-
I'd like it if the set of classes common across the variants of a component were pulled into something like a
common_classes
method. TakePhlexUI::Link
, where each of the variants list of classes includeswhitespace-nowrap, inline-flex, items-center, justify-center, rounded-md, font-medium, transition-colors, focus-visible:outline-none, focus-visible:ring-1, focus-visible:ring-ring, disabled:pointer-events-none, disabled:opacity-50
. If these were broke up I could better see what the actual differences are.Beta Was this translation helpful? Give feedback.
All reactions