feat(labels): add optional font weight

which can be set separately from the standard font weight
to put emphasis on the form labels if needed.

closes #79
This commit is contained in:
Markus Siering 2021-12-25 16:01:19 +01:00
parent e7ffe74a05
commit dd96dd0b5a
2 changed files with 7 additions and 0 deletions

View file

@ -131,6 +131,10 @@ fieldset legend {
margin-bottom: calc(var(--spacing) * 0.25);
}
label {
font-weight: var(--form-label-font-weight, var(--font-weight));
}
// Blocks, 100%
input:not([type="checkbox"]):not([type="radio"]),
select,