This documentation is for a legacy version of Remix Supabase. For the latest version, please visit the Remix Supabase Turbo documentation

Dark Theme

How to set up the dark theme in Makerkit

Makerkit supports by default a dark theme. With that said, you can decide to opt-out of the dark theme and use the light theme only instead using the configuration below.

Using the dark theme by default

To use the dark theme by default, you need to edit the following configuration to your src/configuration.ts file:

src/configuration.ts
{ features: { enableThemeSwitcher: true, }, theme: Themes.Dark, }

Users can still opt-out of the dark theme by using the theme switcher in the top right corner of the page.

Using only the dark theme

To switch to the dark theme, you need to edit the following configuration to your src/configuration.ts file:

src/configuration.ts
{ features: { enableThemeSwitcher: false, }, theme: Themes.Dark, }

Disabling the dark theme

To disable the dark theme and only use the light theme - you need to edit the following configuration to your src/configuration.ts file:

src/configuration.ts
{ features: { enableThemeSwitcher: false, }, theme: Themes.Light, }

In the above, we flipped the enableThemeSwitcher to false and set the theme to Themes.Light.


Subscribe to our Newsletter
Get the latest updates about React, Remix, Next.js, Firebase, Supabase and Tailwind CSS