[Carbon X] DatePicker color tokens applied with g90 and g100 themes have inaccessible color contrast
See original GitHub issueDetailed description
A number of colors/tokens being applied to the DatePicker are not accessible when the g100
or g90
themes from @carbon/themes
are used.
Here are some example screenshots…
g100 theme
Simple date picker
Range with min and max
g90 theme
Range
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Color - Carbon Design System
Implementing color Carbon uses tokens and themes to manage color. Tokens are role-based, and themes specify the color values that serve those ...
Read more >Color - Carbon Design System
Token Role Value
$ui‑background Default page background White; —; #ffffff
$interactive‑01 Primary interactive color;; Primary buttons Blue 60; —; #0f62fe
$interactive‑02 Secondary interactive color;; Secondary button...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What the Duo file says the dark date picker should look like (ignore their field styles):
#021677
$ui-04
which is Gray 60#6F6F6F
in the Gray 100 theme$icon-01
$highlight
token or something, could maybe be used elsewhere$text-03
which should be Gray 60#6F6F6F
in the G100 Theme