Skip to content

Commit

Permalink
Merge pull request #18 from janash/color-adjustment
Browse files Browse the repository at this point in the history
adjust theme colors
  • Loading branch information
janash authored Oct 30, 2023
2 parents 3b42ade + 4007053 commit f0401d2
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ html[data-theme="light"] {
--pst-color-primary: #ed1c24;
--pst-color-warning: #ed1c24;
--pst-color-primary-highlight: #bc151b;
--pst-color-secondary: #1d35e7;
--pst-color-secondary-highlight: #3e51e3;
--pst-color-secondary: #1A1A1A;
--pst-color-secondary-highlight: #222222;

}

Expand All @@ -14,10 +14,10 @@ html[data-theme="dark"] {
--pst-color-warning: #ed1c24;
--pst-color-primary-highlight: #bc151b;
--pst-color-background: #1A1A1A;
--pst-color-secondary: #1d35e7;
--pst-color-secondary-highlight: #3e51e3;


--pst-color-on-background: #222222;
--pst-color-surface: #222222;
--pst-color-secondary: #ffffff;
--pst-color-secondary-highlight: #ffffffb3;
}

html[data-theme="light"] a:hover {
Expand All @@ -28,8 +28,11 @@ html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"]
color: #ffffff;
}

html[data-theme="light"] a, a:visited {
color: var(--pst-color-primary);
}

html[data-theme="dark"] a {
html[data-theme="dark"] a, a:visited {
color: #ffffff;
}

Expand Down

0 comments on commit f0401d2

Please sign in to comment.