Skip to content

Commit 75b5498

Browse files
didimmovasimeonoff
andauthored
feat(checkbox): use focus-border-color prop for bootstrap (#1611)
* feat(checkbox): use focus-border-color prop for bootstrap * chore(theming): bump theming version --------- Co-authored-by: Simeon Simeonoff <[email protected]>
1 parent 21cef72 commit 75b5498

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/checkbox/themes/shared/checkbox/checkbox.bootstrap.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ $theme: $bootstrap;
7171

7272
[part='control'] {
7373
&::after {
74-
box-shadow: inset 0 0 0 rem(1px) color(primary, 200);
74+
box-shadow: inset 0 0 0 rem(1px) var-get($theme, 'focus-border-color');
7575
}
7676
}
7777

7878
&:hover {
7979
[part='control']::after {
80-
box-shadow: inset 0 0 0 rem(1px) color(primary, 300);
80+
box-shadow: inset 0 0 0 rem(1px) hsl(from var-get($theme, 'focus-border-color') h calc(s * 1.12) calc(l * 0.82));;
8181
}
8282
}
8383
}

0 commit comments

Comments
 (0)