Add CSS shadow parts support #541
Closed
adi-heffer-folloze
started this conversation in
Ideas / Requests
Replies: 2 comments
-
I really like this! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Implemented with v2.6 |
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
-
Hi all,
I'd like to suggest CSS shadow part as a solution for external modifications of shadow dom styles.
For example: By adding the native attribute part="button" to the button elements, we should be able to select them in external CSS files with the simple pseudo selector
add-to-calendar-button::part(button)
.I think that button, icon, label and list are parts worth exposing. It will make style customization much much easier and we could avoid long inline css that way.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions