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/term16_dark.toml | 80 ------------------------------------------ 1 file changed, 80 deletions(-) delete mode 100644 vendor/themes/term16_dark.toml (limited to 'vendor/themes/term16_dark.toml') diff --git a/vendor/themes/term16_dark.toml b/vendor/themes/term16_dark.toml deleted file mode 100644 index b34a4b4e..00000000 --- a/vendor/themes/term16_dark.toml +++ /dev/null @@ -1,80 +0,0 @@ -# Author: dgkf - -"ui.background" = { } -"ui.background.separator" = { fg = "red" } -"ui.cursor" = { fg = "light-gray", modifiers = ["reversed"] } -"ui.cursor.match" = { fg = "light-yellow", modifiers = ["reversed"] } -"ui.cursor.primary" = { fg = "light-gray", modifiers = ["reversed"] } -"ui.cursor.secondary" = { fg = "gray", modifiers = ["reversed"] } -"ui.cursorline.primary" = { bg = "black" } -"ui.gutter" = { } -"ui.gutter.selected" = { bg = "black" } -"ui.help" = { fg = "white", bg = "black" } -"ui.linenr" = { fg = "gray", modifiers = ["bold"] } -"ui.linenr.selected" = { fg = "white", modifiers = ["bold"] } -"ui.menu" = { fg = "light-gray", bg = "gray" } -"ui.menu.selected" = { modifiers = ["reversed"] } -"ui.menu.scroll" = { fg = "light-blue" } -"ui.popup" = { bg = "black" } -"ui.selection" = { bg = "gray" } -"ui.statusline" = { fg = "light-gray", bg = "gray" } -"ui.statusline.inactive" = { bg = "black" } -"ui.virtual" = { bg = "black" } -"ui.virtual.indent-guide" = { fg = "gray" } -"ui.virtual.whitespace" = {} -"ui.virtual.wrap" = { fg = "gray" } -"ui.virtual.inlay-hint" = { fg = "light-gray", modifiers = ["dim", "italic"] } -"ui.virtual.inlay-hint.parameter" = { fg = "yellow", modifiers = ["dim", "italic"] } -"ui.virtual.inlay-hint.type" = { fg = "blue", modifiers = ["dim", "italic"] } -"ui.window" = { fg = "gray", modifiers = ["dim"] } - -"comment" = { fg = "light-gray", modifiers = ["italic", "dim"] } - -"attribute" = "light-yellow" -"constant" = { fg = "light-yellow", modifiers = ["bold", "dim"] } -"constant.numeric" = "light-yellow" -"constant.character.escape" = "light-cyan" -"constructor" = "light-blue" -"function" = "light-blue" -"function.macro" = "light-red" -"function.builtin" = { fg = "light-blue", modifiers = ["bold"] } -"tag" = { fg = "light-magenta", modifiers = ["dim"] } -"type" = "blue" -"type.builtin" = { fg = "blue", modifiers = ["bold"] } -"type.enum.variant" = { fg = "light-magenta", modifiers = ["dim"] } -"string" = "light-green" -"special" = "light-red" -"variable" = "white" -"variable.parameter" = { fg = "light-yellow", modifiers = ["italic"] } -"variable.other.member" = "light-green" -"keyword" = "light-magenta" -"keyword.control.exception" = "light-red" -"keyword.directive" = { fg = "light-yellow", modifiers = ["bold"] } -"keyword.operator" = { fg = "light-blue", modifiers = ["bold"] } -"label" = "light-green" -"namespace" = { fg = "blue", modifiers = ["dim"] } - -"markup.heading" = "light-blue" -"markup.list" = "light-red" -"markup.bold" = { fg = "light-cyan", modifiers = ["bold"] } -"markup.italic" = { fg = "light-blue", modifiers = ["italic"] } -"markup.strikethrough" = { modifiers = ["crossed_out"] } -"markup.link.url" = { fg = "magenta", modifiers = ["dim"] } -"markup.link.text" = "light-magenta" -"markup.quote" = "light-cyan" -"markup.raw" = "light-green" - -"diff.plus" = "light-green" -"diff.delta" = "light-yellow" -"diff.minus" = "light-red" - -"diagnostic.hint" = { underline = { color = "gray", style = "curl" } } -"diagnostic.info" = { underline = { color = "light-cyan", style = "curl" } } -"diagnostic.warning" = { underline = { color = "light-yellow", style = "curl" } } -"diagnostic.error" = { underline = { color = "light-red", style = "curl" } } - -"info" = "light-cyan" -"hint" = { fg = "light-gray", modifiers = ["dim"] } -"debug" = "white" -"warning" = "yellow" -"error" = "light-red" -- cgit v1.3