Skip to content

Commit 665841e

Browse files
authored
fix(color): update text highlight color and bump primitive tokens package (#4708)
1 parent ea0599a commit 665841e

File tree

7 files changed

+27
-12
lines changed

7 files changed

+27
-12
lines changed

RELEASENOTES.general.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
## 2.16.0 - Upcoming
55

6+
- Updated selected text highlight color token `COLOR_BACKGROUND_SELECTION` for better color contrast
7+
68
## 2.15.7 - May 14, 2021
79

810
## 2.15.6 - May 7, 2021

RELEASENOTES.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
## Release 2.16.0 - Upcoming
55

6+
- Updated selected text highlight color token `COLOR_BACKGROUND_SELECTION` for better color contrast
7+
68
## Components
79
### [Accordion](https://www.lightningdesignsystem.com/components/accordion)
810
## Added
@@ -23,7 +25,8 @@
2325
### [Datetime Picker](https://www.lightningdesignsystem.com/components/datetime-picker)
2426
#### Added
2527
- Added `aria-label` to provide the full `DD MM YYYY` text of the date
26-
28+
#### Added
29+
- Added hover style for dates
2730
#### Changed
2831
- Removed the usage of the deprecated combobox. The Datetime Picker now uses the current combobox.
2932

@@ -67,6 +70,10 @@ Removed the usage of the deprecated combobox. The Picklist now uses the current
6770
- Removed the usage of the deprecated combobox. The Timepicker now uses the current combobox.
6871
<!-- ## [VERSION] -->
6972

73+
### [Vertical Navigation](https://www.lightningdesignsystem.com/components/vertical-navigation)
74+
#### Changed
75+
- Replaced checked radio group navigation item background token with `BRAND_BACKGROUND_PRIMARY` branding token.
76+
7077
### [Welcome Mat](https://www.lightningdesignsystem.com/components/welcome-mat)
7178
#### Added
7279
- Added `aria-label` attribute to the div with role of `progressbar` to meet accessibility requirements.

design-tokens/primitive/background-color.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ props:
7777
comment: Background color for highlighting text in search results.
7878

7979
COLOR_BACKGROUND_SELECTION:
80-
value: '{!PALETTE_BLUE_95}'
80+
value: '{!PALETTE_BLUE_90}'
8181
comment: Background color for text selected with a mouse.
8282

8383
COLOR_BACKGROUND_STENCIL:

package-lock.json

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"@salesforce-ux/create-snap": "0.0.7",
5252
"@salesforce-ux/design-system-markup": "2.0.2",
5353
"@salesforce-ux/design-system-parser": "1.1.0",
54-
"@salesforce-ux/design-system-primitive-tokens": "0.2.2",
54+
"@salesforce-ux/design-system-primitive-tokens": "0.2.3",
5555
"@salesforce-ux/icons": "9.40.4",
5656
"@salesforce-ux/instant-vrt": "2.0.0",
5757
"@salesforce-ux/postcss-annotations-parser": "0.1.1",

ui/components/vertical-navigation/RELEASENOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
# Vertical Navigation Release Notes
44

55
<!-- ## [Unreleased] -->
6+
## 2.16.0
7+
8+
### Changed
9+
10+
- Replaced checked radio group navigation item background token with `BRAND_BACKGROUND_PRIMARY` branding token.
611

712
## 2.10.0
813

ui/components/vertical-navigation/radio-group/_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
&:checked + .slds-nav-vertical__action {
3838
font-weight: bold;
39-
background-color: $color-background-selection;
39+
background-color: $brand-background-primary;
4040
box-shadow: inset rem(4px) 0 0 $brand-primary;
4141
}
4242
}

0 commit comments

Comments
 (0)