mirror of
https://github.com/flarum/core.git
synced 2025-08-23 08:33:45 +02:00
feat: Declare & Use CSS Custom Properties (#3146)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
vertical-align: middle;
|
||||
box-shadow: 0 2px 4px @shadow-color;
|
||||
box-shadow: 0 2px 4px var(--shadow-color);
|
||||
|
||||
.Badge-label {
|
||||
display: none;
|
||||
@@ -35,5 +35,5 @@
|
||||
}
|
||||
|
||||
.Badge--hidden {
|
||||
background: #888;
|
||||
--badge-bg: var(--badge-hidden-bg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user