Add interface languages and improve themes and workspace controls for 0.1.36
This commit is contained in:
@@ -53,11 +53,11 @@ original text without deleting the new note. Row and Column submenus insert,
|
||||
move, duplicate, and delete at the clicked cell. Column moves keep alignment. Sorting is stable and natural (2 before 10), leaves blanks last, and keeps the
|
||||
header fixed. Context-menu actions and table edge buttons have matching icons.
|
||||
|
||||
## Calculate with Table formulas
|
||||
## Calculate with Table Formulas
|
||||
|
||||
Install and enable the optional Table formulas plugin before using these calculations.
|
||||
Install and enable the optional Table Formulas plugin before using these calculations.
|
||||
|
||||
Table formulas start with `=`: for example, `=B2+C2`, `=AVERAGE(B2:C2)`,
|
||||
Table Formulas start with `=`: for example, `=B2+C2`, `=AVERAGE(B2:C2)`,
|
||||
`=SUM(B2:B10)`, or `=ROUND(B2/3, 2)`. Columns use A, B, …, AA. Row 1 is
|
||||
the header, so the first data row is 2. References stay inside the current table.
|
||||
Arithmetic supports `+`, `-`, `*`, `/`, `^`, parentheses, and postfix `%`.
|
||||
|
||||
@@ -23,6 +23,9 @@ persist locally. New terminals inherit the app environment, including PATH.
|
||||
|
||||
## Run scripts and navigate commands
|
||||
|
||||
Drag across terminal text to select it. Ctrl+C copies a selection.
|
||||
Without a selection, Ctrl+C sends an interrupt to the shell. Ctrl+Shift+C also copies selected text.
|
||||
|
||||
More terminal actions clears scrollback, runs selected editor text, or saves
|
||||
and runs the active script. Supported runners include Python, JavaScript,
|
||||
PowerShell, Bash, Ruby, Windows batch files, and executables. Their runtimes
|
||||
|
||||
+56
-41
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user