Skip to content

Commit

Permalink
Use specific colors rather than lighten/darken
Browse files Browse the repository at this point in the history
lighten/darken only appear to apply when called from color properties,
not for arbitrary variables.
  • Loading branch information
Nemo157 authored and Joshua Nelson committed Oct 22, 2020
1 parent df950a1 commit 62044a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/style/_themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
html {
--color-background-code: #f5f5f5;
--color-background: #fff;
--color-border-light: lighten(#ddd, 5%);
--color-border-light: #eaeaea;
--color-border: #ddd;
--color-doc-link-background: #333;
--color-doc-link-hover: #3061f3;
--color-error-hover: darken(#d93d3d, 10%);
--color-error-hover: #be2525;
--color-error: #d93d3d;
--color-macro: #068000;
--color-menu-border: #cdcdcd;
Expand All @@ -16,8 +16,8 @@ html {
--color-struct: #df3600;
--color-type: #e57300;
--color-url: #4d76ae;
--color-warn-background: lighten(#e57300, 45%);
--color-warn-hover: darken(#e57300, 10%);
--color-warn-background: #ffe5cc;
--color-warn-hover: #b25900;
--color-warn: #e57300;
}

Expand Down

0 comments on commit 62044a5

Please sign in to comment.