Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #151 from phovea/thinkh/modify-navbar-dark-theme
Browse files Browse the repository at this point in the history
Add dark theme colors and adapt navbar links
  • Loading branch information
thinkh authored Jun 11, 2021
2 parents 5eec863 + a7202d3 commit 293b054
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions dist/scss/abstracts/_variables.scss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/scss/components/_header_navbar.scss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/scss/abstracts/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ $phovea-theme-colors: (
"gray-3": #d4d7dd,
"gray-4": #aab3bb,
"gray-5": #3b4349,
"gray-6": #5c6873,
"gray-7": #73818f,
) !default;

$theme-colors: map-merge($theme-colors, $phovea-theme-colors);
Expand Down
4 changes: 2 additions & 2 deletions src/scss/components/_header_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@

&:hover,
&:focus {
background-color: map-get($theme-colors, "light");
color: map-get($theme-colors, "dark");
background-color: map-get($theme-colors, "gray-6");
color: map-get($theme-colors, "light");
}
}

Expand Down

0 comments on commit 293b054

Please sign in to comment.