mirror of
https://github.com/flarum/core.git
synced 2025-08-18 22:31:32 +02:00
[1.x] Custom Colorising with CSS Custom Properties (#3001)
* Start of conversion to CSS variables * Use variable for Badge colors * Use variable for avatar bg * Use variable for user card bg * Use css variables for hero * Use css variables for buttons * Use css variables for sidenav links * Cleaner style attr Co-authored-by: David Wheatley <hi@davwheat.dev>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.Badge {
|
||||
.Badge--size(22px);
|
||||
background: @muted-color;
|
||||
color: #fff;
|
||||
background: var(--badge-bg);
|
||||
color: var(--badge-color);
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
|
Reference in New Issue
Block a user