Skip to content

Commit

Permalink
add :host selector
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Aug 4, 2021
1 parent f746ef7 commit dfd1877
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/styles/base.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:root,
:host,
.sl-theme-light {
/**
* Color Primitives
Expand Down
1 change: 1 addition & 0 deletions src/styles/dark.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* Dark theme
*/
:host,
.sl-theme-dark {
--sl-color-black: #fff;
--sl-color-white: var(--sl-color-gray-50);
Expand Down

0 comments on commit dfd1877

Please sign in to comment.