Skip to content

Commit 94cc480

Browse files
authored
fix(checkbox): use danger token color when invalid and hovered (#14586)
**Related Issue:** #14568 ## Summary Changes checkboxes box shadow color to use `--calcite-color-status-danger` instead of `--calcite-color-brand-hover` when the status is invalid.
1 parent f88c649 commit 94cc480

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/components/src/components/checkbox/checkbox.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
}
6363
.toggle:hover {
6464
.check-svg {
65-
box-shadow: inset 0 0 0 2px var(--calcite-color-brand-hover);
65+
box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger);
6666
}
6767
}
6868
.toggle:active {

0 commit comments

Comments
 (0)