初始提交: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>
This commit is contained in:
311
vendor/libghostty-spm/Sources/GhosttyTheme/Themes/Themes_C.swift
vendored
Normal file
311
vendor/libghostty-spm/Sources/GhosttyTheme/Themes/Themes_C.swift
vendored
Normal file
@@ -0,0 +1,311 @@
|
||||
// Auto-generated by Script/generate-themes.sh — do not edit
|
||||
|
||||
public extension GhosttyThemeDefinition {
|
||||
static let c64 = GhosttyThemeDefinition(
|
||||
name: "C64",
|
||||
background: "40318d",
|
||||
foreground: "7869c4",
|
||||
cursorColor: "7869c4",
|
||||
cursorText: "40318d",
|
||||
selectionBackground: "7869c4",
|
||||
selectionForeground: "40318d",
|
||||
palette: [0: "090300", 1: "a2524c", 2: "55a049", 3: "bfce72", 4: "6657b3", 5: "984ca3", 6: "67b6bd", 7: "ffffff", 8: "000000", 9: "a2524c", 10: "55a049", 11: "bfce72", 12: "6657b3", 13: "984ca3", 14: "67b6bd", 15: "f7f7f7"]
|
||||
)
|
||||
|
||||
static let calamity = GhosttyThemeDefinition(
|
||||
name: "Calamity",
|
||||
background: "2f2833",
|
||||
foreground: "d5ced9",
|
||||
cursorColor: "d5ced9",
|
||||
cursorText: "2f2833",
|
||||
selectionBackground: "7e6c88",
|
||||
selectionForeground: "d5ced9",
|
||||
palette: [0: "2f2833", 1: "fc644d", 2: "a5f69c", 3: "e9d7a5", 4: "3b79c7", 5: "f92672", 6: "74d3de", 7: "d5ced9", 8: "7e6c88", 9: "fc644d", 10: "a5f69c", 11: "e9d7a5", 12: "3b79c7", 13: "f92672", 14: "74d3de", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let carbonfox = GhosttyThemeDefinition(
|
||||
name: "Carbonfox",
|
||||
background: "161616",
|
||||
foreground: "f2f4f8",
|
||||
cursorColor: "f2f4f8",
|
||||
cursorText: "161616",
|
||||
selectionBackground: "2a2a2a",
|
||||
selectionForeground: "f2f4f8",
|
||||
palette: [0: "282828", 1: "ee5396", 2: "25be6a", 3: "08bdba", 4: "78a9ff", 5: "be95ff", 6: "33b1ff", 7: "dfdfe0", 8: "484848", 9: "f16da6", 10: "46c880", 11: "2dc7c4", 12: "8cb6ff", 13: "c8a5ff", 14: "52bdff", 15: "e4e4e5"]
|
||||
)
|
||||
|
||||
static let catppuccin_Frappe = GhosttyThemeDefinition(
|
||||
name: "Catppuccin Frappe",
|
||||
background: "303446",
|
||||
foreground: "c6d0f5",
|
||||
cursorColor: "f2d5cf",
|
||||
cursorText: "303446",
|
||||
selectionBackground: "626880",
|
||||
selectionForeground: "c6d0f5",
|
||||
palette: [0: "51576d", 1: "e78284", 2: "a6d189", 3: "e5c890", 4: "8caaee", 5: "f4b8e4", 6: "81c8be", 7: "a5adce", 8: "626880", 9: "e67172", 10: "8ec772", 11: "d9ba73", 12: "7b9ef0", 13: "f2a4db", 14: "5abfb5", 15: "b5bfe2"]
|
||||
)
|
||||
|
||||
static let catppuccin_Latte = GhosttyThemeDefinition(
|
||||
name: "Catppuccin Latte",
|
||||
background: "eff1f5",
|
||||
foreground: "4c4f69",
|
||||
cursorColor: "dc8a78",
|
||||
cursorText: "eff1f5",
|
||||
selectionBackground: "acb0be",
|
||||
selectionForeground: "4c4f69",
|
||||
palette: [0: "5c5f77", 1: "d20f39", 2: "40a02b", 3: "df8e1d", 4: "1e66f5", 5: "ea76cb", 6: "179299", 7: "acb0be", 8: "6c6f85", 9: "de293e", 10: "49af3d", 11: "eea02d", 12: "456eff", 13: "fe85d8", 14: "2d9fa8", 15: "bcc0cc"]
|
||||
)
|
||||
|
||||
static let catppuccin_Macchiato = GhosttyThemeDefinition(
|
||||
name: "Catppuccin Macchiato",
|
||||
background: "24273a",
|
||||
foreground: "cad3f5",
|
||||
cursorColor: "f4dbd6",
|
||||
cursorText: "24273a",
|
||||
selectionBackground: "5b6078",
|
||||
selectionForeground: "cad3f5",
|
||||
palette: [0: "494d64", 1: "ed8796", 2: "a6da95", 3: "eed49f", 4: "8aadf4", 5: "f5bde6", 6: "8bd5ca", 7: "a5adcb", 8: "5b6078", 9: "ec7486", 10: "8ccf7f", 11: "e1c682", 12: "78a1f6", 13: "f2a9dd", 14: "63cbc0", 15: "b8c0e0"]
|
||||
)
|
||||
|
||||
static let catppuccin_Mocha = GhosttyThemeDefinition(
|
||||
name: "Catppuccin Mocha",
|
||||
background: "1e1e2e",
|
||||
foreground: "cdd6f4",
|
||||
cursorColor: "f5e0dc",
|
||||
cursorText: "1e1e2e",
|
||||
selectionBackground: "585b70",
|
||||
selectionForeground: "cdd6f4",
|
||||
palette: [0: "45475a", 1: "f38ba8", 2: "a6e3a1", 3: "f9e2af", 4: "89b4fa", 5: "f5c2e7", 6: "94e2d5", 7: "a6adc8", 8: "585b70", 9: "f37799", 10: "89d88b", 11: "ebd391", 12: "74a8fc", 13: "f2aede", 14: "6bd7ca", 15: "bac2de"]
|
||||
)
|
||||
|
||||
static let cGA = GhosttyThemeDefinition(
|
||||
name: "CGA",
|
||||
background: "000000",
|
||||
foreground: "aaaaaa",
|
||||
cursorColor: "b8b8b8",
|
||||
cursorText: "ffffff",
|
||||
selectionBackground: "c1deff",
|
||||
selectionForeground: "000000",
|
||||
palette: [0: "000000", 1: "aa0000", 2: "00aa00", 3: "aa5500", 4: "0d0db7", 5: "aa00aa", 6: "00aaaa", 7: "aaaaaa", 8: "555555", 9: "ff5555", 10: "55ff55", 11: "ffff55", 12: "5555ff", 13: "ff55ff", 14: "55ffff", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let chalk = GhosttyThemeDefinition(
|
||||
name: "Chalk",
|
||||
background: "2b2d2e",
|
||||
foreground: "d2d8d9",
|
||||
cursorColor: "708284",
|
||||
cursorText: "002831",
|
||||
selectionBackground: "e4e8ed",
|
||||
selectionForeground: "3f4041",
|
||||
palette: [0: "7d8b8f", 1: "b23a52", 2: "789b6a", 3: "b9ac4a", 4: "2a7fac", 5: "bd4f5a", 6: "44a799", 7: "d2d8d9", 8: "888888", 9: "f24840", 10: "80c470", 11: "ffeb62", 12: "4196ff", 13: "fc5275", 14: "53cdbd", 15: "d2d8d9"]
|
||||
)
|
||||
|
||||
static let chalkboard = GhosttyThemeDefinition(
|
||||
name: "Chalkboard",
|
||||
background: "29262f",
|
||||
foreground: "d9e6f2",
|
||||
cursorColor: "d9e6f2",
|
||||
cursorText: "29262f",
|
||||
selectionBackground: "073642",
|
||||
selectionForeground: "ffffff",
|
||||
palette: [0: "000000", 1: "c37372", 2: "72c373", 3: "c2c372", 4: "7372c3", 5: "c372c2", 6: "72c2c3", 7: "d9d9d9", 8: "585858", 9: "dbaaaa", 10: "aadbaa", 11: "dadbaa", 12: "aaaadb", 13: "dbaada", 14: "aadadb", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let challenger_Deep = GhosttyThemeDefinition(
|
||||
name: "Challenger Deep",
|
||||
background: "1e1c31",
|
||||
foreground: "cbe1e7",
|
||||
cursorColor: "fbfcfc",
|
||||
cursorText: "ff271d",
|
||||
selectionBackground: "cbe1e7",
|
||||
selectionForeground: "1e1c31",
|
||||
palette: [0: "141228", 1: "ff5458", 2: "62d196", 3: "ffb378", 4: "65b2ff", 5: "906cff", 6: "63f2f1", 7: "a6b3cc", 8: "565575", 9: "ff8080", 10: "95ffa4", 11: "ffe9aa", 12: "91ddff", 13: "c991e1", 14: "aaffe4", 15: "cbe3e7"]
|
||||
)
|
||||
|
||||
static let chester = GhosttyThemeDefinition(
|
||||
name: "Chester",
|
||||
background: "2c3643",
|
||||
foreground: "ffffff",
|
||||
cursorColor: "b4b1b1",
|
||||
cursorText: "000000",
|
||||
selectionBackground: "67747c",
|
||||
selectionForeground: "ffffff",
|
||||
palette: [0: "080200", 1: "fa5e5b", 2: "16c98d", 3: "ffc83f", 4: "288ad6", 5: "d34590", 6: "28ddde", 7: "e7e7e7", 8: "6f6b68", 9: "fa5e5b", 10: "16c98d", 11: "feef6d", 12: "278ad6", 13: "d34590", 14: "27dede", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let ciapre = GhosttyThemeDefinition(
|
||||
name: "Ciapre",
|
||||
background: "191c27",
|
||||
foreground: "aea47a",
|
||||
cursorColor: "92805b",
|
||||
cursorText: "181818",
|
||||
selectionBackground: "172539",
|
||||
selectionForeground: "aea47f",
|
||||
palette: [0: "181818", 1: "8e0d16", 2: "48513b", 3: "cc8b3f", 4: "576d8c", 5: "724d7c", 6: "5c4f4b", 7: "aea47f", 8: "555555", 9: "ac3835", 10: "a6a75d", 11: "dcdf7c", 12: "3097c6", 13: "d33061", 14: "f3dbb2", 15: "f4f4f4"]
|
||||
)
|
||||
|
||||
static let citruszest = GhosttyThemeDefinition(
|
||||
name: "Citruszest",
|
||||
background: "121212",
|
||||
foreground: "bfbfbf",
|
||||
cursorColor: "666666",
|
||||
cursorText: "f9f9f9",
|
||||
selectionBackground: "ff8c00",
|
||||
selectionForeground: "f4f4f4",
|
||||
palette: [0: "404040", 1: "ff5454", 2: "00cc7a", 3: "ffd400", 4: "00bfff", 5: "ff90fe", 6: "48d1cc", 7: "bfbfbf", 8: "808080", 9: "ff1a75", 10: "1affa3", 11: "ffff00", 12: "33cfff", 13: "ffb2fe", 14: "00fff2", 15: "f9f9f9"]
|
||||
)
|
||||
|
||||
static let cLRS = GhosttyThemeDefinition(
|
||||
name: "CLRS",
|
||||
background: "ffffff",
|
||||
foreground: "262626",
|
||||
cursorColor: "62c6ef",
|
||||
cursorText: "ffffff",
|
||||
selectionBackground: "6fd3fc",
|
||||
selectionForeground: "041730",
|
||||
palette: [0: "000000", 1: "f8282a", 2: "328a5d", 3: "fa701d", 4: "135cd0", 5: "9f00bd", 6: "33c3c1", 7: "b3b3b3", 8: "555753", 9: "fb0416", 10: "2cc631", 11: "e3bd0e", 12: "1670ff", 13: "e900b0", 14: "3ad5ce", 15: "eeeeec"]
|
||||
)
|
||||
|
||||
static let cobalt_Neon = GhosttyThemeDefinition(
|
||||
name: "Cobalt Neon",
|
||||
background: "142838",
|
||||
foreground: "8ff586",
|
||||
cursorColor: "c4206f",
|
||||
cursorText: "8ff586",
|
||||
selectionBackground: "094fb1",
|
||||
selectionForeground: "8ff586",
|
||||
palette: [0: "142631", 1: "ff2320", 2: "3ba5ff", 3: "e9e75c", 4: "8ff586", 5: "781aa0", 6: "8ff586", 7: "ba46b2", 8: "fff688", 9: "d4312e", 10: "8ff586", 11: "e9f06d", 12: "3c7dd2", 13: "8230a7", 14: "6cbc67", 15: "8ff586"]
|
||||
)
|
||||
|
||||
static let cobalt_Next = GhosttyThemeDefinition(
|
||||
name: "Cobalt Next",
|
||||
background: "162c35",
|
||||
foreground: "d7deea",
|
||||
cursorColor: "ffc64c",
|
||||
cursorText: "8a919d",
|
||||
selectionBackground: "4c5b67",
|
||||
selectionForeground: "ffffff",
|
||||
palette: [0: "000000", 1: "ff527b", 2: "8cc98f", 3: "ffc64c", 4: "409dd4", 5: "cba3c7", 6: "37b5b4", 7: "d7deea", 8: "62747f", 9: "e47e8b", 10: "baddbb", 11: "ffdc91", 12: "7ac0eb", 13: "f3ccef", 14: "84e4e3", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let cobalt_Next_Dark = GhosttyThemeDefinition(
|
||||
name: "Cobalt Next Dark",
|
||||
background: "0b1c24",
|
||||
foreground: "d7deea",
|
||||
cursorColor: "ffc64c",
|
||||
cursorText: "999999",
|
||||
selectionBackground: "37b5b4",
|
||||
selectionForeground: "ffffff",
|
||||
palette: [0: "262f37", 1: "f94967", 2: "8cc98f", 3: "ffc64c", 4: "409dd4", 5: "cba3c7", 6: "37b5b4", 7: "d7deea", 8: "62747f", 9: "e47e8b", 10: "baddbb", 11: "ffdc91", 12: "7ac0eb", 13: "f3ccef", 14: "84e4e3", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let cobalt_Next_Minimal = GhosttyThemeDefinition(
|
||||
name: "Cobalt Next Minimal",
|
||||
background: "0b1c24",
|
||||
foreground: "d7deea",
|
||||
cursorColor: "37b5b4",
|
||||
cursorText: "ffffff",
|
||||
selectionBackground: "37b5b4",
|
||||
selectionForeground: "ffffff",
|
||||
palette: [0: "323d47", 1: "ff657a", 2: "8cc98f", 3: "ffc64c", 4: "409dd4", 5: "cba3c7", 6: "37b5b4", 7: "d7deea", 8: "62747f", 9: "e47e8b", 10: "baddbb", 11: "ffdc91", 12: "7ac0eb", 13: "f3ccef", 14: "84e4e3", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let cobalt2 = GhosttyThemeDefinition(
|
||||
name: "Cobalt2",
|
||||
background: "132738",
|
||||
foreground: "ffffff",
|
||||
cursorColor: "f0cc09",
|
||||
cursorText: "98998c",
|
||||
selectionBackground: "18354f",
|
||||
selectionForeground: "b5b5b5",
|
||||
palette: [0: "000000", 1: "ff0000", 2: "38de21", 3: "ffe50a", 4: "1460d2", 5: "ff005d", 6: "00bbbb", 7: "bbbbbb", 8: "555555", 9: "f40e17", 10: "3bd01d", 11: "edc809", 12: "5555ff", 13: "ff55ff", 14: "6ae3fa", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let coffee_Theme = GhosttyThemeDefinition(
|
||||
name: "Coffee Theme",
|
||||
background: "f5deb3",
|
||||
foreground: "000000",
|
||||
cursorColor: "a1a1a1",
|
||||
cursorText: "fffc67",
|
||||
selectionBackground: "c1deff",
|
||||
selectionForeground: "000000",
|
||||
palette: [0: "000000", 1: "c91b00", 2: "00c200", 3: "adaa00", 4: "0225c7", 5: "ca30c7", 6: "00b8ba", 7: "a1a1a1", 8: "686868", 9: "ff6e67", 10: "1fba28", 11: "b2af1b", 12: "6871ff", 13: "f26af2", 14: "20bdbf", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let crayon_Pony_Fish = GhosttyThemeDefinition(
|
||||
name: "Crayon Pony Fish",
|
||||
background: "150707",
|
||||
foreground: "68525a",
|
||||
cursorColor: "68525a",
|
||||
cursorText: "140707",
|
||||
selectionBackground: "2b1b1d",
|
||||
selectionForeground: "69525a",
|
||||
palette: [0: "2b1b1d", 1: "91002b", 2: "579524", 3: "ab311b", 4: "8c87b0", 5: "692f50", 6: "e8a866", 7: "68525a", 8: "4a383b", 9: "c5255d", 10: "8dff57", 11: "c8381d", 12: "cfc9ff", 13: "fc6cba", 14: "ffceaf", 15: "b0949d"]
|
||||
)
|
||||
|
||||
static let cursor_Dark = GhosttyThemeDefinition(
|
||||
name: "Cursor Dark",
|
||||
background: "141414",
|
||||
foreground: "d4d4d4",
|
||||
cursorColor: "d4d4d4",
|
||||
cursorText: "141414",
|
||||
selectionBackground: "2c2c2c",
|
||||
selectionForeground: "e4e4e4",
|
||||
palette: [0: "242424", 1: "fc6b83", 2: "3fa266", 3: "d2943e", 4: "81a1c1", 5: "b48ead", 6: "88c0d0", 7: "e4e4e4", 8: "4a4a4a", 9: "fc6b83", 10: "70b489", 11: "f1b467", 12: "87a6c4", 13: "b48ead", 14: "88c0d0", 15: "e4e4e4"]
|
||||
)
|
||||
|
||||
static let cursor_Light = GhosttyThemeDefinition(
|
||||
name: "Cursor Light",
|
||||
background: "f3f3f3",
|
||||
foreground: "252525",
|
||||
cursorColor: "252525",
|
||||
cursorText: "f3f3f3",
|
||||
selectionBackground: "d9d9d9",
|
||||
selectionForeground: "252525",
|
||||
palette: [0: "252525", 1: "cf2d56", 2: "1f8a65", 3: "a16900", 4: "3c7cab", 5: "b8448b", 6: "4c7f8c", 7: "afafaf", 8: "5c5c5c", 9: "e75e78", 10: "55a583", 11: "c08532", 12: "6299c3", 13: "d06ba6", 14: "6f9ba6", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let cutie_Pro = GhosttyThemeDefinition(
|
||||
name: "Cutie Pro",
|
||||
background: "181818",
|
||||
foreground: "d5d0c9",
|
||||
cursorColor: "efc4cd",
|
||||
cursorText: "181818",
|
||||
selectionBackground: "363636",
|
||||
selectionForeground: "d5d0c9",
|
||||
palette: [0: "000000", 1: "f56e7f", 2: "bec975", 3: "f58669", 4: "42d9c5", 5: "d286b7", 6: "37cb8a", 7: "d5c3c3", 8: "88847f", 9: "e5a1a3", 10: "e8d6a7", 11: "f1bb79", 12: "80c5de", 13: "b294bb", 14: "9dccbb", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let cyberdyne = GhosttyThemeDefinition(
|
||||
name: "Cyberdyne",
|
||||
background: "151144",
|
||||
foreground: "00ff92",
|
||||
cursorColor: "00ff9c",
|
||||
cursorText: "a6a6a6",
|
||||
selectionBackground: "454d96",
|
||||
selectionForeground: "f4f4f4",
|
||||
palette: [0: "080808", 1: "ff8373", 2: "00c172", 3: "d2a700", 4: "0071cf", 5: "ff90fe", 6: "6bffdd", 7: "f1f1f1", 8: "484848", 9: "ffc4be", 10: "d6fcba", 11: "fffed5", 12: "c2e3ff", 13: "ffb2fe", 14: "e6e7fe", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let cyberpunk = GhosttyThemeDefinition(
|
||||
name: "Cyberpunk",
|
||||
background: "332a57",
|
||||
foreground: "e5e5e5",
|
||||
cursorColor: "21f6bc",
|
||||
cursorText: "999999",
|
||||
selectionBackground: "c1deff",
|
||||
selectionForeground: "000000",
|
||||
palette: [0: "000000", 1: "ff7092", 2: "00fbac", 3: "fffa6a", 4: "00bfff", 5: "df95ff", 6: "86cbfe", 7: "ffffff", 8: "595959", 9: "ff8aa4", 10: "21f6bc", 11: "fff787", 12: "1bccfd", 13: "e6aefe", 14: "99d6fc", 15: "ffffff"]
|
||||
)
|
||||
|
||||
static let cyberpunk_Scarlet_Protocol = GhosttyThemeDefinition(
|
||||
name: "Cyberpunk Scarlet Protocol",
|
||||
background: "101116",
|
||||
foreground: "e41951",
|
||||
cursorColor: "76ff9f",
|
||||
cursorText: "a6a6a6",
|
||||
selectionBackground: "c1deff",
|
||||
selectionForeground: "000000",
|
||||
palette: [0: "101116", 1: "ff0051", 2: "01dc84", 3: "faf945", 4: "0271b6", 5: "c930c7", 6: "00c5c7", 7: "c7c7c7", 8: "686868", 9: "ff6e67", 10: "60fa68", 11: "fffc67", 12: "6871ff", 13: "bd35ec", 14: "60fdff", 15: "ffffff"]
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user