File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ pre.shiki {
39
39
}
40
40
41
41
// Make Shiki syntax highlighting theme-aware.
42
- html [ data-bs-theme = " dark" ] {
42
+ @include color-mode ( dark ) {
43
43
.shiki ,
44
44
.shiki span {
45
45
color : var (--shiki-dark ) !important ;
@@ -85,13 +85,19 @@ html[data-bs-theme="dark"] {
85
85
position : absolute ;
86
86
inset : 0 ;
87
87
border-radius : inherit ;
88
- background : var ( --ec-frm-inlBtnBg ) ;
88
+ background : white ;
89
89
opacity : var (--ec-frm-inlBtnBgIdleOpa );
90
90
transition-property : inherit ;
91
91
transition-duration : inherit ;
92
92
transition-timing-function : inherit ;
93
93
}
94
94
95
+ @include color-mode (dark ) {
96
+ .highlight .copy button div {
97
+ background : black ;
98
+ }
99
+ }
100
+
95
101
.highlight .copy button ::before {
96
102
content : " " ;
97
103
position : absolute ;
You can’t perform that action at this time.
0 commit comments