Skip to content

Commit

Permalink
Add green color variable
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Sep 15, 2017
1 parent 34ef3c3 commit fec3a77
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions scss/helpers/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
$color-base: #222 !default;
$color-highlight: #949494 !default;
$color-red: #bf360c !default;
$color-green: adjust-hue($color-red, 140) !default;

$color-shade-darkest: #000 !default;
$color-shade-dark: #363636 !default;
Expand Down
4 changes: 4 additions & 0 deletions scss/modules/_color-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
color: $color-red !important;
}

.seafoam_green {
color: $color-green !important;
}

.candy_red_bg {
background-color: $color-red !important;
}
Expand Down
2 changes: 1 addition & 1 deletion scss/modules/header/_topic-editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

&.inline_edit_success .inline_edit_inner::after {
color: adjust-hue($color-red, 180);
color: $color-green;
}

&.inline_edit_error .inline_edit_inner::after {
Expand Down
4 changes: 2 additions & 2 deletions scss/modules/messaging/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ code {
}

.cm-positive {
color: adjust-hue($color-red, 180);
color: $color-green;
}

.cm-invalidchar,
Expand All @@ -166,7 +166,7 @@ code {

div.CodeMirror span {
&.CodeMirror-matchingbracket {
color: adjust-hue($color-red, 180);
color: $color-green;
}

&.CodeMirror-nonmatchingbracket {
Expand Down

0 comments on commit fec3a77

Please sign in to comment.