Skip to content

Commit

Permalink
cleaning up the style.css and fixing link colors for light/dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
travishathaway committed Nov 10, 2023
1 parent 57867f7 commit 257b818
Showing 1 changed file with 7 additions and 23 deletions.
30 changes: 7 additions & 23 deletions conda_sphinx_theme/static/css/style.css
Original file line number Diff line number Diff line change
@@ -1,34 +1,14 @@
/* rgb #11557c */
html[data-theme="light"] {
--pst-color-text-base: rgb(51, 51, 51);
--sd-color-primary-text: rgb(250, 250, 250);
--pst-color-link: hsl(202, 76%, 25%);
--pst-color-primary: #348721;
--pst-color-primary-highlight: #2f7a1e;

--ifm-color-primary-dark: #2f7a1e;
--ifm-color-primary-darker: #2c731c;
--ifm-color-primary-darkest: #245e17;
--ifm-color-primary-light: #399524;
--ifm-color-primary-lighter: #3c9b26;
--ifm-color-primary-lightest: #44b02b;
--ifm-color-primary-contrast-background: #f0fded;
--pst-color-link-hover: var(--pst-color-link);
}

html[data-theme="dark"] {
--pst-color-primary: rgb(70, 152, 198);
--pst-color-text-base: rgb(250, 250, 250);
--sd-color-primary-text: rgb(51, 51, 51);
--pst-color-link: hsl(202, 53%, 80%);
--pst-color-primary: #43b02a;
--pst-color-primary-highlight: #3c9e26;
--ifm-color-primary-dark: #3c9e26;
--ifm-color-primary-darker: #399624;
--ifm-color-primary-darkest: #2f7b1d;
--ifm-color-primary-light: #4ac22e;
--ifm-color-primary-lighter: #4dca30;
--ifm-color-primary-lightest: #62d348;
--ifm-color-primary-contrast-background: #245e17;
--pst-color-link-hover: var(--pst-color-primary);
}

:root {
Expand Down Expand Up @@ -158,4 +138,8 @@ a.navbar-brand > p.title {
}


/** End front page cards **/
/** End front page cards **/

a:hover {
text-decoration-thickness: 2px;
}

0 comments on commit 257b818

Please sign in to comment.