File tree 1 file changed +6
-1
lines changed
src/pydata_sphinx_theme/assets/styles/extensions
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ html[data-theme="light"] {
179
179
transparent ; // top LR bottom
180
180
border-width : 0.125rem 0.125rem 0 ;
181
181
border-radius : 0.125rem 0.125rem 0 0 ;
182
- background-color : var (--pst-color-background );
182
+ background-color : var (--pst-color-on- background );
183
183
transform : translateY (0.125rem );
184
184
color : var (--pst-color-primary );
185
185
}
@@ -207,6 +207,10 @@ html[data-theme="light"] {
207
207
padding : 0 0.75em ;
208
208
margin-inline-end : 0.25rem ;
209
209
line-height : 1.95 ;
210
+
211
+ html [data-theme = " dark" ] & {
212
+ background-color : var (--pst-color-on-background );
213
+ }
210
214
}
211
215
212
216
// panel
@@ -215,6 +219,7 @@ html[data-theme="light"] {
215
219
border-radius : 0.1875rem ;
216
220
box-shadow : unset ;
217
221
padding : 0.625rem ;
222
+ background-color : var (--pst-color-on-background );
218
223
}
219
224
}
220
225
You can’t perform that action at this time.
0 commit comments