Skip to content

Commit

Permalink
fix(checkbox): update box color to neutral in s2
Browse files Browse the repository at this point in the history
  • Loading branch information
TarunAdobe committed Feb 24, 2025
1 parent 06f1ed9 commit 0665550
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/odd-seahorses-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@spectrum-css/checkbox": patch
---

updated deselected (default) border color of the box to be neutral content color default in spectrum-two
1 change: 0 additions & 1 deletion components/checkbox/dist/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@
"--spectrum-font-size-300",
"--spectrum-font-size-75",
"--spectrum-gray-50",
"--spectrum-gray-600",
"--spectrum-gray-700",
"--spectrum-gray-800",
"--spectrum-line-height-100",
Expand Down
2 changes: 1 addition & 1 deletion components/checkbox/themes/spectrum-two.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@container style(--system: spectrum) {
.spectrum-Checkbox {
--spectrum-checkbox-control-color-default: var(--spectrum-gray-600);
--spectrum-checkbox-control-color-default: var(--spectrum-neutral-content-color-default);
--spectrum-checkbox-control-color-hover: var(--spectrum-gray-700);
--spectrum-checkbox-control-color-down: var(--spectrum-gray-800);
--spectrum-checkbox-control-color-focus: var(--spectrum-gray-700);
Expand Down
1 change: 1 addition & 0 deletions components/checkbox/themes/spectrum.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

@container style(--system: legacy) {
.spectrum-Checkbox {
--spectrum-checkbox-control-color-default: var(--spectrum-gray-600);
--spectrum-checkbox-checkmark-color: var(--spectrum-gray-75);
--spectrum-checkbox-control-corner-radius: var(--spectrum-corner-radius-75);
}
Expand Down

0 comments on commit 0665550

Please sign in to comment.