34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
# CLAUDE.md
|
|
|
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
|
|
## Project
|
|
|
|
This repository is for `kingmaker.gateway-gamers.net` — likely the website or backend service for a Kingmaker community on the Gateway Gamers network.
|
|
|
|
## Stack
|
|
|
|
- **Vite** — build tool and dev server
|
|
- **Tailwind CSS v4** — utility-first CSS (configured via CSS, no `tailwind.config.js`)
|
|
- **daisyUI v5** — component library plugin for Tailwind
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
npm install # install dependencies
|
|
npm run dev # start dev server (http://localhost:5173)
|
|
npm run build # production build → dist/
|
|
npm run preview # preview production build locally
|
|
```
|
|
|
|
## Structure
|
|
|
|
- `index.html` — Vite entry point at repo root
|
|
- `src/style.css` — CSS entry; imports Tailwind and registers daisyUI via `@plugin`
|
|
- `src/main.js` — JS entry point
|
|
- `postcss.config.js` — wires `@tailwindcss/postcss` into Vite's PostCSS pipeline
|
|
|
|
## daisyUI theming
|
|
|
|
Set the active theme on `<html data-theme="...">`. Available themes are daisyUI's built-ins (e.g. `light`, `dark`, `cupcake`). Custom themes can be added in `src/style.css` using `@plugin "daisyui" { themes: [...] }`.
|