mirror of
https://github.com/mastodon/mastodon
synced 2024-12-23 19:18:41 +09:00
b85dec2b97
- 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.
19 lines
288 B
SCSS
19 lines
288 B
SCSS
.landing-strip {
|
|
background: rgba(darken($ui-base-color, 7%), 0.8);
|
|
color: $ui-primary-color;
|
|
font-weight: 400;
|
|
padding: 14px;
|
|
border-radius: 4px;
|
|
margin-bottom: 20px;
|
|
|
|
strong,
|
|
a {
|
|
font-weight: 500;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: underline;
|
|
}
|
|
}
|