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.
This commit is contained in:
Matt Jankowski authored and Eugen Rochko committed 2017-05-08 15:57:49 +02:00
1 parent cbd673601c
commit b85dec2b97
15 files changed
+479 -461

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@
h1 {
font-size: 24px;
line-height: 28px;
color: $color3;
color: $ui-primary-color;
overflow: hidden;
font-weight: 500;
margin-bottom: 20px;
@@ -14,7 +14,7 @@
small {
font-weight: 400;
color: $color2;
color: $ui-secondary-color;
}
img {