Skip to content

reepolee/svelte-vite-windi

Repository files navigation

Svelte + Vite + Windi

This template should help you get started developing with Svelte in Vite, styled by WindiCSS.

Svelte Vite Windi

Setup

npx degit reepolee/svelte-vite-windi#main svelte-app
cd svelte-app
npm i
npm run dev -- --open

Windi config

Check out the extended colors in windi.config.cjs:

module.exports = {
  theme: {
    extend: {
      colors: {
        svelte: {
          100: "#ffece6",
          500: "#ff3e00",
          700: "#bf2e00",
        },
        vite: {
          300: "#747bff",
          500: "#646cff",
        },
        windi: {
          300: "#25b3f5",
          500: "#0ea5e9",
        },
      },
    },
  },
};

Recommended IDE Setup

VSCode
Svelte
WindiCSS IntelliSense

Credits

Svelte
Vite
WindiCSS
SVG Logos