DEV: Switch to CSS custom properties for colors in scss
Preparing the plugin for an upcoming core change. Note that this change is backwards-compatible.
This commit is contained in:
parent
301be24c13
commit
36adc0b14c
|
@ -14,7 +14,7 @@
|
|||
.d-icon,
|
||||
i.fa {
|
||||
margin-right: 0.25em;
|
||||
color: $primary-medium;
|
||||
color: var(--primary-medium, $primary-medium);
|
||||
}
|
||||
.assign-text {
|
||||
margin-right: 0.25em;
|
||||
|
@ -29,8 +29,8 @@
|
|||
|
||||
.cant-act-flagged-post {
|
||||
padding: 0.5em;
|
||||
border: 1px dashed $primary-medium;
|
||||
color: $primary;
|
||||
border: 1px dashed var(--primary-medium, $primary-medium);
|
||||
color: var(--primary, $primary);
|
||||
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
.username {
|
||||
font-size: $font-down-1;
|
||||
color: $primary-medium;
|
||||
color: var(--primary-medium, $primary-medium);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue