Custom Code Dark Mode
Has anyone custom coded their community to have a Dark Mode?
I was thinking about trying to tackle this with the help of Claude. I wanted to ask here first to see if anyone has completed this and how they accomplished it.
Has anyone custom coded their community to have a Dark Mode?
I was thinking about trying to tackle this with the help of Claude. I wanted to ask here first to see if anyone has completed this and how they accomplished it.
Hey
A few of our communities already run light/dark toggle or permanent dark mode, though those were built with support from our engineering team. Our design tokens reference covers styling for most out-of-the-box components, and Claude can lean on that to handle a good portion of the work.
The catch is that some OOTB components use hardcoded color values rather than design tokens, so they won't be reachable through that method alone. Since your community also has custom components, some of those may have hardcoded values too. Both cases need manual discovery rather than a design-token approach, so Claude likely can't style the community completely on its own.
So the realistic path: Claude can do a decent chunk of the job, but some parts will need manual checking and styling. Tagging in
Hope this helps! 😊
If you already have a profile on Gainsight Community or Gainsight University, there's no need to create another one. If your email address has changed or you can't remember your login, email community@gainsight.com. Otherwise, continue with the registration below.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.