Replies: 1 comment 1 reply
-
@simonrand how cool! It's crazy to read your code and realize how similar it is to what we have built internally for working with the Primer design system. I'm hoping we can share our implementation of this approach soon. |
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
-
While this doesn't specifically impact ViewComponent, I said in my PR last month that I'd update on something I was working on related to ViewComponent which I thought was interesting.. This is still very much in progress, but I have recently pushed a part of this work: https://github.com/simonrand/view_component_properties
This is still somewhat a proof of concept for managing "properties" on components (essentially the CSS that is allowed to be applied to a component). However, when combined with something like Tailwind, so far, this seems to be providing a very interesting and straightforward way to constrain the CSS available to components, helping with consistency and ease of implementation of the original design intent (of a new internal tool design system we are working on).
As I say, not entirely relevant, but perhaps this may be of interest to some of you..
Beta Was this translation helpful? Give feedback.
All reactions