Skip to content

Commit 21cef72

Browse files
didimmovasimeonoff
andauthored
feat(radio): use the new focus-border-color for bootstrap (#1644)
Co-authored-by: Simeon Simeonoff <[email protected]>
1 parent 89ed0f2 commit 21cef72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $theme: $bootstrap;
5858
}
5959

6060
[part='control']::after {
61-
border-color: color('primary', 200);
61+
border-color: var-get($theme, 'focus-border-color');
6262
}
6363
}
6464

@@ -90,7 +90,7 @@ $theme: $bootstrap;
9090

9191
[part~='focused'] [part='control'] {
9292
&::after {
93-
border-color: color('primary', 300);
93+
border-color: hsl(from var-get($theme, 'focus-border-color') h calc(s * 1.12) calc(l * 0.82));
9494
}
9595
}
9696
}

0 commit comments

Comments
 (0)