T1: four more themes, theme picker, theme file import, editor font settings

Plum Night, River, Paper and Reed (designed by Amy, approved by Daniel)
join the brand pair. theme.list/current/select/import, a picker with
live preview (view.selectTheme) and "Import Theme…" (view.importTheme);
imported themes are validated and stored in <data_dir>/themes. Editor
font family and line height settings apply live. Docs: docs/themes.md.

Gate: fmt, clippy and the rest pass up to cargo test, where only the
unrelated lutra-terminal PTY test a_full_buffer_stops_the_shell timed
out under load; to be re-run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-11-02 19:47:58 +01:00
parent 872b5cb258
commit 086bc8a925
26 changed files with 2881 additions and 100 deletions

View file

@ -49,6 +49,8 @@
"command.vcs.showStashes": "Stashes…",
"command.vcs.stash": "Stash Changes…",
"command.vcs.toggleBlame": "Annotate with Git Blame",
"command.view.importTheme": "Import Theme…",
"command.view.selectTheme": "Select Theme…",
"command.view.toggleProjectTree": "Show or Hide Project",
"command.view.toggleStructure": "Show or Hide Structure",
"common.cancel": "Cancel",
@ -359,6 +361,10 @@
"settings.appearance.theme.label": "Theme",
"settings.appearance.theme.value.lutraDark": "Lutra Dark",
"settings.appearance.theme.value.lutraLight": "Lutra Light",
"settings.appearance.theme.value.lutraPaper": "Paper",
"settings.appearance.theme.value.lutraPlumNight": "Plum Night",
"settings.appearance.theme.value.lutraReed": "Reed",
"settings.appearance.theme.value.lutraRiver": "River",
"settings.appearance.theme.value.system": "Same as system",
"settings.dialog.browse": "Browse…",
"settings.dialog.browseLabel": "Choose a file for {name}",
@ -380,10 +386,14 @@
"settings.editor.completion.autoPopup.label": "Show completions while typing",
"settings.editor.completion.delayMs.description": "How long Lutra waits after you stop typing before it asks for completions. 0 asks at once.",
"settings.editor.completion.delayMs.label": "Completion popup delay (ms)",
"settings.editor.fontFamily.description": "Font family of the editor, the terminal and other code text, as a CSS list such as \"JetBrains Mono\", monospace. Empty uses Lutra's default monospace fonts.",
"settings.editor.fontFamily.label": "Editor font",
"settings.editor.fontSize.description": "Size of the text in the editor, in pixels.",
"settings.editor.fontSize.label": "Editor font size",
"settings.editor.hover.delayMs.description": "How long the pointer has to rest on a name before its documentation shows.",
"settings.editor.hover.delayMs.label": "Documentation tooltip delay (ms)",
"settings.editor.lineHeight.description": "Height of each editor line relative to the font size. 150 means one and a half times the font size.",
"settings.editor.lineHeight.label": "Editor line height (%)",
"settings.error.browseFailed": "The file picker could not open: {message}",
"settings.error.int": "Enter a whole number",
"settings.error.intRange": "Enter a whole number from {min} to {max}",
@ -436,8 +446,21 @@
"terminal.tab.numbered": "Local ({n})",
"terminal.tabs.label": "Terminals",
"terminal.toolWindow.title": "Terminal",
"theme.import.done": "Imported the theme {name}.",
"theme.import.title": "Import Theme",
"theme.lutraDark": "Lutra Dark",
"theme.lutraLight": "Lutra Light",
"theme.lutraPaper": "Paper",
"theme.lutraPlumNight": "Plum Night",
"theme.lutraReed": "Reed",
"theme.lutraRiver": "River",
"theme.notification.skipped": "Skipped the theme file {file}: {reason}",
"theme.picker.current": "current",
"theme.picker.dark": "Dark",
"theme.picker.followsSystem": "Follows the light or dark preference of your operating system",
"theme.picker.imported": "{mode}, imported",
"theme.picker.light": "Light",
"theme.picker.title": "Select Theme",
"vcs.branchItem.detached": "Detached HEAD at {hash}. Click for branches.",
"vcs.branchItem.label": "Git branch {branch}. Click for branches.",
"vcs.branches.create": "Create",