You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-18 04:02:04 +03:00
Use custom properties
This commit is contained in:
@@ -28,23 +28,26 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mx_AuxPanel_stateViews_span {
|
.mx_AuxPanel_stateViews_span {
|
||||||
|
font-weight: var(--fontWeight);
|
||||||
|
color: var(--color);
|
||||||
|
|
||||||
&[data-severity="warning"] {
|
&[data-severity="warning"] {
|
||||||
font-weight: bold;
|
--fontWeight: bold;
|
||||||
color: orange;
|
--color: orange;
|
||||||
}
|
}
|
||||||
|
|
||||||
&[data-severity="alert"] {
|
&[data-severity="alert"] {
|
||||||
font-weight: bold;
|
--fontWeight: bold;
|
||||||
color: red;
|
--color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
&[data-severity="normal"] {
|
&[data-severity="normal"] {
|
||||||
font-weight: normal;
|
--fontWeight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
&[data-severity="notice"] {
|
&[data-severity="notice"] {
|
||||||
font-weight: normal;
|
--fontWeight: normal;
|
||||||
color: $settings-grey-fg-color;
|
--color: $settings-grey-fg-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
Reference in New Issue
Block a user