File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/pydata_sphinx_theme/assets/styles/extensions Expand file tree Collapse file tree 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"] {
179179 transparent ; // top LR bottom
180180 border-width : 0.125rem 0.125rem 0 ;
181181 border-radius : 0.125rem 0.125rem 0 0 ;
182- background-color : var (--pst-color-background );
182+ background-color : var (--pst-color-on- background );
183183 transform : translateY (0.125rem );
184184 color : var (--pst-color-primary );
185185 }
@@ -207,6 +207,10 @@ html[data-theme="light"] {
207207 padding : 0 0.75em ;
208208 margin-inline-end : 0.25rem ;
209209 line-height : 1.95 ;
210+
211+ html [data-theme = " dark" ] & {
212+ background-color : var (--pst-color-on-background );
213+ }
210214 }
211215
212216 // panel
@@ -215,6 +219,7 @@ html[data-theme="light"] {
215219 border-radius : 0.1875rem ;
216220 box-shadow : unset ;
217221 padding : 0.625rem ;
222+ background-color : var (--pst-color-on-background );
218223 }
219224}
220225
You can’t perform that action at this time.
0 commit comments