Add interface languages and improve themes and workspace controls for 0.1.36

This commit is contained in:
Knotty Wyvern
2026-10-15 10:55:59 -07:00
parent b066359b66
commit 68e86ab6eb
98 changed files with 5499 additions and 874 deletions
+56 -41
View File
@@ -2,70 +2,85 @@
[User guide](../user-guide.md) · [Interface design](../ui-design.md)
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.
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.
## 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.
## 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.
1. Select the appearance that you want as a starting point.
2. Choose Export theme template.
3. Edit the saved JSON file in a text editor.
4. 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.
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.
```json
{
"schema": 1,
"schema": 2,
"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"
"colors": {
"bg": "#141414",
"bg-elevated": "#1c1c1c",
"bg-active": "#2a2a2a",
"border": "#454545",
"text": "#e6e6e6",
"text-dim": "#b0b0b0",
"text-strong": "#ffffff",
"accent": "#00c8ff",
"selection": "#264f78"
}
}
```
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.
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.
## Available colors
| Keys | Use |
| --- | --- |
| `bg`, `bg-elevated`, `bg-active`, `border` | Surfaces, selected controls, and boundaries |
| `bg`, `bg-elevated`, `bg-active`, `border` | Surfaces 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 |
| `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 |
Omitted optional colors use the RuneStone defaults for that appearance.
The theme file contains color values, without scripts, style rules, or plugin code.
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.
## 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.
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 normal text, secondary text, links, focus indicators, and selections in both appearances before sharing a theme.
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.