Files
RuneStone/docs/guides/themes.md
T

2.6 KiB

Appearance and custom themes

User guide · Interface design

Open Settings → Appearance to choose RuneStone, Claude, Sakura, or an installed custom theme. RuneStone and Claude offer light and dark appearances. Sakura uses light only. Claude uses local Lora and Poppins fonts, with Georgia and Arial fallbacks. It does not download fonts.

Create a theme

  1. Choose Export theme template.
  2. Edit the saved JSON file in a text editor.
  3. Choose Install theme and select the file.

The file must be smaller than 64 KiB. Both light and dark need bg, text, and accent colors. Use hexadecimal colors with 3, 4, 6, or 8 digits. The example supplies complete surface and text colors for both modes.

{
  "schema": 1,
  "id": "harbor",
  "name": "Harbor",
  "light": {
    "bg": "#f3f6f8",
    "bg-elevated": "#ffffff",
    "bg-active": "#dfe9ef",
    "border": "#bccdd8",
    "text": "#223344",
    "text-dim": "#526778",
    "text-strong": "#102536",
    "accent": "#14658f",
    "selection": "#b5d9ef"
  },
  "dark": {
    "bg": "#14232e",
    "bg-elevated": "#1b2d3b",
    "bg-active": "#294354",
    "border": "#405b6d",
    "text": "#e0eaf0",
    "text-dim": "#a3bac8",
    "text-strong": "#f5fafc",
    "accent": "#81c8ed",
    "selection": "#315d77"
  }
}

The ID starts with a lowercase letter and permits lowercase letters, numbers, and hyphens, up to 64 characters. The visible name permits up to 80 characters. Reinstalling the same ID replaces that theme's colors. Unknown color keys or invalid values stop installation with an error.

Available colors

Keys Use
bg, bg-elevated, bg-active, border Surfaces, selected controls, and boundaries
text, text-dim, text-strong Normal, secondary, and prominent text
accent, accent-2, selection Links, accents, and editor selection
error, warn, warn-hot, ok, special Messages and syntax colors

Omitted optional colors use the RuneStone defaults for that appearance. The theme file contains color values, without scripts, style rules, or plugin code.

Share or remove a theme

With a custom theme selected, Export theme template saves its current definition. Share that JSON file with another user, who can install it through Appearance. Remove custom theme removes the selected definition and returns to RuneStone colors. Themes stay in this device's application preferences and apply across workspaces.

Check normal text, secondary text, links, focus indicators, and selections in both appearances before sharing a theme.