UI: fix typography. Use explizit weights. Webkit seem to not understand all strings

This commit is contained in:
Johannes Kirschbauer
2025-01-03 16:33:00 +01:00
parent 507b3372d6
commit 3b89cde312

View File

@@ -2,25 +2,25 @@
@import "./typography-color.css"; @import "./typography-color.css";
.fnt-weight-normal { .fnt-weight-normal {
font-weight: normal; font-weight: 300;
} }
.fnt-weight-medium { .fnt-weight-medium {
font-weight: medium; font-weight: 500;
} }
.fnt-weight-bold { .fnt-weight-bold {
font-weight: bold; font-weight: 700;
} }
.fnt-weight-normal.fnt-clr--inverted { .fnt-weight-normal.fnt-clr--inverted {
font-weight: light; font-weight: 300;
} }
.fnt-weight-medium.fnt-clr--inverted { .fnt-weight-medium.fnt-clr--inverted {
font-weight: normal; font-weight: 400;
} }
.fnt-weight-bold.fnt-clr--inverted { .fnt-weight-bold.fnt-clr--inverted {
font-weight: 600; font-weight: 700;
} }