Update README styling section to match the SCSS Modules convention
Was still describing Tailwind, which was removed from the project. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,16 +23,10 @@ npm run build
|
||||
|
||||
## Styling
|
||||
|
||||
This project uses [Tailwind CSS](https://tailwindcss.com/) for styling.
|
||||
|
||||
### Removing Tailwind CSS
|
||||
|
||||
If you prefer not to use Tailwind CSS:
|
||||
|
||||
1. Remove the demo pages in `src/routes/demo/`
|
||||
2. Replace the Tailwind import in `src/styles.css` with your own styles
|
||||
3. Remove `tailwindcss()` from the plugins array in `vite.config.ts`
|
||||
4. Remove `@tailwindcss/vite` and `tailwindcss` from `package.json`
|
||||
This project uses SCSS Modules. Every component that needs styles gets a
|
||||
co-located `Component.module.scss` next to `Component.tsx`; shared tokens
|
||||
(colors, spacing, breakpoints) live in `src/styles/_variables.scss`. See
|
||||
`CLAUDE.md` for the full styling conventions.
|
||||
|
||||
## Linting & Formatting
|
||||
|
||||
|
||||
Reference in New Issue
Block a user