Skip to content

Commit

Permalink
Updated colors of page background and navbar (#85)
Browse files Browse the repository at this point in the history
Closed issue #83
  • Loading branch information
kotleni authored Nov 22, 2022
1 parent eb05892 commit c54e6ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
background-color: #0d1117;
--ifm-color-primary: #ab2bfc;
--ifm-color-primary-dark: #9E18D7;
--ifm-color-primary-darker: #8D0AAF;
Expand All @@ -29,6 +30,11 @@
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

/* navbar in dark theme */
[data-theme='dark'] .navbar {
background-color: #161b22;
}

/* invertion images color in dark theme */
[data-theme='dark'] img[src$='#invert'] {
-webkit-filter: invert(1);
Expand Down

0 comments on commit c54e6ab

Please sign in to comment.