sveltekit-typescript-tailwindcss-template Svelte Themes

Sveltekit Typescript Tailwindcss Template

Sveltekit Tailwind & Typescript Template

This is a starter template to jumpstart your project with Typescript and the latest version of Tailwindcss, with minimal to no configuration needed.

Installation

Run this command in your terminal:

npx create-tailwindkit-ts@latest your-app-name-here

Usage

If you want to enable dark mode you will have to modify the tailwind.config.cjs file

module.exports = {
    purge: ['./src/**/*.svelte'],
    darkMode: 'class', // or 'media'
    theme: {
        extend: {}
    },
    variants: {
        extend: {}
    },
    plugins: []
};

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Top categories

Loading Svelte Themes