A modern, animated todo application built with Svelte 5 (Runes), SvelteKit, and Tailwind CSS v4. Features a beautiful dark/light theme toggle, smooth animations, and internationalization support.
# Clone the repository
git clone <your-repo-url>
cd svelte-runes
# Install dependencies
pnpm install
# Start development server
pnpm dev
# Open in browser
open http://localhost:5173
# Development
pnpm dev # Start dev server
pnpm build # Build for production
pnpm preview # Preview production build
# Code Quality
pnpm lint # Run linter
pnpm format # Format code with Prettier
pnpm check # Type check with svelte-check
# Testing
pnpm test:unit # Run unit tests
pnpm test:e2e # Run E2E tests
pnpm test # Run all tests
src/
โโโ lib/
โ โโโ components/ # Svelte components
โ โ โโโ ThemeToggle.svelte # Dark/light theme switcher
โ โ โโโ TodoApp.svelte # Main todo application
โ โ โโโ TodoInput.svelte # Todo input form
โ โ โโโ TodoList.svelte # Todo list container
โ โ โโโ TodoItem.svelte # Individual todo item
โ โ โโโ TodoFilters.svelte # Filter and actions
โ โ โโโ TodoStats.svelte # Statistics display
โ โโโ stores/
โ โ โโโ theme.ts # Theme management store
โ โโโ types/
โ โ โโโ todo.ts # TypeScript types
โ โโโ paraglide/ # Internationalization
โโโ routes/
โ โโโ +layout.svelte # App layout
โ โโโ +page.svelte # Home page
โ โโโ demo/ # Demo pages
โโโ app.css # Global styles & animations
โโโ app.html # HTML template
The app features smooth, performant animations built with CSS transforms:
The theme system uses Tailwind CSS v4's new configuration approach:
.dark
class on <html>
elementBuilt with Paraglide for type-safe i18n:
en
) - Default languagept
) - Secondary languagepnpm test:unit
pnpm test:e2e
This project is open source and available under the MIT License.