Skip to content

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), and E-Ink.

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.

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

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:

TokenControls
bg_windowThe window background
bg_sidebarThe sidebar background
bg_contentThe note / content background
fgText
accentAccent colour (links, highlights, selection)
tag#tag colour
codeInline 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.

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):

TokenControls
text_primaryMain text (default: fg at 92% opacity)
text_secondaryMuted text, e.g. sidebar sections (default: fg at 60%)
text_tertiaryFaint text, e.g. placeholders, markers (default: fg at 40%)
elevatedRaised cards / panels (settings cards)
glassTranslucent panel wash (code blocks, chips)
glass_strongStronger panel wash
hoverRow / button hover wash
border_subtleHairline borders
dividerVisible rules, e.g. between journal days
accent_hoverAccent when hovered
accent_activeAccent when pressed
accent_tintTranslucent 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.