Skip to content

Commit 866ce7a

Browse files
committed
Enforce white/black checkmark
1 parent 26ffd4b commit 866ce7a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/uui-color-swatch/lib/uui-color-swatch.element.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,11 +338,13 @@ export class UUIColorSwatchElement extends LabelMixin(
338338
}
339339
340340
.color-swatch.color-swatch--light .color-swatch__check {
341-
filter: invert(0) brightness(0);
341+
color: #000 !important;
342+
filter: none;
342343
}
343344
344345
.color-swatch.color-swatch--dark .color-swatch__check {
345-
filter: invert(1) brightness(10);
346+
color: #fff !important;
347+
filter: none;
346348
}
347349
348350
:host([selected]) .color-swatch__check {

0 commit comments

Comments
 (0)