[Carbon X] Toggle colors are inaccessible for g90 and g100 themes
See original GitHub issueDetailed description
The Carbon X Toggle
component is inaccessible when someone uses the g90 or g100 themes provided by @carbon/themes
Here are a few screenshots with the g100 theme:
Looks like the issue is related to tokens, like this one here: https://github.com/IBM/carbon-components/blob/master/src/components/toggle/_toggle.scss#L272
// Toggle circle
&:after {
background-color: $ui-02;
...
}
The $ui-02
color token is gray70
for g90 and gray80
for g100 themes (see: https://carbon-elements.netlify.com/themes/examples/preview/), which makes the toggle’s circle invisible when toggled off/deselected.
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
[Carbon X] Toggle colors are inaccessible for g90 and g100 ...
Detailed description. The Carbon X Toggle component is inaccessible when someone uses the g90 or g100 themes provided by @carbon/themes.
Read more >Untitled
Rollout switch coleman furnace, Dj octavio squid sisters, Mellerware modena 3 in ... 54893 weather, Disjonction exclusive inclusive, Conejo asado al carbon, ...
Read more >HVAC RENOVATIONS AT ALEXANDER II ELEMENTARY ...
Include topics for discussion as appropriate to status of Project. a. Contractor's Construction Schedule: Review progress since the last ...
Read more >SECTION 01100 - SUMMARY - Outagamie County
Periodic Construction Photographs: Take four color photographs monthly ... Galvanized carbon steel sheets: ASTM A446, with G90 zinc coating.
Read more >INVITATION FOR BIDS
Comprehensive general liability on an occurrence form with no “x, c, or u” exclusions with the following minimum limits:.
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
@shixiedesign no worries at all! The only way I’m able to keep these tokens straight is by constantly looking at the theme preview site: https://carbon-elements.netlify.com/themes/examples/preview/ 😆 I appreciate your help with this 🙏
Sure thing @shixiedesign! Are you able to assign this issue to me? I can get a PR together 👍
EDIT: first step is to add
$icon-03
token to@carbon/themes
& then I will follow up here to update theToggle
experimental theme.