kopia lustrzana https://github.com/shoelace-style/shoelace
fix label color
rodzic
de9da437f1
commit
25c00c80b7
|
@ -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-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 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 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>`
|
- Updated the `fieldset` attribute so it reflects in `<sl-radio-group>`
|
||||||
|
|
||||||
## 2.0.0-beta.76
|
## 2.0.0-beta.76
|
||||||
|
|
|
@ -99,6 +99,7 @@ export default css`
|
||||||
}
|
}
|
||||||
|
|
||||||
.checkbox__label {
|
.checkbox__label {
|
||||||
|
color: var(--sl-input-label-color);
|
||||||
line-height: var(--sl-toggle-size);
|
line-height: var(--sl-toggle-size);
|
||||||
margin-inline-start: 0.5em;
|
margin-inline-start: 0.5em;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
|
@ -98,6 +98,7 @@ export default css`
|
||||||
}
|
}
|
||||||
|
|
||||||
.radio__label {
|
.radio__label {
|
||||||
|
color: var(--sl-input-label-color);
|
||||||
line-height: var(--sl-toggle-size);
|
line-height: var(--sl-toggle-size);
|
||||||
margin-inline-start: 0.5em;
|
margin-inline-start: 0.5em;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
Ładowanie…
Reference in New Issue