Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including use-change-theme with all npm packages installed. Try it out:

var useChangeTheme = require("use-change-theme")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

use-change-theme v1.0.2

This versatile hook empowers you to effortlessly establish an initial theme for your application and seamlessly transition between various themes, including light and dark modes. With useCustomTheme, you have the freedom to specify background colors, font colors, and border colors for both the initial theme and any new themes you create. Customize your app's appearance like never before and provide users with a tailored visual experience that suits your application's unique style and branding.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free