File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @primer/css ' : patch
3+ ---
4+
5+ fix backdrop selector
Original file line number Diff line number Diff line change 3131 }
3232
3333 ::backdrop ,
34- [data-color-mode = " light" ][data-light-theme = " #{$theme-name } " ]::backdrop ,
35- [data-color-mode = " dark" ][data-dark-theme = " #{$theme-name } " ]::backdrop {
34+ [data-color-mode = " light" ][data-light-theme = " #{$theme-name } " ] ::backdrop ,
35+ [data-color-mode = " dark" ][data-dark-theme = " #{$theme-name } " ] ::backdrop {
3636 @content ;
3737
3838 /* ! */ // Must remain separate from the above selector to not break browsers which don't support ::backdrop, e.g. Safari 14.
4747 @content ;
4848 }
4949 }
50-
50+
5151 ::backdrop ,
52- [data-color-mode = " light" ][data-light-theme = " #{$theme-name } " ]::backdrop ,
53- [data-color-mode = " dark" ][data-dark-theme = " #{$theme-name } " ]::backdrop {
52+ [data-color-mode = " light" ][data-light-theme = " #{$theme-name } " ] ::backdrop ,
53+ [data-color-mode = " dark" ][data-dark-theme = " #{$theme-name } " ] ::backdrop {
5454 @content ;
5555
5656 /* ! */ // Must remain separate from the above selector to not break browsers which don't support ::backdrop, e.g. Safari 14.
6464 @content ;
6565 }
6666 }
67-
68- [data-color-mode = " auto" ][data-light-theme = " #{$theme-name } " ]::backdrop {
67+
68+ [data-color-mode = " auto" ][data-light-theme = " #{$theme-name } " ] ::backdrop {
6969 @content ;
7070
7171 /* ! */ // Must remain separate from the above selector to not break browsers which don't support ::backdrop, e.g. Safari 14.
7979 @content ;
8080 }
8181 }
82-
83- [data-color-mode = " auto" ][data-light-theme = " #{$theme-name } " ]::backdrop {
82+
83+ [data-color-mode = " auto" ][data-light-theme = " #{$theme-name } " ] ::backdrop {
8484 @content ;
8585
8686 /* ! */ // Must remain separate from the above selector to not break browsers which don't support ::backdrop, e.g. Safari 14.
You can’t perform that action at this time.
0 commit comments