Skip to content

Commit c1c9937

Browse files
committed
feat(checkbox): use focus-border-color prop for bootstrap
1 parent c86a598 commit c1c9937

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"globby": "^14.1.0",
8080
"husky": "^9.1.7",
8181
"ig-typedoc-theme": "^6.0.0",
82-
"igniteui-theming": "^16.1.0",
82+
"igniteui-theming": "^17.0.0",
8383
"keep-a-changelog": "^2.6.1",
8484
"lint-staged": "^15.4.3",
8585
"lit-analyzer": "^2.0.3",

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)