Skip to content
packetThrower

Themes

Zorite ships several built-in themes, each with a light and a dark variant: Zorite, Nord, Solarized, Dracula, Tokyo Night, Foundry, Cyberpunk (dark-only), CRT (Green Phosphor) (dark-only), E-Ink, Sidebar Glass, and Glass (dark-only). The two glass themes blur whatever is behind the window: Sidebar Glass only behind the sidebar and title bar, Glass behind the whole window.

The Sidebar Glass theme — the desktop shows blurred through the sidebar and title bar while the note area stays solid

The Glass theme — the whole Zorite window tinted dark with the desktop blurred behind it

Open Settings (the ⚙ in the title bar) to choose a theme and set the mode:

  • Light — always the light variant.
  • Dark — always the dark variant.
  • Auto — follows your system appearance.

Dark-only themes (Cyberpunk, CRT and Glass) stay dark whatever the mode; Settings says so under Mode while one is picked.

A quick light/dark toggle also lives in the title bar for switching on the fly.

Settings → Appearance → Accent color recolors the theme’s accent: the journal dates, section labels like Favorites, links, selections and buttons. Pick one of eight swatches (Blue, Purple, Pink, Red, Orange, Green, Teal, Graphite), or the last one to choose any color with a picker; it applies to every theme. Default goes back to each theme’s own accent.

Settings → Appearance with the Accent color row of swatches, a custom-color picker and a Default button

The same Appearance tab holds the rest of the look: the font (any installed face, or a .ttf/.otf you import — see Fonts), the text size notes are written and read at (headings and inline math scale with it), an optional line-number gutter beside the editor, Sidebar on the right to dock the sidebar on the other edge, and the mouse cursor theme.

Drop a .json file in your themes folder (Settings → Reveal themes folder) and click Reload. This example shows every option — only id and name are required. Any colour you omit falls back to the base palette (so a theme can be just a few colours), and font / dark_only can be left out entirely:

{
"id": "midnight",
"name": "Midnight",
"font": "JetBrains Mono",
"dark_only": false,
"dark": {
"bg_window": "#0d1117",
"bg_sidebar": "#161b22",
"bg_content": "#0d1117",
"fg": "#e6edf3",
"accent": "#ff7b72",
"tag": "#d2a8ff",
"code": "#79c0ff"
},
"light": {
"bg_window": "#f6f8fa",
"bg_sidebar": "#eaeef2",
"bg_content": "#ffffff",
"fg": "#1f2328",
"accent": "#0969da",
"tag": "#8250df",
"code": "#953800"
}
}

Each value is a #RRGGBB hex colour:

Token Controls
bg_window The window background
bg_sidebar The sidebar background
bg_content The note / content background
fg Text
accent Accent colour (links, highlights, selection)
tag #tag colour
code Inline code and code blocks

Provide a dark and/or a light block. Add "dark_only": true for a theme that should always render dark, regardless of the chosen mode.

The three backgrounds also accept #RRGGBBAA. Give bg_window an alpha below FF and Zorite blurs whatever is behind the window, like the built-in glass themes; the other backgrounds then decide where the blur shows:

  • Sidebar only (like Sidebar Glass): a clear bg_window (…00), a partly see-through bg_sidebar (e.g. …D0) and an opaque bg_content.
  • Whole window (like Glass): a tinted bg_window (e.g. …B8), a lightly tinted bg_sidebar and a clear bg_content (…00).
"dark": {
"bg_window": "#1e1e1e00",
"bg_sidebar": "#2a2a2dd0",
"bg_content": "#1e1e1e"
}

Menus, dialogs and pop-ups stay opaque either way. A border reads heavier or lighter depending on what the blur shows through it, so a glass theme may want an opaque border_subtle (e.g. #3a3a3c). The blur needs macOS, Windows 10/11 or a Linux compositor that supports it (KDE); elsewhere the window is just see-through.

Everything else in the UI derives from the base tokens above — text tiers come from fg at reduced opacity, borders and hover washes from a white or black overlay, and the accent’s hover/active/tint variants from accent. Any of them can also be pinned directly in a dark / light block. These accept #RRGGBBAA too (the derived defaults are mostly translucent):

Token Controls
text_primary Main text (default: fg at 92% opacity)
text_secondary Muted text, e.g. sidebar sections (default: fg at 60%)
text_tertiary Faint text, e.g. placeholders, markers (default: fg at 40%)
elevated Raised cards / panels (settings cards)
glass Translucent panel wash (code blocks, chips)
glass_strong Stronger panel wash
hover Row / button hover wash
border_subtle Hairline borders
divider Visible rules, e.g. between journal days
accent_hover Accent when hovered
accent_active Accent when pressed
accent_tint Translucent accent wash (selection highlights)
alert_note > [!NOTE] alert border + title (default: GitHub blue)
alert_tip > [!TIP] (default: GitHub green)
alert_important > [!IMPORTANT] (default: GitHub purple)
alert_warning > [!WARNING] (default: GitHub yellow)
alert_caution > [!CAUTION] (default: GitHub red)

A theme can name a typeface with a top-level "font": "Family Name". It’s a reference, not a bundled file — the family must be installed on your system or added via Settings → Appearance → Font → Add font file…; an unknown name falls back to the default font. Your own Font setting, when not Default, always wins over the theme’s.