Skip to content

Commit

Permalink
docs theme update
Browse files Browse the repository at this point in the history
  • Loading branch information
bpuchala committed Dec 1, 2023
1 parent 702459f commit d032bd3
Show file tree
Hide file tree
Showing 8 changed files with 800 additions and 11 deletions.
41 changes: 39 additions & 2 deletions python/doc/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,48 @@
:root[data-theme='light'],
:root[data-theme='dark'] {
:root[data-theme='light'] {
--pst-color-primary: #0072b5;
--pst-color-secondary: #febc15;
--pst-color-link: #0072b5;
--pst-color-inline-code: #0072b5;
--sd-color-card-border-hover: #0072b5;

dt {
background-color: #eaeaea;
}

}

:root[data-theme='dark'] {
--pst-color-primary: #6DC8BF;
--pst-color-secondary: #CBDB2A;
--pst-color-link: #6DC8BF;
--pst-color-inline-code: #6DC8BF;
--sd-color-card-border-hover: #6DC8BF;

dt {
background-color: #6A4729F7;
}

/* note */
.admonition.note > .admonition-title::before, div.admonition.note > .admonition-title::before {
background-color: #8739b3;
}

.admonition.note > .admonition-title::after, div.admonition.note > .admonition-title::after {
color: #c695c5;
content: var(--pst-icon-admonition-note);
}

.admonition.note, div.admonition.note {
border-color: #c695c5;
}

/* deprecated */
--pst-color-danger: #f9e1e4;
--pst-color-danger-bg: #d72d47;
}



/* Fix breadcrumb overlap https://github.com/holoviz/panel/issues/5199 */
.header-article__inner .header-article-item {
height: unset;
Expand Down
91 changes: 91 additions & 0 deletions python/doc/_static/logo_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit d032bd3

Please sign in to comment.