File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
mpl_sphinx_theme/static/css Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ Welcome to Matplotlib Sphinx Theme's documentation!
6
6
:caption: Contents:
7
7
8
8
This is the official Sphinx theme for Matplotlib documentation.
9
- It extends the ``pydata_sphinx_theme `` project, but adds custom
9
+ It extends the ``pydata_sphinx_theme `` project https://pydata-sphinx-theme.readthedocs.io/en/stable/,
10
+ but adds custom
10
11
styling and a navigation bar.
11
12
12
13
When creating a Matplotlib subproject you can include this theme by changing this
Original file line number Diff line number Diff line change 1
- html [data-theme = "light" ], html [data-theme = "dark" ] {
2
- --pst-color-primary : # 11557c ;
3
- --pst-color-link : rgb (17 , 85 , 124 );
4
- --pst-color-link-hover : rgb (0 , 60 , 99 );
5
- }
6
-
7
1
html [data-theme = "light" ] {
2
+ --pst-color-primary : # 11557c ;
8
3
--pst-color-text-base : rgb (51 , 51 , 51 );
9
4
}
10
5
@@ -13,6 +8,9 @@ html[data-theme="dark"] {
13
8
--pst-color-text-base : rgb (240 , 240 , 240 );
14
9
}
15
10
11
+ --pst-color-link : var (--pst-color-primary );
12
+ --pst-color-link-hover : var (--pst-color-secondary );
13
+
16
14
.sidebar-cheatsheets , .sidebar-donate {
17
15
margin : 2.75rem 0 ;
18
16
}
You can’t perform that action at this time.
0 commit comments