question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

colorScheme="black" bug

See original GitHub issue

When setting colorScheme="black" or colorScheme="white" or any other custom color, the color does not get applied, since these two have no levels in default theme.

image

https://github.com/chakra-ui/chakra-ui/blob/7415eb6394bb0014e699c9c6006f4fa284f66f53/packages/theme/src/components/switch.ts#L21

In the same way, if I define my own theme with different tones of let’s say white components will not work b/c they are assuming white exists with no shades according to defaultTheme.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mikemajaracommented, Jan 26, 2021

I see what you mean, makes sense. I see the big picture now. Thanks a mill!

0reactions
mikemajaracommented, Jan 27, 2021

@with-heart Yeah! I did search ⌘ + K for colorScheme first, but found no specific sections (expected). But I would’ve expected this to be in either or both Colors, or Customize Theme with a preference for the first option, as I find it more intuitive.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jewel Bug Color Scheme » Black » - SchemeColor.com
The Jewel Bug Color Scheme palette has 6 colors which are Black (#000100), Deep Koamaru (#323175), Medium Sky Blue (#84EEEE), Mint Green (#B0FF90),...
Read more >
Bug Color Palette | Палитра, Сочетание цветов - Pinterest
Rose Design. Bug Color Palette.
Read more >
Something Else to Consider When Redecorating - Gawker
“Use the Color Wheel,” one HGTV slideshow about picking a color palette advises. “Back to Black.” “Contrast Warm and Cool.
Read more >
Solid black equipment that i can't paint. in a previous save i ...
I have had the default colour turning black a couple of times now. Just reloading the save sorted it. If that fails then...
Read more >
Meta theme-color is not respecting current color scheme
I looked into this again last week and was able to reproduce this bug with the following steps: Configure your OS to use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found