1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Use custom properties

This commit is contained in:
Suguru Hirahara
2023-05-13 11:59:56 +00:00
parent 37dce94b0e
commit fe720d05f4

View File

@@ -28,23 +28,26 @@ limitations under the License.
}
.mx_AuxPanel_stateViews_span {
font-weight: var(--fontWeight);
color: var(--color);
&[data-severity="warning"] {
font-weight: bold;
color: orange;
--fontWeight: bold;
--color: orange;
}
&[data-severity="alert"] {
font-weight: bold;
color: red;
--fontWeight: bold;
--color: red;
}
&[data-severity="normal"] {
font-weight: normal;
--fontWeight: normal;
}
&[data-severity="notice"] {
font-weight: normal;
color: $settings-grey-fg-color;
--fontWeight: normal;
--color: $settings-grey-fg-color;
}
a {