mirror of
https://github.com/flarum/core.git
synced 2025-08-06 00:17:31 +02:00
feat: Declare & Use CSS Custom Properties (#3146)
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
.DashboardPage {
|
||||
background: @body-bg;
|
||||
color: @control-color;
|
||||
background: var(--body-bg);
|
||||
color: var(--control-color);
|
||||
min-height: 100vh;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
.Widget {
|
||||
background: @control-bg;
|
||||
color: @text-color;
|
||||
border-radius: @border-radius;
|
||||
background: var(--control-bg);
|
||||
color: var(--text-color);
|
||||
border-radius: var(--border-radius);
|
||||
padding: 20px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
.Button {
|
||||
.Button--color(@control-color, @body-bg, 'button-alternate')
|
||||
.Button--color-auto('button-inverted');
|
||||
}
|
||||
}
|
||||
|
||||
.StatusWidget {
|
||||
color: @muted-color;
|
||||
color: var(--muted-color);
|
||||
|
||||
>ul {
|
||||
margin: 0;
|
||||
|
Reference in New Issue
Block a user