Repository navigation
Theme
Each account chooses its theme and its mode in Settings > Appearance (since v0.19.0). Both are stored on the account (theme and color_mode in PATCH /api/me) and follow it from one device to another.
- Themes: Notes (default), Dracula, Catppuccin, Nord, Gruvbox, Everforest, Tokyo Night, Vue, chosen with a click on their thumbnail.
- Mode: system (default), light or dark. Once light or dark is chosen, a button at the bottom of the sidebar switches between them. In the ⌘K palette (Normal plan), moving over a theme shows it on the whole app; Enter keeps it and Escape puts the account's back.

A theme is six palettes: an accent color (primary: buttons, links, active item), a gray scale (neutral: backgrounds, texts, borders) and four status colors (success, info, warning, error). The grays serve light mode around 50 and dark mode around 900.
- Declare its palettes of 11 shades (50 to 950) in the
@theme staticblocks ofweb/app/assets/css/main.css:--color-nord-500,--color-nord-gray-50,--color-nord-success-400… - Add it to the list in
web/app/utils/themes.ts:own('nord'). - Repeat its id in
domain.Themes(core/domain/users.go): the API refuses themes it does not know, and a test checks that the two lists match. - Give it a name in the app's messages,
settings.themesin French and in English. - Check it in light and in dark;
web/test/themes.test.tschecks its contrast (WCAG AA).
In components, write color="primary", text-muted, bg-elevated... never a hard-coded color: everything follows the theme.
Text is in Reddit Sans, code in Geist Mono, set in main.css (--font-sans, --font-mono). The @nuxt/fonts module downloads them at the first build and the app serves them itself: the rendering is the same on macOS and Linux. The first build therefore needs Internet.
--ui-radius in main.css (0.25rem).
Tide
Using Tide
Terminal and agents
Hosting and development