Skip to content

Commit

Permalink
doc: maintain colors (vega#3276)
Browse files Browse the repository at this point in the history
* keep primary secondy(& -bg) colors as is

* align color by mode
  • Loading branch information
mattijn authored Nov 27, 2023
1 parent 13d2cc6 commit 240c009
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions doc/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
html[data-theme="light"] {
--pst-color-primary: rgb(93, 154, 181);
--pst-color-secondary: rgb(93, 154, 181);
--pst-color-secondary-bg: rgb(223, 235, 240);
}

html[data-theme="dark"] {
--pst-color-primary: rgb(93, 155, 182);
--pst-color-secondary: rgb(93, 155, 182);
--pst-color-secondary-bg: rgb(33, 45, 51);
}

.wy-nav-side p.caption {
color: #F5F5F5;
}
Expand Down Expand Up @@ -82,11 +94,6 @@ properly displayed on mobile devices and not restricted to 20% */
display: none;
}

/* Use old light blue color for banner since it goes better with the Altair logo */
.bd-header-announcement {
background-color: #daebf1 !important;
}

/* Configurations for the start page
------------------------------------ */
.lead {
Expand Down

0 comments on commit 240c009

Please sign in to comment.