Skip to content

Commit 331b101

Browse files
committed
Update CLAUDE.md
1 parent b7695da commit 331b101

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CLAUDE.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ pnpm build # Build static site to ./dist/
1515
pnpm preview # Preview production build locally
1616
pnpm lint # Run Biome linter
1717
pnpm lint:fix # Auto-fix lint issues
18+
pnpm test:e2e # Run Cypress e2e tests (starts preview server automatically)
19+
pnpm test:e2e:open # Open Cypress GUI for interactive testing
1820
```
1921

2022
## Architecture
@@ -31,7 +33,7 @@ pnpm lint:fix # Auto-fix lint issues
3133
- `src/components/ui/` - shadcn/ui base components (Radix-based)
3234
- `src/components/*.astro` - Astro wrapper components for React islands
3335
- `src/styles/custom.css` - Theme customization (Starlight + shadcn variables)
34-
- `astro.config.mjs` - Site config including sidebar structure
36+
- `astro.config.ts` - Site config including sidebar structure
3537

3638
### Component Pattern
3739
React components are wrapped in `.astro` files for MDX usage. All React components export from `src/components/react/index.ts`. Use `client:load` directive when importing React components in MDX.
@@ -45,6 +47,6 @@ Custom Starlight components in `src/components/` override defaults: `Head.astro`
4547

4648
## Styling Notes
4749

48-
- Theme uses sharp corners (`--radius: 0`, `--sl-border-radius: 0`)
50+
- Theme uses rounded corners (`--radius: 0.5rem`)
4951
- Dark mode is default; light mode uses violet accent (hue 285), dark uses teal/green (hue ~131)
5052
- Tailwind v4 custom variant: `@custom-variant dark (&:is(.dark *, [data-theme="dark"] *))`

0 commit comments

Comments
 (0)