css: target both :root and :host to also cover usage in shadow DOM
Inside shadow DOM :root can't be targeted, so :host should be used here for those cases. Solves issues #517
This commit is contained in:
parent
99b7757a3a
commit
7005ced0b5
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--d2h-bg-color: #fff;
|
||||
--d2h-border-color: #ddd;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue