- M0: libghostty SSH 终端(渲染/输入/连接)+ 白屏修复(OutputGate) + 会话状态机/自动重连 - M1: tsnet 用户态组网 + SSH-over-tsnet(fd 桥),shell 级真机验证;R5(Go+gvisor+C+++Swift 同进程) retire - M1.5: tmux -CC 原生 tab(MVP) - 结构: packages/(TXCore·TXTransport), apps/TerminalX, vendor/(libghostty-spm/libssh2/mbedtls/tsnet-bridge), artifacts/ - 文档: CLAUDE.md + docs/HANDOFF.md(新会话入口) - 环境: 认证代理→依赖 vendor 本地化;Go 在 ~/.local/go;仅模拟器/未签名 - 待续: M2 mosh, tmux 多 pane, M4 安全(host key/SE) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
312 lines
14 KiB
Swift
312 lines
14 KiB
Swift
// Auto-generated by Script/generate-themes.sh — do not edit
|
|
|
|
public extension GhosttyThemeDefinition {
|
|
static let galaxy = GhosttyThemeDefinition(
|
|
name: "Galaxy",
|
|
background: "1d2837",
|
|
foreground: "ffffff",
|
|
cursorColor: "bbbbbb",
|
|
cursorText: "ffffff",
|
|
selectionBackground: "b5d5ff",
|
|
selectionForeground: "000000",
|
|
palette: [0: "000000", 1: "f9555f", 2: "21b089", 3: "fef02a", 4: "589df6", 5: "944d95", 6: "1f9ee7", 7: "bbbbbb", 8: "555555", 9: "fa8c8f", 10: "35bb9a", 11: "ffff55", 12: "589df6", 13: "e75699", 14: "3979bc", 15: "ffffff"]
|
|
)
|
|
|
|
static let galizur = GhosttyThemeDefinition(
|
|
name: "Galizur",
|
|
background: "071317",
|
|
foreground: "ddeeff",
|
|
cursorColor: "ddeeff",
|
|
cursorText: "071317",
|
|
selectionBackground: "071317",
|
|
selectionForeground: "ddeeff",
|
|
palette: [0: "223344", 1: "aa1122", 2: "33aa11", 3: "ccaa22", 4: "2255cc", 5: "7755aa", 6: "22bbdd", 7: "8899aa", 8: "556677", 9: "ff1133", 10: "33ff11", 11: "ffdd33", 12: "3377ff", 13: "aa77ff", 14: "33ddff", 15: "bbccdd"]
|
|
)
|
|
|
|
static let ghostty_Default_Style_Dark = GhosttyThemeDefinition(
|
|
name: "Ghostty Default Style Dark",
|
|
background: "282c34",
|
|
foreground: "ffffff",
|
|
cursorColor: "ffffff",
|
|
cursorText: "353a44",
|
|
selectionBackground: "ffffff",
|
|
selectionForeground: "282c34",
|
|
palette: [0: "1d1f21", 1: "cc6566", 2: "b6bd68", 3: "f0c674", 4: "82a2be", 5: "b294bb", 6: "8abeb7", 7: "c4c8c6", 8: "666666", 9: "d54e53", 10: "b9ca4b", 11: "e7c547", 12: "7aa6da", 13: "c397d8", 14: "70c0b1", 15: "eaeaea"]
|
|
)
|
|
|
|
static let gitHub = GhosttyThemeDefinition(
|
|
name: "GitHub",
|
|
background: "f4f4f4",
|
|
foreground: "3e3e3e",
|
|
cursorColor: "3f3f3f",
|
|
cursorText: "f4f4f4",
|
|
selectionBackground: "a9c1e2",
|
|
selectionForeground: "535353",
|
|
palette: [0: "3e3e3e", 1: "970b16", 2: "07962a", 3: "c5bb94", 4: "003e8a", 5: "e94691", 6: "7cc4df", 7: "b2b2b2", 8: "666666", 9: "de0000", 10: "7ac895", 11: "d7b600", 12: "2e6cba", 13: "f29592", 14: "00c7cb", 15: "ffffff"]
|
|
)
|
|
|
|
static let gitHub_Dark = GhosttyThemeDefinition(
|
|
name: "GitHub Dark",
|
|
background: "101216",
|
|
foreground: "8b949e",
|
|
cursorColor: "c9d1d9",
|
|
cursorText: "101216",
|
|
selectionBackground: "3b5070",
|
|
selectionForeground: "ffffff",
|
|
palette: [0: "000000", 1: "f78166", 2: "56d364", 3: "e3b341", 4: "6ca4f8", 5: "db61a2", 6: "2b7489", 7: "ffffff", 8: "4d4d4d", 9: "f78166", 10: "56d364", 11: "e3b341", 12: "6ca4f8", 13: "db61a2", 14: "2b7489", 15: "ffffff"]
|
|
)
|
|
|
|
static let gitHub_Dark_Colorblind = GhosttyThemeDefinition(
|
|
name: "GitHub Dark Colorblind",
|
|
background: "0d1117",
|
|
foreground: "c9d1d9",
|
|
cursorColor: "58a6ff",
|
|
cursorText: "98e6ff",
|
|
selectionBackground: "c9d1d9",
|
|
selectionForeground: "0d1117",
|
|
palette: [0: "484f58", 1: "ec8e2c", 2: "58a6ff", 3: "d29922", 4: "58a6ff", 5: "bc8cff", 6: "39c5cf", 7: "b1bac4", 8: "6e7681", 9: "fdac54", 10: "79c0ff", 11: "e3b341", 12: "79c0ff", 13: "d2a8ff", 14: "56d4dd", 15: "ffffff"]
|
|
)
|
|
|
|
static let gitHub_Dark_Default = GhosttyThemeDefinition(
|
|
name: "GitHub Dark Default",
|
|
background: "0d1117",
|
|
foreground: "e6edf3",
|
|
cursorColor: "2f81f7",
|
|
cursorText: "6fc1ff",
|
|
selectionBackground: "e6edf3",
|
|
selectionForeground: "0d1117",
|
|
palette: [0: "484f58", 1: "ff7b72", 2: "3fb950", 3: "d29922", 4: "58a6ff", 5: "bc8cff", 6: "39c5cf", 7: "b1bac4", 8: "6e7681", 9: "ffa198", 10: "56d364", 11: "e3b341", 12: "79c0ff", 13: "d2a8ff", 14: "56d4dd", 15: "ffffff"]
|
|
)
|
|
|
|
static let gitHub_Dark_Dimmed = GhosttyThemeDefinition(
|
|
name: "GitHub Dark Dimmed",
|
|
background: "22272e",
|
|
foreground: "adbac7",
|
|
cursorColor: "539bf5",
|
|
cursorText: "93dbff",
|
|
selectionBackground: "adbac7",
|
|
selectionForeground: "22272e",
|
|
palette: [0: "545d68", 1: "f47067", 2: "57ab5a", 3: "c69026", 4: "539bf5", 5: "b083f0", 6: "39c5cf", 7: "909dab", 8: "636e7b", 9: "ff938a", 10: "6bc46d", 11: "daaa3f", 12: "6cb6ff", 13: "dcbdfb", 14: "56d4dd", 15: "cdd9e5"]
|
|
)
|
|
|
|
static let gitHub_Dark_High_Contrast = GhosttyThemeDefinition(
|
|
name: "GitHub Dark High Contrast",
|
|
background: "0a0c10",
|
|
foreground: "f0f3f6",
|
|
cursorColor: "71b7ff",
|
|
cursorText: "b1f7ff",
|
|
selectionBackground: "f0f3f6",
|
|
selectionForeground: "0a0c10",
|
|
palette: [0: "7a828e", 1: "ff9492", 2: "26cd4d", 3: "f0b72f", 4: "71b7ff", 5: "cb9eff", 6: "39c5cf", 7: "d9dee3", 8: "9ea7b3", 9: "ffb1af", 10: "4ae168", 11: "f7c843", 12: "91cbff", 13: "dbb7ff", 14: "56d4dd", 15: "ffffff"]
|
|
)
|
|
|
|
static let gitHub_Light_Colorblind = GhosttyThemeDefinition(
|
|
name: "GitHub Light Colorblind",
|
|
background: "ffffff",
|
|
foreground: "24292f",
|
|
cursorColor: "0969da",
|
|
cursorText: "3c9cff",
|
|
selectionBackground: "24292f",
|
|
selectionForeground: "ffffff",
|
|
palette: [0: "24292f", 1: "b35900", 2: "0550ae", 3: "4d2d00", 4: "0969da", 5: "8250df", 6: "1b7c83", 7: "6e7781", 8: "57606a", 9: "8a4600", 10: "0969da", 11: "633c01", 12: "218bff", 13: "a475f9", 14: "3192aa", 15: "8c959f"]
|
|
)
|
|
|
|
static let gitHub_Light_Default = GhosttyThemeDefinition(
|
|
name: "GitHub Light Default",
|
|
background: "ffffff",
|
|
foreground: "1f2328",
|
|
cursorColor: "0969da",
|
|
cursorText: "3c9cff",
|
|
selectionBackground: "1f2328",
|
|
selectionForeground: "ffffff",
|
|
palette: [0: "24292f", 1: "cf222e", 2: "116329", 3: "4d2d00", 4: "0969da", 5: "8250df", 6: "1b7c83", 7: "6e7781", 8: "57606a", 9: "a40e26", 10: "1a7f37", 11: "633c01", 12: "218bff", 13: "a475f9", 14: "3192aa", 15: "8c959f"]
|
|
)
|
|
|
|
static let gitHub_Light_High_Contrast = GhosttyThemeDefinition(
|
|
name: "GitHub Light High Contrast",
|
|
background: "ffffff",
|
|
foreground: "0e1116",
|
|
cursorColor: "0349b4",
|
|
cursorText: "367ce7",
|
|
selectionBackground: "0e1116",
|
|
selectionForeground: "ffffff",
|
|
palette: [0: "0e1116", 1: "a0111f", 2: "024c1a", 3: "3f2200", 4: "0349b4", 5: "622cbc", 6: "1b7c83", 7: "66707b", 8: "4b535d", 9: "86061d", 10: "055d20", 11: "4e2c00", 12: "1168e3", 13: "844ae7", 14: "3192aa", 15: "88929d"]
|
|
)
|
|
|
|
static let gitLab_Dark = GhosttyThemeDefinition(
|
|
name: "GitLab Dark",
|
|
background: "28262b",
|
|
foreground: "ffffff",
|
|
cursorColor: "ffffff",
|
|
cursorText: "bfbfbf",
|
|
selectionBackground: "ad95e9",
|
|
selectionForeground: "28262b",
|
|
palette: [0: "000000", 1: "f57f6c", 2: "52b87a", 3: "d99530", 4: "7fb6ed", 5: "f88aaf", 6: "32c5d2", 7: "ffffff", 8: "666666", 9: "fcb5aa", 10: "91d4a8", 11: "e9be74", 12: "498dd1", 13: "fcacc5", 14: "5edee3", 15: "ffffff"]
|
|
)
|
|
|
|
static let gitLab_Dark_Grey = GhosttyThemeDefinition(
|
|
name: "GitLab Dark Grey",
|
|
background: "222222",
|
|
foreground: "ffffff",
|
|
cursorColor: "ffffff",
|
|
cursorText: "bfbfbf",
|
|
selectionBackground: "ad95e9",
|
|
selectionForeground: "222222",
|
|
palette: [0: "000000", 1: "f57f6c", 2: "52b87a", 3: "d99530", 4: "7fb6ed", 5: "f88aaf", 6: "32c5d2", 7: "ffffff", 8: "666666", 9: "fcb5aa", 10: "91d4a8", 11: "e9be74", 12: "498dd1", 13: "fcacc5", 14: "5edee3", 15: "ffffff"]
|
|
)
|
|
|
|
static let gitLab_Light = GhosttyThemeDefinition(
|
|
name: "GitLab Light",
|
|
background: "fafaff",
|
|
foreground: "303030",
|
|
cursorColor: "303030",
|
|
cursorText: "565656",
|
|
selectionBackground: "ad95e9",
|
|
selectionForeground: "fafaff",
|
|
palette: [0: "303030", 1: "a31700", 2: "0a7f3d", 3: "af551d", 4: "006cd8", 5: "583cac", 6: "00798a", 7: "303030", 8: "303030", 9: "a31700", 10: "0a7f3d", 11: "af551d", 12: "006cd8", 13: "583cac", 14: "00798a", 15: "303030"]
|
|
)
|
|
|
|
static let glacier = GhosttyThemeDefinition(
|
|
name: "Glacier",
|
|
background: "0c1115",
|
|
foreground: "ffffff",
|
|
cursorColor: "6c6c6c",
|
|
cursorText: "9f9f9f",
|
|
selectionBackground: "bd2523",
|
|
selectionForeground: "ffffff",
|
|
palette: [0: "2e343c", 1: "bd0f2f", 2: "35a770", 3: "fb9435", 4: "1f5872", 5: "bd2523", 6: "778397", 7: "ffffff", 8: "404a55", 9: "bd0f2f", 10: "49e998", 11: "fddf6e", 12: "2a8bc1", 13: "ea4727", 14: "a0b6d3", 15: "ffffff"]
|
|
)
|
|
|
|
static let grape = GhosttyThemeDefinition(
|
|
name: "Grape",
|
|
background: "171423",
|
|
foreground: "9f9fa1",
|
|
cursorColor: "a288f7",
|
|
cursorText: "171422",
|
|
selectionBackground: "493d70",
|
|
selectionForeground: "171422",
|
|
palette: [0: "2d283f", 1: "ed2261", 2: "1fa91b", 3: "8ddc20", 4: "487df4", 5: "8d35c9", 6: "3bdeed", 7: "9e9ea0", 8: "59516a", 9: "f0729a", 10: "53aa5e", 11: "b2dc87", 12: "a9bcec", 13: "ad81c2", 14: "9de3eb", 15: "a288f7"]
|
|
)
|
|
|
|
static let grass = GhosttyThemeDefinition(
|
|
name: "Grass",
|
|
background: "13773d",
|
|
foreground: "fff0a5",
|
|
cursorColor: "d9744c",
|
|
cursorText: "ffffff",
|
|
selectionBackground: "b64926",
|
|
selectionForeground: "ffffff",
|
|
palette: [0: "000000", 1: "ff5959", 2: "00bb00", 3: "e7b000", 4: "0000a3", 5: "ee59bb", 6: "00bbbb", 7: "bbbbbb", 8: "959595", 9: "ff5959", 10: "00bb00", 11: "e7b000", 12: "0000bb", 13: "ff55ff", 14: "55ffff", 15: "ffffff"]
|
|
)
|
|
|
|
static let grey_Green = GhosttyThemeDefinition(
|
|
name: "Grey Green",
|
|
background: "002a1a",
|
|
foreground: "ffffff",
|
|
cursorColor: "fff400",
|
|
cursorText: "aeb1b0",
|
|
selectionBackground: "517e50",
|
|
selectionForeground: "e2e2e2",
|
|
palette: [0: "000000", 1: "fe1414", 2: "74ff00", 3: "f1ff01", 4: "00deff", 5: "ff00f0", 6: "00ffbc", 7: "ffffff", 8: "666666", 9: "ff3939", 10: "00ff44", 11: "ffd100", 12: "00afff", 13: "ff008a", 14: "00ffd3", 15: "f5ecec"]
|
|
)
|
|
|
|
static let gruber_Darker = GhosttyThemeDefinition(
|
|
name: "Gruber Darker",
|
|
background: "181818",
|
|
foreground: "e4e4e4",
|
|
cursorColor: "ffdb00",
|
|
cursorText: "a6a6a6",
|
|
selectionBackground: "ffffff",
|
|
selectionForeground: "54494e",
|
|
palette: [0: "181818", 1: "ff0a36", 2: "42dc00", 3: "ffdb00", 4: "92a7cb", 5: "a095cb", 6: "90aa9e", 7: "e4e4e4", 8: "54494e", 9: "ff3851", 10: "42dc00", 11: "ffdb00", 12: "92a7cb", 13: "afafda", 14: "90aa9e", 15: "f5f5f5"]
|
|
)
|
|
|
|
static let gruvbox_Dark = GhosttyThemeDefinition(
|
|
name: "Gruvbox Dark",
|
|
background: "282828",
|
|
foreground: "ebdbb2",
|
|
cursorColor: "ebdbb2",
|
|
cursorText: "282828",
|
|
selectionBackground: "665c54",
|
|
selectionForeground: "ebdbb2",
|
|
palette: [0: "282828", 1: "cc241d", 2: "98971a", 3: "d79921", 4: "458588", 5: "b16286", 6: "689d6a", 7: "a89984", 8: "928374", 9: "fb4934", 10: "b8bb26", 11: "fabd2f", 12: "83a598", 13: "d3869b", 14: "8ec07c", 15: "ebdbb2"]
|
|
)
|
|
|
|
static let gruvbox_Dark_Hard = GhosttyThemeDefinition(
|
|
name: "Gruvbox Dark Hard",
|
|
background: "1d2021",
|
|
foreground: "ebdbb2",
|
|
cursorColor: "ebdbb2",
|
|
cursorText: "1d2021",
|
|
selectionBackground: "665c54",
|
|
selectionForeground: "ebdbb2",
|
|
palette: [0: "1d2021", 1: "cc241d", 2: "98971a", 3: "d79921", 4: "458588", 5: "b16286", 6: "689d6a", 7: "a89984", 8: "928374", 9: "fb4934", 10: "b8bb26", 11: "fabd2f", 12: "83a598", 13: "d3869b", 14: "8ec07c", 15: "ebdbb2"]
|
|
)
|
|
|
|
static let gruvbox_Light = GhosttyThemeDefinition(
|
|
name: "Gruvbox Light",
|
|
background: "fbf1c7",
|
|
foreground: "3c3836",
|
|
cursorColor: "3c3836",
|
|
cursorText: "fbf1c7",
|
|
selectionBackground: "3c3836",
|
|
selectionForeground: "fbf1c7",
|
|
palette: [0: "fbf1c7", 1: "cc241d", 2: "98971a", 3: "d79921", 4: "458588", 5: "b16286", 6: "689d6a", 7: "7c6f64", 8: "928374", 9: "9d0006", 10: "79740e", 11: "b57614", 12: "076678", 13: "8f3f71", 14: "427b58", 15: "3c3836"]
|
|
)
|
|
|
|
static let gruvbox_Light_Hard = GhosttyThemeDefinition(
|
|
name: "Gruvbox Light Hard",
|
|
background: "f9f5d7",
|
|
foreground: "3c3836",
|
|
cursorColor: "3c3836",
|
|
cursorText: "f9f5d7",
|
|
selectionBackground: "3c3836",
|
|
selectionForeground: "f9f5d7",
|
|
palette: [0: "f9f5d7", 1: "cc241d", 2: "98971a", 3: "d79921", 4: "458588", 5: "b16286", 6: "689d6a", 7: "7c6f64", 8: "928374", 9: "9d0006", 10: "79740e", 11: "b57614", 12: "076678", 13: "8f3f71", 14: "427b58", 15: "3c3836"]
|
|
)
|
|
|
|
static let gruvbox_Material = GhosttyThemeDefinition(
|
|
name: "Gruvbox Material",
|
|
background: "1d2021",
|
|
foreground: "d4be98",
|
|
cursorColor: "ffffff",
|
|
cursorText: "000000",
|
|
selectionBackground: "2b2c3f",
|
|
selectionForeground: "7cfb70",
|
|
palette: [0: "141617", 1: "ea6926", 2: "c1d041", 3: "eecf75", 4: "6da3ec", 5: "fd9bc1", 6: "fe9d6e", 7: "ffffff", 8: "4c4c4c", 9: "d3573b", 10: "c1d041", 11: "eecf75", 12: "2c86ff", 13: "fd9bc1", 14: "92a5df", 15: "ffffff"]
|
|
)
|
|
|
|
static let gruvbox_Material_Dark = GhosttyThemeDefinition(
|
|
name: "Gruvbox Material Dark",
|
|
background: "282828",
|
|
foreground: "d4be98",
|
|
cursorColor: "d4be98",
|
|
cursorText: "282828",
|
|
selectionBackground: "d4be98",
|
|
selectionForeground: "282828",
|
|
palette: [0: "282828", 1: "ea6962", 2: "a9b665", 3: "d8a657", 4: "7daea3", 5: "d3869b", 6: "89b482", 7: "d4be98", 8: "7c6f64", 9: "ea6962", 10: "a9b665", 11: "d8a657", 12: "7daea3", 13: "d3869b", 14: "89b482", 15: "ddc7a1"]
|
|
)
|
|
|
|
static let gruvbox_Material_Light = GhosttyThemeDefinition(
|
|
name: "Gruvbox Material Light",
|
|
background: "fbf1c7",
|
|
foreground: "654735",
|
|
cursorColor: "654735",
|
|
cursorText: "fbf1c7",
|
|
selectionBackground: "654735",
|
|
selectionForeground: "fbf1c7",
|
|
palette: [0: "fbf1c7", 1: "c14a4a", 2: "6c782e", 3: "b47109", 4: "45707a", 5: "945e80", 6: "4c7a5d", 7: "654735", 8: "a89984", 9: "c14a4a", 10: "6c782e", 11: "b47109", 12: "45707a", 13: "945e80", 14: "4c7a5d", 15: "4f3829"]
|
|
)
|
|
|
|
static let guezwhoz = GhosttyThemeDefinition(
|
|
name: "Guezwhoz",
|
|
background: "1d1d1d",
|
|
foreground: "d9d9d9",
|
|
cursorColor: "99d4b1",
|
|
cursorText: "1d1d1d",
|
|
selectionBackground: "245354",
|
|
selectionForeground: "58d6ce",
|
|
palette: [0: "333333", 1: "e85181", 2: "7ad694", 3: "b7d074", 4: "5aa0d6", 5: "9a90e0", 6: "58d6ce", 7: "d9d9d9", 8: "808080", 9: "e85181", 10: "afd7af", 11: "d1ed85", 12: "64b2ed", 13: "a398ed", 14: "61ede4", 15: "ededed"]
|
|
)
|
|
}
|