From 77b22e7c7623696feb52292bb86839870e20050d Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 26 Nov 2026 04:37:03 -0300 Subject: themes, vendor, colors, gen_themes, exec, ctl, dump: DESIGN.md E's 44 themes retired, each name standing for its successor wherever it is still read (the themes programme's L7; DESIGN.md E, F): GONE: 28 helix sources (base16_default_light, base16_terminal, base16_transparent, bogster_light, cyan_light, eldritch_transparent, gruvbox-material, hex_lavender, hex_poison, ingrid, iroaseta, nord_light, nyxvamp-transparent, peachpuff, the six helix seoul256s, term16_dark, term16_light, tokyonight, ttox, ttox_soft, vesper-transparent, zed_onedark, zed_onelight), zed's ayu.json and gruvbox.json (every variant in them retired: ayu_dark/light/mirage_zed, the six gruvbox_*_zed) and their licences (ayu.LICENSE, gruvbox.LICENSE: zed's, covering those files alone; helix's licences each cover a kept theme), seoul256's 238, 239, 252 and 253 (their rows, their citations, their lines in its G4 block); vendor/themes/base/ holds the retired three kept themes inherit from (ayu_dark_helix, hex_steel, nord_helix; the designer's list named seven, but no kept theme inherits seoul256_dark/_light, term16_dark or zed_onedark once their children retire), passed to the generator as `base=` (build/core.zig `vendoredThemes` per directory), read for `inherits`, never rung; THE SUCCESSORS: `colors.retired`, 44 names and the kept one each stands for (the kept twin, the nearest kept seoul256 step, dark or light for the terminal-colour themes, the default where there is none: ingrid), read by `successorOf`: a `Theme` (an init file's line, a click, a /ctl write) naming one wears its successor and says so once, as a notice: "Theme gruvbox_dark_zed was retired: gruvbox instead" (exec.applySettingBuiltin); /ctl takes such a write (ctl.zig); a dump or Restore naming one restores its successor (`colors.restoredIndex`, dump.zig's two readers, which said the same loop twice; one this build has nothing of keeps the theme in effect as before, else the default by name, where it was index 0, dark's now); an unknown name keeps today's path and words; THE RING TEST'S LIST: empty, so gone (`ring_expected` and its bookkeeping: every theme in the ring passes every floor it is held to, or the test names it); RUN (TEST FIRST): colors.zig "a retired theme's name stands for its successor in an init file and a dump, said once; an unknown one leaves the default, in today's words" (an init `Theme gruvbox_dark_zed`, `Theme TTOX` (any case), `Theme ingrid` and `Theme no-such-theme`: gruvbox, dark, orchard and orchard, each with its one message; a dump of a session in acme with `ttox` put in for its theme's name, as an older build's: restored in dark): fails on L5 (gruvbox_dark_zed still in the ring, worn as itself), passes now; "every retired theme's successor is in the ring, and no retired name is" (44); the ring test: 245 of 245 themes pass every floor (289 at L5, 44 retired); "seoul256's eight backgrounds ring in their order"; the G4 test holds every port's file; core-test 1142/1315 (173 skipped: L5's 1140/1313 + the two retirement tests); OUTSIDE my files: build/core.zig (`vendoredThemes` per directory, the base arguments), core/exec.zig (`Theme`'s retired branch, 7 lines), core/ninep/ctl.zig (1 line), core/dump.zig (its two readers, `restoredIndex`); the dump's bytes and layout unchanged and a name in this build's ring restored as before (restoredIndex's first loop is the old one), so a join or a restore within a build never reaches the new branches: no fuzz or soak Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE --- vendor/themes/tokyonight.toml | 136 ------------------------------------------ 1 file changed, 136 deletions(-) delete mode 100644 vendor/themes/tokyonight.toml (limited to 'vendor/themes/tokyonight.toml') diff --git a/vendor/themes/tokyonight.toml b/vendor/themes/tokyonight.toml deleted file mode 100644 index 2d41764c..00000000 --- a/vendor/themes/tokyonight.toml +++ /dev/null @@ -1,136 +0,0 @@ -# Author: Paul Graydon - -attribute = { fg = "cyan" } -comment = { fg = "comment", modifiers = ["italic"] } -"comment.block.documentation" = { fg = "yellow" } -"comment.line.documentation" = { fg = "yellow" } -constant = { fg = "orange" } -"constant.builtin" = { fg = "aqua" } -"constant.character" = { fg = "light-green" } -"constant.character.escape" = { fg = "magenta" } -constructor = { fg = "aqua" } -function = { fg = "blue", modifiers = ["italic"] } -"function.builtin" = { fg = "aqua" } -"function.macro" = { fg = "cyan" } -"function.special" = { fg = "cyan" } -keyword = { fg = "purple", modifiers = ["italic"] } -"keyword.control" = { fg = "magenta" } -"keyword.control.import" = { fg = "cyan" } -"keyword.control.return" = { fg = "purple", modifiers = ["italic"] } -"keyword.directive" = { fg = "cyan" } -"keyword.function" = { fg = "magenta" } -"keyword.operator" = { fg = "magenta" } -label = { fg = "blue" } -namespace = { fg = "cyan" } -operator = { fg = "turquoise" } -punctuation = { fg = "turquoise" } -special = { fg = "aqua" } -string = { fg = "light-green" } -"string.regexp" = { fg = "light-cyan" } -"string.special" = { fg = "aqua" } -tag = { fg = "magenta" } -type = { fg = "aqua" } -"type.builtin" = { fg = "aqua" } -"type.enum.variant" = { fg = "orange" } -variable = { fg = "fg" } -"variable.builtin" = { fg = "red" } -"variable.other.member" = { fg = "green" } -"variable.parameter" = { fg = "yellow", modifiers = ["italic"] } - -"markup.bold" = { modifiers = ["bold"] } -"markup.heading" = { fg = "blue", modifiers = ["bold"] } -"markup.heading.completion" = { bg = "bg-menu", fg = "fg" } -"markup.heading.hover" = { bg = "fg-selected" } -"markup.italic" = { modifiers = ["italic"] } -"markup.link" = { fg = "blue", underline = { style = "line" } } -"markup.link.label" = { fg = "teal" } -"markup.link.text" = { fg = "teal" } -"markup.link.url" = { underline = { style = "line" } } -"markup.list" = { fg = "orange", modifiers = ["bold"] } -"markup.normal.completion" = { fg = "comment" } -"markup.normal.hover" = { fg = "fg-dark" } -"markup.raw" = { fg = "teal" } -"markup.raw.inline" = { bg = "black", fg = "blue" } -"markup.strikethrough" = { modifiers = ["crossed_out"] } - -"diff.delta" = { fg = "change" } -"diff.delta.moved" = { fg = "blue" } -"diff.minus" = { fg = "delete" } -"diff.plus" = { fg = "add" } - -error = { fg = "error" } -warning = { fg = "yellow" } -info = { fg = "info" } -hint = { fg = "hint" } -"diagnostic.error" = { underline = { style = "curl", color = "error" } } -"diagnostic.warning" = { underline = { style = "curl", color = "yellow"} } -"diagnostic.info" = { underline = { style = "curl", color = "info"} } -"diagnostic.hint" = { underline = { style = "curl", color = "hint" } } -"diagnostic.unnecessary" = { modifiers = ["dim"] } -"diagnostic.deprecated" = { modifiers = ["crossed_out"] } - -"ui.background" = { bg = "bg", fg = "fg" } -"ui.cursor" = { modifiers = ["reversed"] } -"ui.cursor.match" = { fg = "orange", modifiers = ["bold"] } -"ui.cursorline.primary" = { bg = "bg-menu" } -"ui.help" = { bg = "bg-menu", fg = "fg" } -"ui.linenr" = { fg = "fg-gutter" } -"ui.linenr.selected" = { fg = "fg-linenr" } -"ui.menu" = { bg = "bg-menu", fg = "fg" } -"ui.menu.selected" = { bg = "fg-selected" } -"ui.popup" = { bg = "bg-menu", fg = "border-highlight" } -"ui.selection" = { bg = "bg-selection" } -"ui.selection.primary" = { bg = "bg-selection" } -"ui.statusline" = { bg = "bg-menu", fg = "fg-dark" } -"ui.statusline.inactive" = { bg = "bg-menu", fg = "fg-gutter" } -"ui.statusline.normal" = { bg = "blue", fg = "bg", modifiers = ["bold"] } -"ui.statusline.insert" = { bg = "light-green", fg = "bg", modifiers = ["bold"] } -"ui.statusline.select" = { bg = "magenta", fg = "bg", modifiers = ["bold"] } -"ui.text" = { fg = "fg" } -"ui.text.focus" = { bg = "bg-focus" } -"ui.text.inactive" = { fg = "comment", modifiers = ["italic"] } -"ui.text.info" = { bg = "bg-menu", fg = "fg" } -"ui.text.directory" = { fg = "cyan" } -"ui.virtual.ruler" = { bg = "fg-gutter" } -"ui.virtual.whitespace" = { fg = "fg-gutter" } -"ui.virtual.inlay-hint" = { bg = "bg-inlay", fg = "teal" } -"ui.virtual.jump-label" = { fg = "orange", modifiers = ["bold"] } -"ui.window" = { fg = "border", modifiers = ["bold"] } - -[palette] -red = "#f7768e" -orange = "#ff9e64" -yellow = "#e0af68" -light-green = "#9ece6a" -green = "#73daca" -aqua = "#2ac3de" -teal = "#1abc9c" -turquoise = "#89ddff" -light-cyan = "#b4f9f8" -cyan = "#7dcfff" -blue = "#7aa2f7" -purple = "#9d7cd8" -magenta = "#bb9af7" -comment = "#565f89" -black = "#414868" - -add = "#449dab" -change = "#6183bb" -delete = "#914c54" - -error = "#db4b4b" -info = "#0db9d7" -hint = "#1abc9c" - -fg = "#c0caf5" -fg-dark = "#a9b1d6" -fg-gutter = "#3b4261" -fg-linenr = "#737aa2" -fg-selected = "#343a55" -border = "#15161e" -border-highlight = "#27a1b9" -bg = "#1a1b26" -bg-inlay = "#1a2b32" -bg-selection = "#283457" -bg-menu = "#16161e" -bg-focus = "#292e42" -- cgit v1.3