Dark mode for Billing Monkey #1752
-
Hello, We're currently working on a project that involves a full revamp to the Monkey experience. This "new" Billing Monkey has been designed entirely in Paste. Here is a link to the Codesandbox prototype. We would love to incorporate dark theme here and be early adopters. A couple of questions:
cc @andoyle |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi @PoojMenon Thanks for posting this and taking interest in dark mode, and super happy to hear that billing is entirely in Paste. Thats really exciting, and the prototype looks great. To answer your first question, we have an RFC/FAQ here that should answer things. If there's something we're missing, feel free to reach back out. For switching between light and dark, your team will need some way of toggling the Paste theme. So instead of Let us know if you have any other questions. |
Beta Was this translation helpful? Give feedback.
Hi @PoojMenon
Thanks for posting this and taking interest in dark mode, and super happy to hear that billing is entirely in Paste. Thats really exciting, and the prototype looks great.
To answer your first question, we have an RFC/FAQ here that should answer things. If there's something we're missing, feel free to reach back out.
For switching between light and dark, your team will need some way of toggling the Paste theme. So instead of
theme="default"
at the ThemeProvider level, that will need to switch totheme="dark"
in order to enabled dark mode. We use context in order to store the theme value, and the toggle changes the value of that context. You can see code for our setup here.Le…