Managing multiple themes #249
Answered
by
nandorojo
kennetpostigo
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
nandorojo
Nov 19, 2022
Replies: 1 comment 4 replies
-
i think you can more simply do: const lightTheme: typeof darkTheme = {
…darkTheme,
colors: {
// light colors here
}
} and then remove the module declaration for both themes. the two themes should have the same keys for colors. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
kennetpostigo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i think you can more simply do:
and then remove the module declaration for both themes. the two themes should have the same keys for colors.