Thank you for considering contributing! To keep the codebase clean and maintainable, please follow these guidelines:
- Place new features or sections in their own folder under
src/sections/orsrc/components/as appropriate. - Shared hooks go in
src/hooks/. - Shared data and utilities go in
src/data/orsrc/utils/.
- Use CSS modules for all new components (e.g.,
ComponentName.module.css). - Avoid global styles except for tokens and resets in
src/theme/tokens.cssandindex.css. - Reference design tokens via the
tokens.csscustom properties for all colors, spacing, and typography.
- Always use the CSS variables defined in
src/theme/tokens.cssfor colors, spacing, and font sizes. - Do not hardcode values; update tokens if new design values are needed.
- Use TypeScript for all files.
- Write clear JSDoc comments for all hooks and complex logic blocks, explaining both what and why.
- Run
npm run lintbefore submitting a PR.
- Keep PRs focused and small. One feature or fix per PR.
- Add or update documentation as needed.
- Ensure all tests and builds pass before requesting review.
For questions, open an issue or ask in discussions. Happy coding!