Skip to content

Commit

Permalink
fix(components/forms): styles do not output build warnings when utliz…
Browse files Browse the repository at this point in the history
…ing checkboxes or radio buttons
  • Loading branch information
Blackbaud-TrevorBurch committed Dec 20, 2024
1 parent 21fa666 commit e22f3ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions apps/playground/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "5mb"
"maximumWarning": "3mb",
"maximumError": "7mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "1mb"
"maximumWarning": "22kb",
"maximumError": "4mb"
}
],
"fileReplacements": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@
outline: none;
}

&:not(:hover, :active, :focus-visible) {
&:checked:not(:disabled) + .sky-switch-control,
&[type='checkbox']:indeterminate:not(:disabled) + .sky-switch-control {
&:enabled:not(:hover):not(:active):not(:focus-visible) {
&:checked + .sky-switch-control,
&[type='checkbox']:indeterminate + .sky-switch-control {
&.sky-switch-control-success {
border-color: var(
--sky-override-switch-border-color,
Expand Down

0 comments on commit e22f3ce

Please sign in to comment.