File tree 2 files changed +14
-9
lines changed
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 31
31
}
32
32
33
33
::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 {
36
36
@content ;
37
37
38
38
/* ! */ // Must remain separate from the above selector to not break browsers which don't support ::backdrop, e.g. Safari 14.
47
47
@content ;
48
48
}
49
49
}
50
-
50
+
51
51
::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 {
54
54
@content ;
55
55
56
56
/* ! */ // Must remain separate from the above selector to not break browsers which don't support ::backdrop, e.g. Safari 14.
64
64
@content ;
65
65
}
66
66
}
67
-
68
- [data-color-mode = " auto" ][data-light-theme = " #{$theme-name } " ]::backdrop {
67
+
68
+ [data-color-mode = " auto" ][data-light-theme = " #{$theme-name } " ] ::backdrop {
69
69
@content ;
70
70
71
71
/* ! */ // Must remain separate from the above selector to not break browsers which don't support ::backdrop, e.g. Safari 14.
79
79
@content ;
80
80
}
81
81
}
82
-
83
- [data-color-mode = " auto" ][data-light-theme = " #{$theme-name } " ]::backdrop {
82
+
83
+ [data-color-mode = " auto" ][data-light-theme = " #{$theme-name } " ] ::backdrop {
84
84
@content ;
85
85
86
86
/* ! */ // 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