about summary refs log tree commit diff
path: root/app/javascript/styles/mastodon-light/variables.scss
diff options
context:
space:
mode:
authorLynx Kotoura <admin@sanin.link>2018-05-26 17:53:44 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-05-26 10:53:44 +0200
commita0b47542312c653748ac0d017e9b0d68650c5673 (patch)
treebfccf60ee918b9eaab7944f803eefecf9bfa5ac3 /app/javascript/styles/mastodon-light/variables.scss
parent62cb3b199fb195baad6e91f24cf058b39face024 (diff)
Fix color mistakes in mastodon-light theme (#7626)
* Fix colors of mastodon-light theme

Fix colors of modals and focused toots in light theme
Fix colors of compose-form items and more
Fix colors of status__content__spoiler-link:hover and $valid-value-color
Change success green color in light theme

* Fix some sass codes

* Add !default for explicit color valiables in default theme

for overwriting colors easier in the other themes
Diffstat (limited to 'app/javascript/styles/mastodon-light/variables.scss')
-rw-r--r--app/javascript/styles/mastodon-light/variables.scss7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/javascript/styles/mastodon-light/variables.scss b/app/javascript/styles/mastodon-light/variables.scss
index 4be454e66..9f6d470b1 100644
--- a/app/javascript/styles/mastodon-light/variables.scss
+++ b/app/javascript/styles/mastodon-light/variables.scss
@@ -8,7 +8,10 @@ $classic-secondary-color: #d9e1e8;
 $classic-highlight-color: #2b90d9;
 
 // Differences
-$base-overlay-background: $white;
+$success-green: #3c754d;
+
+$base-overlay-background: $white !default;
+$valid-value-color: $success-green !default;
 
 $ui-base-color: $classic-secondary-color !default;
 $ui-base-lighter-color: #b0c0cf;
@@ -26,7 +29,7 @@ $lighter-text-color: $classic-base-color !default;
 $light-text-color: #444b5d;
 
 //Newly added colors
-$account-background-color: $white;
+$account-background-color: $white !default;
 
 //Invert darkened and lightened colors
 @function darken($color, $amount) {