Why does dark
color scheme not work with lightTheme
#2456
Unanswered
AlexMcComb
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The light theme should apply the react-spectrum/packages/@react-spectrum/theme-light/src/index.ts Lines 24 to 25 in ab0323a The included themes support the following color schemes:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Why does this work for dark theme:
<Provider theme={darkTheme} colorScheme="light">
&<Provider theme={darkTheme} colorScheme="dark">
but this does not work for light theme:
<Provider theme={lightTheme} colorScheme="dark">
but this does?:
<Provider theme={lightTheme} colorScheme="light">
I'm using this for a CEP plugin, so I'm trying to match the Creative Cloud application UI "brightness" changes to match my plugin theme color. Creative Cloud applications have 4 brightnesses I'd like to match.
Beta Was this translation helpful? Give feedback.
All reactions