Rewrite the documentation and the agent instructions

Move the agent instructions from AGENTS.md to CLAUDE.md. AGENTS.md now
points to CLAUDE.md. The UI rules move to docs/ui-design.md. The version
and release policy moves to the new docs/releases.md.

Rewrite the README, the user guides, and the developer references.
Check each claim against the code. Remove old version history and
repeated warnings. Link to Gitea at git.knottywyvern.com instead of the
LAN address. Move the October 13 menu audit to the archive.
This commit is contained in:
Knotty Wyvern
2026-10-27 19:35:43 -07:00
parent d7a87795f5
commit 4240d7dad1
25 changed files with 2041 additions and 2017 deletions
+54 -42
View File
@@ -1,30 +1,48 @@
# Appearance and custom themes
[User guide](../user-guide.md) · [Interface design](../ui-design.md)
[RuneStone](../../README.md) · [User guide](../user-guide.md)
Open Settings → Appearance to choose a palette or install a custom theme.
RuneStone and Claude offer separate light and dark choices in the theme menu.
Sakura uses one light appearance. Harvest Moon, Crimson Pilot, and Silver Serpent each use one dark appearance.
Named palettes include their own typography and syntax colors. Fonts use local fallback stacks without downloads.
This guide explains how to choose colors, set a background image, and create or share a custom theme.
Open **Settings → Appearance**. Appearance settings apply to all workspaces on this computer and to all open windows.
## Choose a color theme
| Theme | Appearances |
| --- | --- |
| RuneStone | Light and dark |
| Claude | Light and dark |
| Sakura | Light only |
| Harvest Moon, Crimson Pilot, Silver Serpent | Dark only |
Each named theme has its own fonts and syntax colors. Fonts come from your computer. RuneStone does not download fonts.
## Adjust transparency
Transparent surfaces controls the tint on menus, image-backed work areas, and compatible plugin surfaces.
The amount ranges from 0% to 100%. The default is 18%.
Turn the switch off for opaque surfaces. This keeps text and icons opaque and preserves the selected palette.
The setting applies across open windows and remains after restart.
**Transparent surfaces** tints menus, work areas with a background image, and compatible plugin surfaces.
Set **Transparency amount** from 0% to 100%. The default is 18%.
Turn off **Transparent surfaces** for opaque surfaces. Text and icons stay opaque in both cases.
## Set a background image
1. Choose **Choose image…** and select a PNG, JPEG, WebP, or GIF file up to 50 MiB.
2. Set **Image size** to **Fill**, **Fit**, or **Actual size**.
3. Set **Image position**.
4. Set **Image overlay** from -100% to 100%. Negative values lighten the image, and positive values darken it.
The image shows in new tabs. RuneStone keeps it on this computer.
The Project Management plugin can keep a separate image for a board. The Background Slideshow plugin can replace the image for a time.
## Create a theme
1. Select the appearance that you want as a starting point.
2. Choose Export theme template.
1. Select the theme and appearance that you want to start from.
2. Choose **Export theme template**.
3. Edit the saved JSON file in a text editor.
4. Choose Install theme and select the file.
4. Choose **Install theme** and select the file.
The export contains one `colors` palette, including the current surface, text, accent, status, and syntax colors.
Custom themes use this fixed palette. They do not contain separate light and dark sections.
The file must be smaller than 64 KiB. The palette requires `bg`, `text`, and `accent`.
Use hexadecimal colors with 3, 4, 6, or 8 digits.
The template contains one `colors` palette and the current `fonts`. A custom theme has one fixed palette, without separate light and dark versions.
Example (a minimal theme file):
```json
{
@@ -45,42 +63,36 @@ Use hexadecimal colors with 3, 4, 6, or 8 digits.
}
```
The ID starts with a lowercase letter. It permits lowercase letters, numbers, and hyphens, up to 64 characters.
The visible name permits up to 80 characters. Installing the same ID replaces that theme's colors.
Unknown keys and invalid colors stop installation with an error.
Older schema 1 themes remain importable. Import uses the palette for the current appearance and saves it as one fixed palette.
### Theme file rules
## Available colors
| Field | Rule |
| --- | --- |
| File | JSON, smaller than 64 KiB |
| `schema` | `2`. RuneStone also imports schema 1 files and converts them to one palette for the current appearance. |
| `id` | Starts with a lowercase letter. Lowercase letters, numbers, and hyphens. Up to 64 characters. A theme with the same ID replaces the installed theme. |
| `name` | Up to 80 characters |
| `colors` | Must contain `bg`, `text`, and `accent`. Each value is a hexadecimal color with 3, 4, 6, or 8 digits. |
| `fonts` | Optional. Font stacks for `ui`, `prose`, `heading`, and `mono`, such as `"mono": "Cascadia Mono, monospace"`. |
An unknown key or a color that is not valid stops the installation with an error.
If you omit an optional color, RuneStone uses the color of the base appearance. If you omit `fonts`, the theme uses the normal fonts.
Font stacks name fonts that are installed on the computer. A theme file cannot install fonts or contain scripts, style rules, or plugin code.
### Color keys
| Keys | Use |
| --- | --- |
| `bg`, `bg-elevated`, `bg-active`, `border` | Surfaces and boundaries |
| `bg`, `bg-elevated`, `bg-active`, `border` | Surfaces and borders |
| `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` | Status and special content |
| `syntax-parameter`, `syntax-keyword`, `syntax-local`, `syntax-static`, `syntax-instance`, `syntax-global` | Code identifiers and keywords |
| `syntax-string`, `syntax-number`, `syntax-comment`, `syntax-type`, `syntax-function` | Code values, comments, types, and functions |
Optional colors use the base appearance when omitted. Export includes all supported keys to make these choices explicit.
Theme files can also contain an optional `fonts` object with `ui`, `prose`, `heading`, and `mono` font stacks.
Export includes all four current stacks. For example, `"fonts": { "ui": "Segoe UI, sans-serif", "mono": "Cascadia Mono, monospace" }`.
These names use fonts installed on the device. Theme files do not install font files.
Imports without `fonts` keep the selected theme's normal font stacks.
Theme files contain colors and font stacks without scripts, style rules, or plugin code.
## Set a background
Choose an image in Appearance. Its layout can fill the area, fit the complete image, or retain its original size.
Choose an alignment and set the overlay from -100% to 100%.
Negative values lighten the image. Positive values darken it.
Background images remain local. Project Management can retain a separate board image.
The optional Background Slideshow plugin can temporarily replace these images.
Before you share a theme, check text, links, focus outlines, selections, and surfaces with a background image.
Keep informative text and symbols opaque. See the [functional color requirements](../ui-color.md).
## Share or remove a theme
With a custom theme selected, Export theme template saves its current definition.
Share the JSON file with another user, who can install it through Appearance.
Remove custom theme returns to RuneStone colors. Themes remain in this device's preferences across workspaces.
Check text, links, focus, selections, and image surfaces before sharing a theme.
Keep informative text and symbols opaque. Use the [functional color requirements](../ui-color.md) when choosing colors.
To share a custom theme, select it and choose **Export theme template**. The other person installs the JSON file with **Install theme**.
**Remove custom theme** removes the theme and selects the RuneStone colors.