Files
kid aa92d0e676 初始提交:terminalX 可运行态(M0/M1/M1.5 已真机验证)
- 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>
2026-07-24 10:20:46 +08:00

290 lines
13 KiB
Swift

// Auto-generated by Script/generate-themes.sh do not edit
public extension GhosttyThemeDefinition {
static let tango_Adapted = GhosttyThemeDefinition(
name: "Tango Adapted",
background: "ffffff",
foreground: "000000",
cursorColor: "000000",
cursorText: "ffffff",
selectionBackground: "c1deff",
selectionForeground: "000000",
palette: [0: "000000", 1: "ff0000", 2: "59d600", 3: "e3be00", 4: "00a2ff", 5: "c17ecc", 6: "00d0d6", 7: "c0c5bb", 8: "8f928b", 9: "ff0013", 10: "6dd900", 11: "ccbe00", 12: "88c9ff", 13: "e9a7e1", 14: "00d8d9", 15: "f6f6f4"]
)
static let tango_Half_Adapted = GhosttyThemeDefinition(
name: "Tango Half Adapted",
background: "ffffff",
foreground: "000000",
cursorColor: "000000",
cursorText: "ffffff",
selectionBackground: "c1deff",
selectionForeground: "000000",
palette: [0: "000000", 1: "ff0000", 2: "4cc300", 3: "e2c000", 4: "008ef6", 5: "a96cb3", 6: "00bdc3", 7: "babfb5", 8: "797d76", 9: "ff0013", 10: "70dc00", 11: "d9c600", 12: "76bfff", 13: "d898d1", 14: "00d0d4", 15: "f4f4f2"]
)
static let tearout = GhosttyThemeDefinition(
name: "Tearout",
background: "34392d",
foreground: "f4d2ae",
cursorColor: "d7c483",
cursorText: "141415",
selectionBackground: "e4c47a",
selectionForeground: "000000",
palette: [0: "685742", 1: "cc967b", 2: "97976d", 3: "6c9861", 4: "b5955e", 5: "c9a554", 6: "d7c483", 7: "b5955e", 8: "75644f", 9: "cc967b", 10: "97976d", 11: "6c9861", 12: "b5955e", 13: "c9a554", 14: "d7c483", 15: "b5955e"]
)
static let teerb = GhosttyThemeDefinition(
name: "Teerb",
background: "262626",
foreground: "d0d0d0",
cursorColor: "e4c9af",
cursorText: "000000",
selectionBackground: "4d4d4d",
selectionForeground: "ffffff",
palette: [0: "1c1c1c", 1: "d68686", 2: "aed686", 3: "d7af87", 4: "86aed6", 5: "d6aed6", 6: "8adbb4", 7: "d0d0d0", 8: "4f4f4f", 9: "d68686", 10: "aed686", 11: "e4c9af", 12: "86aed6", 13: "d6aed6", 14: "b1e7dd", 15: "efefef"]
)
static let terafox = GhosttyThemeDefinition(
name: "Terafox",
background: "152528",
foreground: "e6eaea",
cursorColor: "e6eaea",
cursorText: "152528",
selectionBackground: "293e40",
selectionForeground: "e6eaea",
palette: [0: "2f3239", 1: "e85c51", 2: "7aa4a1", 3: "fda47f", 4: "5a93aa", 5: "ad5c7c", 6: "a1cdd8", 7: "ebebeb", 8: "4e5157", 9: "eb746b", 10: "8eb2af", 11: "fdb292", 12: "73a3b7", 13: "b97490", 14: "afd4de", 15: "eeeeee"]
)
static let terminal_Basic = GhosttyThemeDefinition(
name: "Terminal Basic",
background: "ffffff",
foreground: "000000",
cursorColor: "7f7f7f",
cursorText: "000000",
selectionBackground: "a4c9ff",
selectionForeground: "000000",
palette: [0: "000000", 1: "990000", 2: "00a600", 3: "999900", 4: "0000b2", 5: "b200b2", 6: "00a6b2", 7: "bfbfbf", 8: "666666", 9: "e50000", 10: "00d900", 11: "bfbf00", 12: "0000ff", 13: "e500e5", 14: "00d8d8", 15: "e5e5e5"]
)
static let terminal_Basic_Dark = GhosttyThemeDefinition(
name: "Terminal Basic Dark",
background: "1d1e1d",
foreground: "ffffff",
cursorColor: "9d9d9d",
cursorText: "1d1e1d",
selectionBackground: "3f638a",
selectionForeground: "ffffff",
palette: [0: "000000", 1: "c65339", 2: "6ac44b", 3: "b8b74a", 4: "6444ed", 5: "d357db", 6: "69c1cf", 7: "d1d1d1", 8: "909090", 9: "eb5a3a", 10: "77ea51", 11: "efef53", 12: "d09af9", 13: "eb5af7", 14: "78f1f2", 15: "ededed"]
)
static let thayer_Bright = GhosttyThemeDefinition(
name: "Thayer Bright",
background: "1b1d1e",
foreground: "f8f8f8",
cursorColor: "fc971f",
cursorText: "000000",
selectionBackground: "4d4d4d",
selectionForeground: "ffffff",
palette: [0: "1b1d1e", 1: "f92672", 2: "4df840", 3: "f4fd22", 4: "2757d6", 5: "8c54fe", 6: "38c8b5", 7: "ccccc6", 8: "505354", 9: "ff5995", 10: "b6e354", 11: "feed6c", 12: "3f78ff", 13: "9e6ffe", 14: "23cfd5", 15: "f8f8f2"]
)
static let the_Hulk = GhosttyThemeDefinition(
name: "The Hulk",
background: "1b1d1e",
foreground: "b5b5b5",
cursorColor: "16b61b",
cursorText: "000000",
selectionBackground: "4d504c",
selectionForeground: "31892f",
palette: [0: "1b1d1e", 1: "269d1b", 2: "13ce30", 3: "63e457", 4: "2525f5", 5: "712c81", 6: "378ca9", 7: "d9d8d1", 8: "505354", 9: "8dff2a", 10: "48ff77", 11: "3afe16", 12: "506b95", 13: "72589d", 14: "4085a6", 15: "e5e6e1"]
)
static let tinacious_Design_Dark = GhosttyThemeDefinition(
name: "Tinacious Design Dark",
background: "1d1d26",
foreground: "cbcbf0",
cursorColor: "cbcbf0",
cursorText: "999999",
selectionBackground: "ff3399",
selectionForeground: "ffffff",
palette: [0: "1d1d26", 1: "ff3399", 2: "00d364", 3: "ffcc66", 4: "00cbff", 5: "cc66ff", 6: "00ceca", 7: "cbcbf0", 8: "636667", 9: "ff2f92", 10: "00d364", 11: "ffd479", 12: "00cbff", 13: "d783ff", 14: "00d5d4", 15: "d5d6f3"]
)
static let tinacious_Design_Light = GhosttyThemeDefinition(
name: "Tinacious Design Light",
background: "f8f8ff",
foreground: "1d1d26",
cursorColor: "b1b1d6",
cursorText: "ffffff",
selectionBackground: "ff3399",
selectionForeground: "ffffff",
palette: [0: "1d1d26", 1: "ff3399", 2: "00d364", 3: "e5b24d", 4: "00cbff", 5: "cc66ff", 6: "00ceca", 7: "b1b1d6", 8: "636667", 9: "ff2f92", 10: "00d364", 11: "d9ae53", 12: "00cbff", 13: "d783ff", 14: "00c8c7", 15: "d5d6f3"]
)
static let tokyoNight = GhosttyThemeDefinition(
name: "TokyoNight",
background: "1a1b26",
foreground: "c0caf5",
cursorColor: "c0caf5",
cursorText: "15161e",
selectionBackground: "33467c",
selectionForeground: "c0caf5",
palette: [0: "15161e", 1: "f7768e", 2: "9ece6a", 3: "e0af68", 4: "7aa2f7", 5: "bb9af7", 6: "7dcfff", 7: "a9b1d6", 8: "414868", 9: "f7768e", 10: "9ece6a", 11: "e0af68", 12: "7aa2f7", 13: "bb9af7", 14: "7dcfff", 15: "c0caf5"]
)
static let tokyoNight_Day = GhosttyThemeDefinition(
name: "TokyoNight Day",
background: "e1e2e7",
foreground: "3760bf",
cursorColor: "3760bf",
cursorText: "e1e2e7",
selectionBackground: "99a7df",
selectionForeground: "3760bf",
palette: [0: "e9e9ed", 1: "f52a65", 2: "587539", 3: "8c6c3e", 4: "2e7de9", 5: "9854f1", 6: "007197", 7: "6172b0", 8: "a1a6c5", 9: "f52a65", 10: "587539", 11: "8c6c3e", 12: "2e7de9", 13: "9854f1", 14: "007197", 15: "3760bf"]
)
static let tokyoNight_Moon = GhosttyThemeDefinition(
name: "TokyoNight Moon",
background: "222436",
foreground: "c8d3f5",
cursorColor: "c8d3f5",
cursorText: "222436",
selectionBackground: "2d3f76",
selectionForeground: "c8d3f5",
palette: [0: "1b1d2b", 1: "ff757f", 2: "c3e88d", 3: "ffc777", 4: "82aaff", 5: "c099ff", 6: "86e1fc", 7: "828bb8", 8: "444a73", 9: "ff757f", 10: "c3e88d", 11: "ffc777", 12: "82aaff", 13: "c099ff", 14: "86e1fc", 15: "c8d3f5"]
)
static let tokyoNight_Night = GhosttyThemeDefinition(
name: "TokyoNight Night",
background: "1a1b26",
foreground: "c0caf5",
cursorColor: "c0caf5",
cursorText: "1a1b26",
selectionBackground: "283457",
selectionForeground: "c0caf5",
palette: [0: "15161e", 1: "f7768e", 2: "9ece6a", 3: "e0af68", 4: "7aa2f7", 5: "bb9af7", 6: "7dcfff", 7: "a9b1d6", 8: "414868", 9: "f7768e", 10: "9ece6a", 11: "e0af68", 12: "7aa2f7", 13: "bb9af7", 14: "7dcfff", 15: "c0caf5"]
)
static let tokyoNight_Storm = GhosttyThemeDefinition(
name: "TokyoNight Storm",
background: "24283b",
foreground: "c0caf5",
cursorColor: "c0caf5",
cursorText: "1d202f",
selectionBackground: "364a82",
selectionForeground: "c0caf5",
palette: [0: "1d202f", 1: "f7768e", 2: "9ece6a", 3: "e0af68", 4: "7aa2f7", 5: "bb9af7", 6: "7dcfff", 7: "a9b1d6", 8: "4e5575", 9: "f7768e", 10: "9ece6a", 11: "e0af68", 12: "7aa2f7", 13: "bb9af7", 14: "7dcfff", 15: "c0caf5"]
)
static let tomorrow = GhosttyThemeDefinition(
name: "Tomorrow",
background: "ffffff",
foreground: "4d4d4c",
cursorColor: "4d4d4c",
cursorText: "ffffff",
selectionBackground: "d6d6d6",
selectionForeground: "4d4d4c",
palette: [0: "000000", 1: "c82829", 2: "718c00", 3: "eab700", 4: "4271ae", 5: "8959a8", 6: "3e999f", 7: "bfbfbf", 8: "000000", 9: "c82829", 10: "718c00", 11: "eab700", 12: "4271ae", 13: "8959a8", 14: "3e999f", 15: "ffffff"]
)
static let tomorrow_Night = GhosttyThemeDefinition(
name: "Tomorrow Night",
background: "1d1f21",
foreground: "c5c8c6",
cursorColor: "c5c8c6",
cursorText: "1d1f21",
selectionBackground: "373b41",
selectionForeground: "c5c8c6",
palette: [0: "000000", 1: "cc6666", 2: "b5bd68", 3: "f0c674", 4: "81a2be", 5: "b294bb", 6: "8abeb7", 7: "ffffff", 8: "4c4c4c", 9: "cc6666", 10: "b5bd68", 11: "f0c674", 12: "81a2be", 13: "b294bb", 14: "8abeb7", 15: "ffffff"]
)
static let tomorrow_Night_Blue = GhosttyThemeDefinition(
name: "Tomorrow Night Blue",
background: "002451",
foreground: "ffffff",
cursorColor: "ffffff",
cursorText: "003f8e",
selectionBackground: "003f8e",
selectionForeground: "ffffff",
palette: [0: "000000", 1: "ff9da4", 2: "d1f1a9", 3: "ffeead", 4: "bbdaff", 5: "ebbbff", 6: "99ffff", 7: "ffffff", 8: "4c4c4c", 9: "ff9da4", 10: "d1f1a9", 11: "ffeead", 12: "bbdaff", 13: "ebbbff", 14: "99ffff", 15: "ffffff"]
)
static let tomorrow_Night_Bright = GhosttyThemeDefinition(
name: "Tomorrow Night Bright",
background: "000000",
foreground: "eaeaea",
cursorColor: "eaeaea",
cursorText: "000000",
selectionBackground: "424242",
selectionForeground: "eaeaea",
palette: [0: "000000", 1: "d54e53", 2: "b9ca4a", 3: "e7c547", 4: "7aa6da", 5: "c397d8", 6: "70c0b1", 7: "ffffff", 8: "404040", 9: "d54e53", 10: "b9ca4a", 11: "e7c547", 12: "7aa6da", 13: "c397d8", 14: "70c0b1", 15: "ffffff"]
)
static let tomorrow_Night_Burns = GhosttyThemeDefinition(
name: "Tomorrow Night Burns",
background: "151515",
foreground: "a1b0b8",
cursorColor: "ff443e",
cursorText: "b0c2c4",
selectionBackground: "b0bec5",
selectionForeground: "2a2d32",
palette: [0: "252525", 1: "832e31", 2: "a63c40", 3: "d3494e", 4: "fc595f", 5: "df9395", 6: "ba8586", 7: "f5f5f5", 8: "5d6f71", 9: "832e31", 10: "a63c40", 11: "d2494e", 12: "fc595f", 13: "df9395", 14: "ba8586", 15: "f5f5f5"]
)
static let tomorrow_Night_Eighties = GhosttyThemeDefinition(
name: "Tomorrow Night Eighties",
background: "2d2d2d",
foreground: "cccccc",
cursorColor: "cccccc",
cursorText: "2d2d2d",
selectionBackground: "515151",
selectionForeground: "cccccc",
palette: [0: "000000", 1: "f2777a", 2: "99cc99", 3: "ffcc66", 4: "6699cc", 5: "cc99cc", 6: "66cccc", 7: "ffffff", 8: "595959", 9: "f2777a", 10: "99cc99", 11: "ffcc66", 12: "6699cc", 13: "cc99cc", 14: "66cccc", 15: "ffffff"]
)
static let toy_Chest = GhosttyThemeDefinition(
name: "Toy Chest",
background: "24364b",
foreground: "31d07b",
cursorColor: "d5d5d5",
cursorText: "141c25",
selectionBackground: "5f217a",
selectionForeground: "d5d5d5",
palette: [0: "2c3f58", 1: "be2d26", 2: "1a9172", 3: "db8e27", 4: "325d96", 5: "8a5edc", 6: "35a08f", 7: "23d183", 8: "336889", 9: "dd5944", 10: "31d07b", 11: "e7d84b", 12: "34a6da", 13: "ae6bdc", 14: "42c3ae", 15: "d5d5d5"]
)
static let traffic = GhosttyThemeDefinition(
name: "traffic",
background: "272c30",
foreground: "cfb9a8",
cursorColor: "cfb9a8",
cursorText: "272c30",
selectionBackground: "cfb9a8",
selectionForeground: "272c30",
palette: [0: "282d31", 1: "934e46", 2: "637268", 3: "c79e84", 4: "515e67", 5: "715f5e", 6: "5c6f7d", 7: "cfb9a8", 8: "4e575e", 9: "934e46", 10: "637270", 11: "c79e84", 12: "515e67", 13: "715f5e", 14: "5c6f7d", 15: "ddcec2"]
)
static let treehouse = GhosttyThemeDefinition(
name: "Treehouse",
background: "191919",
foreground: "786b53",
cursorColor: "fac814",
cursorText: "191919",
selectionBackground: "786b53",
selectionForeground: "fac800",
palette: [0: "321300", 1: "b2270e", 2: "44a900", 3: "aa820c", 4: "58859a", 5: "97363d", 6: "b25a1e", 7: "786b53", 8: "504333", 9: "ed5d20", 10: "55f238", 11: "f2b732", 12: "85cfed", 13: "e14c5a", 14: "f07d14", 15: "ffc800"]
)
static let twilight = GhosttyThemeDefinition(
name: "Twilight",
background: "141414",
foreground: "ffffd4",
cursorColor: "ffffff",
cursorText: "000000",
selectionBackground: "313131",
selectionForeground: "ffffd4",
palette: [0: "141414", 1: "c06d44", 2: "afb97a", 3: "c2a86c", 4: "44474a", 5: "b4be7c", 6: "778385", 7: "ffffd4", 8: "404040", 9: "de7c4c", 10: "ccd88c", 11: "e2c47e", 12: "5a5e62", 13: "d0dc8e", 14: "8a989b", 15: "ffffd4"]
)
}