diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-05-08 09:57:49 -0400 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-08 15:57:49 +0200 |
commit | b85dec2b976e0bea9f7a3ede832f3c8e16c8e2ef (patch) | |
tree | c33e5e6ba9e9badf164d721e048925db0eb66127 /app/javascript/styles/landing_strip.scss | |
parent | cbd673601c5f762d71f65404c3b7ad5b3751ee8c (diff) |
Improve scss color variables (#2912)
- Updates scss variables file to use better-named variables for black/white/etc - Arranges the "mastodon classic" colors into variables - Remove all references to `$color-*` naming, replacing with new This does not in itself introduce "theme" support, but: - It would probably be easier to start working on theme support after this change and others - Even without the goal of themes, these changes make it more clear how the colors are being used. There is almost definitely some edge case in here where I've guessed the intent/context of some color usage incorrectly, but it still seems like a net improvement.
Diffstat (limited to 'app/javascript/styles/landing_strip.scss')
-rw-r--r-- | app/javascript/styles/landing_strip.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/styles/landing_strip.scss b/app/javascript/styles/landing_strip.scss index 077827180..d2ac5b822 100644 --- a/app/javascript/styles/landing_strip.scss +++ b/app/javascript/styles/landing_strip.scss @@ -1,6 +1,6 @@ .landing-strip { - background: rgba(darken($color1, 7%), 0.8); - color: $color3; + background: rgba(darken($ui-base-color, 7%), 0.8); + color: $ui-primary-color; font-weight: 400; padding: 14px; border-radius: 4px; |