]> cat aescling's git repositories - mastodon.git/commit
Improve scss color variables (#2912)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Mon, 8 May 2017 13:57:49 +0000 (09:57 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 8 May 2017 13:57:49 +0000 (15:57 +0200)
commitb85dec2b976e0bea9f7a3ede832f3c8e16c8e2ef
treec33e5e6ba9e9badf164d721e048925db0eb66127
parentcbd673601c5f762d71f65404c3b7ad5b3751ee8c
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.
15 files changed:
app/javascript/styles/about.scss
app/javascript/styles/accounts.scss
app/javascript/styles/admin.scss
app/javascript/styles/basics.scss
app/javascript/styles/boost.scss
app/javascript/styles/compact_header.scss
app/javascript/styles/components.scss
app/javascript/styles/containers.scss
app/javascript/styles/footer.scss
app/javascript/styles/forms.scss
app/javascript/styles/landing_strip.scss
app/javascript/styles/reset.scss
app/javascript/styles/stream_entries.scss
app/javascript/styles/tables.scss
app/javascript/styles/variables.scss