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:
parent
872b5cb258
commit
086bc8a925
26 changed files with 2881 additions and 100 deletions
|
|
@ -26,6 +26,7 @@
|
|||
"--lt-font-size-small": "12px",
|
||||
"--lt-font-size-ui": "13px",
|
||||
"--lt-font-ui": "system-ui, -apple-system, \"Segoe UI\", Roboto, Ubuntu, sans-serif",
|
||||
"--lt-line-height-editor": "1.5",
|
||||
"--lt-notice-bg": "#382632",
|
||||
"--lt-statusbar-bg": "#231f23",
|
||||
"--lt-statusbar-fg": "#bdb3b8",
|
||||
|
|
@ -97,6 +98,7 @@
|
|||
"--lt-font-size-small": "12px",
|
||||
"--lt-font-size-ui": "13px",
|
||||
"--lt-font-ui": "system-ui, -apple-system, \"Segoe UI\", Roboto, Ubuntu, sans-serif",
|
||||
"--lt-line-height-editor": "1.5",
|
||||
"--lt-notice-bg": "#eedcdc",
|
||||
"--lt-statusbar-bg": "#ebe5d5",
|
||||
"--lt-statusbar-fg": "#554c50",
|
||||
|
|
@ -140,5 +142,293 @@
|
|||
"--lt-vcs-modified": "#2f5aa8",
|
||||
"--lt-vcs-untracked": "#93560c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"dark": true,
|
||||
"id": "lutra-plum-night",
|
||||
"labelKey": "theme.lutraPlumNight",
|
||||
"tokens": {
|
||||
"--lt-accent": "#e6c27f",
|
||||
"--lt-bg": "#241a22",
|
||||
"--lt-border": "#3d2c38",
|
||||
"--lt-diag-error": "#f48a78",
|
||||
"--lt-diag-hint": "#a8969f",
|
||||
"--lt-diag-info": "#9db4ea",
|
||||
"--lt-diag-warning": "#e8b85a",
|
||||
"--lt-editor-active-line-bg": "#291e27",
|
||||
"--lt-editor-bg": "#1c1419",
|
||||
"--lt-editor-cursor": "#e6c27f",
|
||||
"--lt-editor-gutter-bg": "#1c1419",
|
||||
"--lt-editor-gutter-fg": "#a8969f",
|
||||
"--lt-editor-match-bg": "#43303a",
|
||||
"--lt-editor-selection-bg": "#56334a",
|
||||
"--lt-error": "#f48a78",
|
||||
"--lt-fg": "#f0e6dc",
|
||||
"--lt-fg-muted": "#a8969f",
|
||||
"--lt-font-mono": "ui-monospace, \"Cascadia Code\", Menlo, Consolas, monospace",
|
||||
"--lt-font-size-editor": "14px",
|
||||
"--lt-font-size-small": "12px",
|
||||
"--lt-font-size-ui": "13px",
|
||||
"--lt-font-ui": "system-ui, -apple-system, \"Segoe UI\", Roboto, Ubuntu, sans-serif",
|
||||
"--lt-line-height-editor": "1.5",
|
||||
"--lt-notice-bg": "#3e2836",
|
||||
"--lt-statusbar-bg": "#2a1e27",
|
||||
"--lt-statusbar-fg": "#c4b3bb",
|
||||
"--lt-syntax-attribute": "#d4b98a",
|
||||
"--lt-syntax-comment": "#9c8a94",
|
||||
"--lt-syntax-constant": "#c5a8ec",
|
||||
"--lt-syntax-function": "#ebca7d",
|
||||
"--lt-syntax-keyword": "#ec92bd",
|
||||
"--lt-syntax-number": "#efa985",
|
||||
"--lt-syntax-operator": "#c4b3bb",
|
||||
"--lt-syntax-string": "#b6c98a",
|
||||
"--lt-syntax-tag": "#e8907a",
|
||||
"--lt-syntax-type": "#8cc0cc",
|
||||
"--lt-syntax-variable": "#e3cdbb",
|
||||
"--lt-tab-active-bg": "#1c1419",
|
||||
"--lt-tab-modified": "#e6c27f",
|
||||
"--lt-terminal-ansi-black": "#33262f",
|
||||
"--lt-terminal-ansi-blue": "#98aee6",
|
||||
"--lt-terminal-ansi-bright-black": "#a8969f",
|
||||
"--lt-terminal-ansi-bright-blue": "#b8c6f2",
|
||||
"--lt-terminal-ansi-bright-cyan": "#acd6de",
|
||||
"--lt-terminal-ansi-bright-green": "#cbdca6",
|
||||
"--lt-terminal-ansi-bright-magenta": "#f4b0cf",
|
||||
"--lt-terminal-ansi-bright-red": "#f8a596",
|
||||
"--lt-terminal-ansi-bright-white": "#faf3ea",
|
||||
"--lt-terminal-ansi-bright-yellow": "#f4dc9a",
|
||||
"--lt-terminal-ansi-cyan": "#8cc0cc",
|
||||
"--lt-terminal-ansi-green": "#b6c98a",
|
||||
"--lt-terminal-ansi-magenta": "#ec92bd",
|
||||
"--lt-terminal-ansi-red": "#f28474",
|
||||
"--lt-terminal-ansi-white": "#d9cdc6",
|
||||
"--lt-terminal-ansi-yellow": "#ebca7d",
|
||||
"--lt-terminal-bg": "#1c1419",
|
||||
"--lt-terminal-cursor": "#e6c27f",
|
||||
"--lt-terminal-fg": "#f0e6dc",
|
||||
"--lt-terminal-selection-bg": "#56334a",
|
||||
"--lt-vcs-added": "#a6c784",
|
||||
"--lt-vcs-conflicted": "#f6788e",
|
||||
"--lt-vcs-deleted": "#dc9890",
|
||||
"--lt-vcs-ignored": "#9e8e97",
|
||||
"--lt-vcs-modified": "#9db4ea",
|
||||
"--lt-vcs-untracked": "#e8aa6c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"dark": true,
|
||||
"id": "lutra-river",
|
||||
"labelKey": "theme.lutraRiver",
|
||||
"tokens": {
|
||||
"--lt-accent": "#6fc6b8",
|
||||
"--lt-bg": "#1a2125",
|
||||
"--lt-border": "#2c373d",
|
||||
"--lt-diag-error": "#f08a7a",
|
||||
"--lt-diag-hint": "#8e9ca3",
|
||||
"--lt-diag-info": "#8fb6ec",
|
||||
"--lt-diag-warning": "#e2b65c",
|
||||
"--lt-editor-active-line-bg": "#1b2327",
|
||||
"--lt-editor-bg": "#151b1e",
|
||||
"--lt-editor-cursor": "#6fc6b8",
|
||||
"--lt-editor-gutter-bg": "#151b1e",
|
||||
"--lt-editor-gutter-fg": "#8e9ca3",
|
||||
"--lt-editor-match-bg": "#24393b",
|
||||
"--lt-editor-selection-bg": "#28434a",
|
||||
"--lt-error": "#f08a7a",
|
||||
"--lt-fg": "#e2e8e6",
|
||||
"--lt-fg-muted": "#8e9ca3",
|
||||
"--lt-font-mono": "ui-monospace, \"Cascadia Code\", Menlo, Consolas, monospace",
|
||||
"--lt-font-size-editor": "14px",
|
||||
"--lt-font-size-small": "12px",
|
||||
"--lt-font-size-ui": "13px",
|
||||
"--lt-font-ui": "system-ui, -apple-system, \"Segoe UI\", Roboto, Ubuntu, sans-serif",
|
||||
"--lt-line-height-editor": "1.5",
|
||||
"--lt-notice-bg": "#223a3c",
|
||||
"--lt-statusbar-bg": "#1e272b",
|
||||
"--lt-statusbar-fg": "#adbbc0",
|
||||
"--lt-syntax-attribute": "#c9bd86",
|
||||
"--lt-syntax-comment": "#87959c",
|
||||
"--lt-syntax-constant": "#b4aaea",
|
||||
"--lt-syntax-function": "#e4cb7c",
|
||||
"--lt-syntax-keyword": "#e392b6",
|
||||
"--lt-syntax-number": "#e8ae86",
|
||||
"--lt-syntax-operator": "#adbbc0",
|
||||
"--lt-syntax-string": "#9fcb94",
|
||||
"--lt-syntax-tag": "#e6957c",
|
||||
"--lt-syntax-type": "#74c3d1",
|
||||
"--lt-syntax-variable": "#d2dcd9",
|
||||
"--lt-tab-active-bg": "#151b1e",
|
||||
"--lt-tab-modified": "#6fc6b8",
|
||||
"--lt-terminal-ansi-black": "#263035",
|
||||
"--lt-terminal-ansi-blue": "#8cb0e8",
|
||||
"--lt-terminal-ansi-bright-black": "#8e9ca3",
|
||||
"--lt-terminal-ansi-bright-blue": "#afc6f2",
|
||||
"--lt-terminal-ansi-bright-cyan": "#a6dbe3",
|
||||
"--lt-terminal-ansi-bright-green": "#bfdeb2",
|
||||
"--lt-terminal-ansi-bright-magenta": "#f0b0cd",
|
||||
"--lt-terminal-ansi-bright-red": "#f6a597",
|
||||
"--lt-terminal-ansi-bright-white": "#f3f6f5",
|
||||
"--lt-terminal-ansi-bright-yellow": "#f0dc9c",
|
||||
"--lt-terminal-ansi-cyan": "#74c3d1",
|
||||
"--lt-terminal-ansi-green": "#9fcb94",
|
||||
"--lt-terminal-ansi-magenta": "#e392b6",
|
||||
"--lt-terminal-ansi-red": "#ee8172",
|
||||
"--lt-terminal-ansi-white": "#c6d0cd",
|
||||
"--lt-terminal-ansi-yellow": "#e4cb7c",
|
||||
"--lt-terminal-bg": "#151b1e",
|
||||
"--lt-terminal-cursor": "#6fc6b8",
|
||||
"--lt-terminal-fg": "#e2e8e6",
|
||||
"--lt-terminal-selection-bg": "#28434a",
|
||||
"--lt-vcs-added": "#93c98a",
|
||||
"--lt-vcs-conflicted": "#f27a90",
|
||||
"--lt-vcs-deleted": "#d69a92",
|
||||
"--lt-vcs-ignored": "#86939a",
|
||||
"--lt-vcs-modified": "#8fb6ec",
|
||||
"--lt-vcs-untracked": "#e3aa6a"
|
||||
}
|
||||
},
|
||||
{
|
||||
"dark": false,
|
||||
"id": "lutra-paper",
|
||||
"labelKey": "theme.lutraPaper",
|
||||
"tokens": {
|
||||
"--lt-accent": "#83224b",
|
||||
"--lt-bg": "#f6f5f1",
|
||||
"--lt-border": "#e2dfd7",
|
||||
"--lt-diag-error": "#ad3524",
|
||||
"--lt-diag-hint": "#625b5f",
|
||||
"--lt-diag-info": "#2d58a6",
|
||||
"--lt-diag-warning": "#7f5000",
|
||||
"--lt-editor-active-line-bg": "#f7f5f0",
|
||||
"--lt-editor-bg": "#fefdfb",
|
||||
"--lt-editor-cursor": "#83224b",
|
||||
"--lt-editor-gutter-bg": "#fefdfb",
|
||||
"--lt-editor-gutter-fg": "#625b5f",
|
||||
"--lt-editor-match-bg": "#f4e3ea",
|
||||
"--lt-editor-selection-bg": "#efd9e3",
|
||||
"--lt-error": "#ad3524",
|
||||
"--lt-fg": "#221d20",
|
||||
"--lt-fg-muted": "#625b5f",
|
||||
"--lt-font-mono": "ui-monospace, \"Cascadia Code\", Menlo, Consolas, monospace",
|
||||
"--lt-font-size-editor": "14px",
|
||||
"--lt-font-size-small": "12px",
|
||||
"--lt-font-size-ui": "13px",
|
||||
"--lt-font-ui": "system-ui, -apple-system, \"Segoe UI\", Roboto, Ubuntu, sans-serif",
|
||||
"--lt-line-height-editor": "1.5",
|
||||
"--lt-notice-bg": "#f3e2e8",
|
||||
"--lt-statusbar-bg": "#eeece6",
|
||||
"--lt-statusbar-fg": "#4f474b",
|
||||
"--lt-syntax-attribute": "#645a17",
|
||||
"--lt-syntax-comment": "#686064",
|
||||
"--lt-syntax-constant": "#5a44a0",
|
||||
"--lt-syntax-function": "#745306",
|
||||
"--lt-syntax-keyword": "#8e2856",
|
||||
"--lt-syntax-number": "#984216",
|
||||
"--lt-syntax-operator": "#4f474b",
|
||||
"--lt-syntax-string": "#46661f",
|
||||
"--lt-syntax-tag": "#a23f27",
|
||||
"--lt-syntax-type": "#1f6476",
|
||||
"--lt-syntax-variable": "#5c3f4e",
|
||||
"--lt-tab-active-bg": "#fefdfb",
|
||||
"--lt-tab-modified": "#83224b",
|
||||
"--lt-terminal-ansi-black": "#221d20",
|
||||
"--lt-terminal-ansi-blue": "#2c52a2",
|
||||
"--lt-terminal-ansi-bright-black": "#625b5f",
|
||||
"--lt-terminal-ansi-bright-blue": "#213c7c",
|
||||
"--lt-terminal-ansi-bright-cyan": "#174e5c",
|
||||
"--lt-terminal-ansi-bright-green": "#365015",
|
||||
"--lt-terminal-ansi-bright-magenta": "#6a1a40",
|
||||
"--lt-terminal-ansi-bright-red": "#8a2717",
|
||||
"--lt-terminal-ansi-bright-white": "#f6f5f1",
|
||||
"--lt-terminal-ansi-bright-yellow": "#5a4003",
|
||||
"--lt-terminal-ansi-cyan": "#1f6476",
|
||||
"--lt-terminal-ansi-green": "#46661f",
|
||||
"--lt-terminal-ansi-magenta": "#8e2856",
|
||||
"--lt-terminal-ansi-red": "#ad3524",
|
||||
"--lt-terminal-ansi-white": "#e2dfd7",
|
||||
"--lt-terminal-ansi-yellow": "#745306",
|
||||
"--lt-terminal-bg": "#fefdfb",
|
||||
"--lt-terminal-cursor": "#83224b",
|
||||
"--lt-terminal-fg": "#221d20",
|
||||
"--lt-terminal-selection-bg": "#efd9e3",
|
||||
"--lt-vcs-added": "#38701f",
|
||||
"--lt-vcs-conflicted": "#a81c40",
|
||||
"--lt-vcs-deleted": "#9e4236",
|
||||
"--lt-vcs-ignored": "#6d6569",
|
||||
"--lt-vcs-modified": "#2d58a6",
|
||||
"--lt-vcs-untracked": "#8c520a"
|
||||
}
|
||||
},
|
||||
{
|
||||
"dark": false,
|
||||
"id": "lutra-reed",
|
||||
"labelKey": "theme.lutraReed",
|
||||
"tokens": {
|
||||
"--lt-accent": "#3c6447",
|
||||
"--lt-bg": "#e9e7d8",
|
||||
"--lt-border": "#d2cfbb",
|
||||
"--lt-diag-error": "#a63424",
|
||||
"--lt-diag-hint": "#5b5a4f",
|
||||
"--lt-diag-info": "#2b549c",
|
||||
"--lt-diag-warning": "#784c00",
|
||||
"--lt-editor-active-line-bg": "#eceadd",
|
||||
"--lt-editor-bg": "#f3f2e8",
|
||||
"--lt-editor-cursor": "#3c6447",
|
||||
"--lt-editor-gutter-bg": "#f3f2e8",
|
||||
"--lt-editor-gutter-fg": "#5b5a4f",
|
||||
"--lt-editor-match-bg": "#e2e6d2",
|
||||
"--lt-editor-selection-bg": "#d7e0cc",
|
||||
"--lt-error": "#a63424",
|
||||
"--lt-fg": "#25261f",
|
||||
"--lt-fg-muted": "#5b5a4f",
|
||||
"--lt-font-mono": "ui-monospace, \"Cascadia Code\", Menlo, Consolas, monospace",
|
||||
"--lt-font-size-editor": "14px",
|
||||
"--lt-font-size-small": "12px",
|
||||
"--lt-font-size-ui": "13px",
|
||||
"--lt-font-ui": "system-ui, -apple-system, \"Segoe UI\", Roboto, Ubuntu, sans-serif",
|
||||
"--lt-line-height-editor": "1.5",
|
||||
"--lt-notice-bg": "#dde3cf",
|
||||
"--lt-statusbar-bg": "#e1dfce",
|
||||
"--lt-statusbar-fg": "#4a4a40",
|
||||
"--lt-syntax-attribute": "#5f5718",
|
||||
"--lt-syntax-comment": "#625f55",
|
||||
"--lt-syntax-constant": "#57439a",
|
||||
"--lt-syntax-function": "#6e5006",
|
||||
"--lt-syntax-keyword": "#8c2a5a",
|
||||
"--lt-syntax-number": "#913f17",
|
||||
"--lt-syntax-operator": "#4a4a40",
|
||||
"--lt-syntax-string": "#3d6020",
|
||||
"--lt-syntax-tag": "#9a3c26",
|
||||
"--lt-syntax-type": "#1d5f6e",
|
||||
"--lt-syntax-variable": "#6c4433",
|
||||
"--lt-tab-active-bg": "#f3f2e8",
|
||||
"--lt-tab-modified": "#3c6447",
|
||||
"--lt-terminal-ansi-black": "#25261f",
|
||||
"--lt-terminal-ansi-blue": "#2a4f98",
|
||||
"--lt-terminal-ansi-bright-black": "#5b5a4f",
|
||||
"--lt-terminal-ansi-bright-blue": "#203a76",
|
||||
"--lt-terminal-ansi-bright-cyan": "#164a56",
|
||||
"--lt-terminal-ansi-bright-green": "#304b14",
|
||||
"--lt-terminal-ansi-bright-magenta": "#6a1c42",
|
||||
"--lt-terminal-ansi-bright-red": "#842617",
|
||||
"--lt-terminal-ansi-bright-white": "#e9e7d8",
|
||||
"--lt-terminal-ansi-bright-yellow": "#553d03",
|
||||
"--lt-terminal-ansi-cyan": "#1d5f6e",
|
||||
"--lt-terminal-ansi-green": "#3d6020",
|
||||
"--lt-terminal-ansi-magenta": "#8c2a5a",
|
||||
"--lt-terminal-ansi-red": "#a63424",
|
||||
"--lt-terminal-ansi-white": "#d2cfbb",
|
||||
"--lt-terminal-ansi-yellow": "#6e5006",
|
||||
"--lt-terminal-bg": "#f3f2e8",
|
||||
"--lt-terminal-cursor": "#3c6447",
|
||||
"--lt-terminal-fg": "#25261f",
|
||||
"--lt-terminal-selection-bg": "#d7e0cc",
|
||||
"--lt-vcs-added": "#356a1e",
|
||||
"--lt-vcs-conflicted": "#a11c3e",
|
||||
"--lt-vcs-deleted": "#973f33",
|
||||
"--lt-vcs-ignored": "#615e54",
|
||||
"--lt-vcs-modified": "#2b549c",
|
||||
"--lt-vcs-untracked": "#844d0a"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue