A minimal website project built using Kobweb and JetBrains Compose for Web, created to explore Kobweb’s component model, theming, and layout system — including light/dark mode switching and CSS utilities.
- 🌓 Dark / Light Theme Toggle with persistent storage
- 🎨 Dynamic Gradient Backgrounds driven by theme
- ⚡ Smooth CSS Transitions via Modifier.transition { … }
- 🧩 Composable UI using @Composable,Box, andSurface
- ✅ Silk Theming overrides via @InitSilk
- 💾 localStorage integration for theme persistence
- Kobweb – Kotlin-first web framework
- JetBrains Compose for Web – Declarative UI
- Silk UI – Theming & layout components
- Compose Web CSS DSL – Type‑safe styling
- Browser APIs – localStorage
simple\_website/
├── components/          # Reusable UI pieces (ProfileCard, ThemeSwitchButton)
├── pages/               # @Page-annotated screens (HomePage, etc.)
├── utils/               # Resources & constants (Res, colors, strings)
├── AppEntry.kt          # @App entrypoint & Silk theme overrides
└── index.html           # Static host HTML (generated)
- 
Install Kobweb CLI npm install -g @varabyte/kobweb # or via Yarn / pnpm
- 
Create & Run Project kobweb create simple_website cd simple_website kobweb run
- 
Open http://localhost:8080in your browser.
Place your screenshots in a screenshots/ folder:
- screenshots/light_mode.png
- screenshots/dark_mode.png
Vivek Bargude – Exploring modern Kotlin web development with Kobweb 🎉

