Skip to content

Commit 2ca72c3

Browse files
authored
Merge pull request #384 from mauromascarenhas/shadow-dom
Support to "Shadow DOM"
2 parents 3dcfae8 + 2ba9fb8 commit 2ca72c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sass/components/_theme_variables.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:root {
1+
:root, :host {
22
--surface-color: #f3f6fc;
33
--background-color: #ffffff;
44

@@ -53,7 +53,7 @@
5353
--md_sys_color_on-surface: 28, 27, 31;
5454
}
5555

56-
:root[theme='dark'] {
56+
:root[theme='dark'], :host[theme='dark'] {
5757
--background-color: #121212;
5858
--surface-color: #242424;
5959

0 commit comments

Comments
 (0)