Merge pull request #641 from rcoup/web-components-host

Support web components/shadow DOM
This commit is contained in:
Lucas Larroche 2025-03-09 13:13:37 +07:00 committed by GitHub
commit d2338228ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 14 additions and 7 deletions

View file

@ -9,7 +9,8 @@
$css-var-color-prefix: #{settings.$css-var-prefix}#{$color-property-name};
@if $enable-css-vars {
:root {
:root,
:host {
// Loop through color families
@each $family, $colors in colors.$colors {
@if index(map.get(settings.$palette, "color-families"), $family) {