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!
66 :caption: Contents:
77
88This 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
1011styling and a navigation bar.
1112
1213When 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-
71html [data-theme = "light" ] {
2+ --pst-color-primary : # 11557c ;
83 --pst-color-text-base : rgb (51 , 51 , 51 );
94}
105
@@ -13,6 +8,9 @@ html[data-theme="dark"] {
138 --pst-color-text-base : rgb (240 , 240 , 240 );
149}
1510
11+ --pst-color-link : var (--pst-color-primary );
12+ --pst-color-link-hover : var (--pst-color-secondary );
13+
1614.sidebar-cheatsheets , .sidebar-donate {
1715 margin : 2.75rem 0 ;
1816}
You can’t perform that action at this time.
0 commit comments