1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +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:
Sami Mazouz
2021-08-16 10:17:48 +01:00
committed by GitHub
parent ac4cd4f84d
commit ace08b4869
16 changed files with 50 additions and 37 deletions

View File

@@ -13,7 +13,7 @@
margin-bottom: 20px;
.Button {
.Button--color(@control-color, @body-bg)
.Button--color(@control-color, @body-bg, 'button-alternate')
}
}