Skip to content

Commit 240c009

Browse files
authored
doc: maintain colors (#3276)
* keep primary secondy(& -bg) colors as is * align color by mode
1 parent 13d2cc6 commit 240c009

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

doc/_static/custom.css

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
html[data-theme="light"] {
2+
--pst-color-primary: rgb(93, 154, 181);
3+
--pst-color-secondary: rgb(93, 154, 181);
4+
--pst-color-secondary-bg: rgb(223, 235, 240);
5+
}
6+
7+
html[data-theme="dark"] {
8+
--pst-color-primary: rgb(93, 155, 182);
9+
--pst-color-secondary: rgb(93, 155, 182);
10+
--pst-color-secondary-bg: rgb(33, 45, 51);
11+
}
12+
113
.wy-nav-side p.caption {
214
color: #F5F5F5;
315
}
@@ -82,11 +94,6 @@ properly displayed on mobile devices and not restricted to 20% */
8294
display: none;
8395
}
8496

85-
/* Use old light blue color for banner since it goes better with the Altair logo */
86-
.bd-header-announcement {
87-
background-color: #daebf1 !important;
88-
}
89-
9097
/* Configurations for the start page
9198
------------------------------------ */
9299
.lead {

0 commit comments

Comments
 (0)