fix label color

pull/809/head
Cory LaViska 2022-06-24 08:46:44 -04:00
rodzic de9da437f1
commit 25c00c80b7
3 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -19,6 +19,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
- Fixed a bug in `<sl-color-picker>` where values were logged to the console when using the keyboard
- Fixed a bug in `<sl-input>` where password controls would try to autocorrect/autocomplete/autocapitalize when the password is visible
- Fixed label alignment in `<sl-checkbox>` and `<sl-radio>` so they align to the top of the control instead of the center when wrapping
- Fixed labels in `<sl-checkbox>` and `<sl-radio>` so they use the `--sl-input-label-color` design token
- Updated the `fieldset` attribute so it reflects in `<sl-radio-group>`
## 2.0.0-beta.76

Wyświetl plik

@ -99,6 +99,7 @@ export default css`
}
.checkbox__label {
color: var(--sl-input-label-color);
line-height: var(--sl-toggle-size);
margin-inline-start: 0.5em;
user-select: none;

Wyświetl plik

@ -98,6 +98,7 @@ export default css`
}
.radio__label {
color: var(--sl-input-label-color);
line-height: var(--sl-toggle-size);
margin-inline-start: 0.5em;
user-select: none;