mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 10:46:14 -04:00
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:
parent
e7ffe74a05
commit
dd96dd0b5a
2 changed files with 7 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue