Typography and icons
A calm, light type style and one consistent icon set give Accordee its feel. Fonts are bundled files people can switch between, sizes are named tokens, and icons are plain imports you can swap.
Fonts
Accordee uses Inter for the interface by default and Hedvig Letters Serif for a few headings, like the greeting on the Agents screen and the titles in the Help panel. Five more font sets ship alongside Inter for the font setting. All are files in src/app/fonts, loaded in src/app/layout.tsx, so no font requests leave your site and the app works offline.
| Font | Kind | Notes |
|---|---|---|
| Inter | Sans serif | The default |
| Geist | Sans serif | A little narrower than Inter |
| Geist Mono | Mono | Code and IDs switch to JetBrains Mono |
| JetBrains Mono | Mono | Code and IDs switch to Geist Mono |
| Source Serif 4 | Serif | Sized up slightly to match Inter |
| Literata | Serif | Sized up slightly to match Inter |
Each is the Latin subset of a variable font (one file, every weight), 22 to 52 KB, under the SIL Open Font License 1.1. The licence and every font's copyright line are in src/app/fonts/OFL.txt; keep that file when you ship.
The font setting
Each person picks a font in Themes (at the foot of the sidebar) or Settings › Preferences › Font. It works like theme colour, density and layout style:
- Saved per person as
prefs.font(src/lib/data/preferences.ts), Inter by default. Reset to defaults in Themes brings Inter back. - Applied before the first paint. The script in
components/providers/theme-provider.tsxsetshtml[data-font], andglobals.csspoints--font-sans-familyat that font, so there's no flash of the wrong one. - Only the font on screen downloads. None of the fonts preload; a browser fetches a font file only when text uses it, so a first visit loads one font, as before. The Font picker shows each font's "Aa", so opening it loads the others.
- Evened out. Sizes are matched to Inter with
font-size-adjust, and the mono fonts run a touch smaller and tighter so labels and tables keep their width. Table cells use tabular figures in every font. - Embedded previews (like the ones on this site) always show Inter.
Add your own font
Put the font file in src/app/fonts. A variable .woff2 with a weight axis keeps the 440 weight exact. Check its licence lets you bundle it, and add its notice to OFL.txt (or a file of its own).
Declare it in src/app/layout.tsx next to the others, and add it to fontVariables:
Map it in src/app/globals.css, with a size adjustment if it runs large or small:
Add { id: "brand", label: "Brand", kind: "Sans serif", family: "var(--font-brand-family)" } to FONTS in src/lib/fonts.ts, and brand to the list of ids in the script in theme-provider.tsx. It now shows in the Font picker.
Want one font for everyone, with no choice? Make it the default: change DEFAULT_FONT in src/lib/fonts.ts and :root in the font block of globals.css, then remove the Font row from the Themes window and Settings › Preferences.
Type sizes
Text sizes are named tokens in src/app/globals.css, so changing one size changes it everywhere it's used:
| Token | Size | Used for |
|---|---|---|
text-micro, text-tiny | 10px, 11px | Badges and small labels |
text-caption, text-label | 12px, 13px | Hints, table cells, menus |
text-body | 14px | Most text |
text-subtitle, text-title | 15px, 16px | Panel and card titles |
text-heading-sm, text-heading | 18px, 20px | Section and page headings |
text-metric, text-display-sm, text-display | 24px, 26px, 30px | Numbers and greetings |
Font weight tops out at 440
Nothing in Accordee is heavier than 440, between regular (400) and medium (500). Bold text in a dense CRM gets loud fast; a light, even weight keeps screens calm and lets size and colour do the work. globals.css caps font-medium, font-semibold and font-bold at 440, so nothing goes heavier by accident.
Prefer a bolder look? Raise those three values (to 500 or 600, say) and every heading and label follows.
Icons
Interface icons come from Lucide (lucide-react), one set used everywhere. Adding an icon is one import:
- Change their size or colour with the usual utilities, like
size-4andtext-textMuted. - Swap to another set by replacing the
lucide-reactimports; an AI coding tool can do it file by file. Pick a set with the same outline style so screens stay consistent. - The agents' flower marks are drawn in
components/icons/agent-glyph.tsx, with each agent's colours in the agent data. - App and payment logos are image tiles in
public/appsandpublic/payments.