Implement Shadow Part #1137
Unanswered
jorgecasar
asked this question in
Ideas
Replies: 1 comment 10 replies
-
@jdelight Brought up some good points in the PR. I think the 3 ways he outlined are correct indeed. To summarize:
I agree with @jdelight that 3 seems like the best way for design systems, and this will always be the main use case for Lion. Yes you'll need more CSS custom props, but parts seems like more maintenance and tricky to get strict design compliance for our users that build design systems on top of lion. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Could be interesting implement Shadow Parts to be able style Shadow DOM.
We could discuss about part names and which parts we would like to expose.
First approach I suggest is to declare parts with the end of the class name, the part after "__".
For example in the FormControl would be something like:
Related PR: #1138
Beta Was this translation helpful? Give feedback.
All reactions