mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-16 11:45:19 +00: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.
29 lines
455 B
SCSS
29 lines
455 B
SCSS
.compact-header {
|
|
h1 {
|
|
font-size: 24px;
|
|
line-height: 28px;
|
|
color: $ui-primary-color;
|
|
overflow: hidden;
|
|
font-weight: 500;
|
|
margin-bottom: 20px;
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
small {
|
|
font-weight: 400;
|
|
color: $ui-secondary-color;
|
|
}
|
|
|
|
img {
|
|
display: inline-block;
|
|
margin-bottom: -5px;
|
|
margin-right: 15px;
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
}
|
|
}
|