carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.81k stars 1.8k forks source link

Add `light` prop / variant for `ContentSwitcher` #6309

Closed SimonFinney closed 4 years ago

SimonFinney commented 4 years ago

Summary

The ContentSwitcher does not currently contrast visually on ui-01 backgrounds:

ContentSwitcher

It may be that the tokens need to be adjusted, or that a light prop / variant should be included, similar to the TextInput.

josh-tt commented 4 years ago

I've run into this on several occasions as well. The only solution is to pull the switcher onto the background which eats up more vertical space and often not 'correct' if there is something sitting below that area. Seems like it's something that definitely should be addressed.