Skip to content

Commit ce272ac

Browse files
committed
Fix selectable hover tokens' contrast issues
1 parent 9fc3e0b commit ce272ac

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/dull-seas-float.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@salt-ds/theme": patch
3+
---
4+
5+
Updated `--salt-selectable-borderColor-hover` and `--salt-selectable-foreground-hover` to address color contrast issues.

packages/theme/css/next/characteristics/selectable.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
.salt-theme.salt-theme-next {
22
--salt-selectable-borderColor: var(--salt-palette-neutral);
3-
--salt-selectable-borderColor-hover: var(--salt-palette-accent-weak);
3+
--salt-selectable-borderColor-hover: var(--salt-palette-accent);
44
--salt-selectable-borderColor-selected: var(--salt-palette-accent);
55
--salt-selectable-borderColor-selectedDisabled: var(--salt-palette-accent-disabled);
66
--salt-selectable-borderColor-disabled: var(--salt-palette-neutral-disabled);
77
--salt-selectable-borderColor-readonly: var(--salt-palette-neutral);
88

99
--salt-selectable-foreground: var(--salt-palette-neutral-strong);
1010
--salt-selectable-foreground-disabled: var(--salt-palette-neutral-strong-disabled);
11-
--salt-selectable-foreground-hover: var(--salt-palette-accent-weak);
11+
--salt-selectable-foreground-hover: var(--salt-palette-accent);
1212
--salt-selectable-foreground-selected: var(--salt-palette-accent);
1313
--salt-selectable-foreground-selectedDisabled: var(--salt-palette-accent-disabled);
1414
--salt-selectable-background: var(--salt-palette-alpha-none);

0 commit comments

Comments
 (0)