Skip to content

Commit 3caeff3

Browse files
authored
fix(checkbox): update box color to neutral in s2 (#3573)
1 parent dc5167c commit 3caeff3

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.changeset/odd-seahorses-hunt.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@spectrum-css/checkbox": patch
3+
---
4+
5+
updated deselected (default) border color of the box to be neutral content color default in spectrum-two

components/checkbox/dist/metadata.json

-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@
188188
"--spectrum-font-size-300",
189189
"--spectrum-font-size-75",
190190
"--spectrum-gray-50",
191-
"--spectrum-gray-600",
192191
"--spectrum-gray-700",
193192
"--spectrum-gray-800",
194193
"--spectrum-line-height-100",

components/checkbox/themes/spectrum-two.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
@container style(--system: spectrum) {
1515
.spectrum-Checkbox {
16-
--spectrum-checkbox-control-color-default: var(--spectrum-gray-600);
16+
--spectrum-checkbox-control-color-default: var(--spectrum-neutral-content-color-default);
1717
--spectrum-checkbox-control-color-hover: var(--spectrum-gray-700);
1818
--spectrum-checkbox-control-color-down: var(--spectrum-gray-800);
1919
--spectrum-checkbox-control-color-focus: var(--spectrum-gray-700);

components/checkbox/themes/spectrum.css

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
@container style(--system: legacy) {
1919
.spectrum-Checkbox {
20+
--spectrum-checkbox-control-color-default: var(--spectrum-gray-600);
2021
--spectrum-checkbox-checkmark-color: var(--spectrum-gray-75);
2122
--spectrum-checkbox-control-corner-radius: var(--spectrum-corner-radius-75);
2223
}

0 commit comments

Comments
 (0)