Skip to content

Commit

Permalink
Update colors
Browse files Browse the repository at this point in the history
Improve toolbar contrast
  • Loading branch information
samuelmeuli committed Feb 26, 2020
1 parent dd25dc0 commit 61e20e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions src/renderer/assets/styles/base/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
$themes: (
"light": (
"background": #e2e2e2,
"background-hover": #d1d1d1,
"background-hover": #c5c5c5 /* Same as "background-toolbar" */,
"background-button-disabled": #d2d2d2,
"background-input": #f9f9f9,
"background-input-hover": #d4d4d4,
"background-toolbar": #c5c5c5 /* Same as "background-hover" */,
"error": #d23939,
"main": #4e8bd2,
"main-hover": #447ab8,
Expand All @@ -20,11 +21,12 @@ $themes: (
"shadow-outer": rgba(0, 0, 0, 0.18),
),
"dark": (
"background": #1d1d1f,
"background-hover": #272629,
"background": #1f1e21,
"background-hover": #3f3f41,
"background-button-disabled": #080808,
"background-input": #2f2f31,
"background-input": #353538,
"background-input-hover": #323234,
"background-toolbar": #131313,
"error": #d23939,
"main": #4c81bf,
"main-hover": #4371a7,
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/assets/styles/components/_editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $editor-padding-large: 2 * $spacing-abs-large;
}

.editor-toolbar {
@include background-color("background-hover");
@include background-color("background-toolbar");
@include box-shadow(0 -1.5px 1px 0, "shadow-inner");
display: flex;
align-items: center;
Expand Down

0 comments on commit 61e20e7

Please sign in to comment.