svelte-theme-switch

Svelte Theme Switch

Theme Switch (Dark Mode) in Svelte (SvelteKit) and TailwindCSS

Svelte Logo

Theme Switcher

SvelteKit (Skeleton) + TailwindCSS boilerplate with persistent theme switching (dark/light mode) configured.

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Top categories

Loading Svelte Themes