Skip to content

Commit d1feb30

Browse files
committed
chore(checkbox): making tokens more specific
1 parent 7981ef9 commit d1feb30

File tree

3 files changed

+14
-521
lines changed

3 files changed

+14
-521
lines changed

components/checkbox/dist/metadata.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
],
8383
"modifiers": [
8484
"--mod-checkbox-animation-duration",
85+
"--mod-checkbox-background-color",
8586
"--mod-checkbox-border-width",
8687
"--mod-checkbox-bottom-to-text",
8788
"--mod-checkbox-checkmark-color",
@@ -124,6 +125,7 @@
124125
],
125126
"component": [
126127
"--spectrum-checkbox-animation-duration",
128+
"--spectrum-checkbox-background-color",
127129
"--spectrum-checkbox-border-width",
128130
"--spectrum-checkbox-bottom-to-text",
129131
"--spectrum-checkbox-checkmark-color",

components/checkbox/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@
483483
&::before {
484484
forced-color-adjust: none;
485485
border-color: var(--highcontrast-checkbox-color-default, var(--mod-checkbox-control-color-default, var(--spectrum-checkbox-control-color-default)));
486-
486+
background-color: var(--spectrum-checkbox-background-color);
487487
display: block;
488488
z-index: 0;
489489
content: "";

0 commit comments

Comments
 (0)