Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions STYLEGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ export const router = createBrowserRouter([

- Regular ts files can be named in camelCase (ex. `customTypes.ts`)
- React files (.tsx) must be named in PascalCase (ex. `DashboardPage.tsx`)
- Page files should end in `*.page.tsx` file and should be named as `XyzPage`
- If a file doesn't need to be .tsx, then it should be a .ts file

### Function Naming
Expand Down Expand Up @@ -467,6 +468,8 @@ If the styling is very complicated, you may reach for CSS files, but only if you

Tailwind is inside this project due to the ease of prototyping during development, but you shouldn't have to use it in production. Thereby, it is HIGHLY discouraged but not banned.

Avoid hard-coded / magic styles - reach for Mantine’s theme, which can be imported and used as an object as `{ theme }` from `@/src/lib/theme`.

[Mantine docs](https://mantine.dev/core/package/)

## Typesafety
Expand Down
Loading