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/base16_default_light.toml | 79 --------------------------------- 1 file changed, 79 deletions(-) delete mode 100644 vendor/themes/base16_default_light.toml (limited to 'vendor/themes/base16_default_light.toml') diff --git a/vendor/themes/base16_default_light.toml b/vendor/themes/base16_default_light.toml deleted file mode 100644 index 16e38e74..00000000 --- a/vendor/themes/base16_default_light.toml +++ /dev/null @@ -1,79 +0,0 @@ -# Author: NNB - -"ui.background" = { bg = "base00" } -"ui.menu" = { fg = "base05", bg = "base01" } -"ui.menu.selected" = { fg = "base01", bg = "base04" } -"ui.linenr" = { fg = "base03", bg = "base01" } -"ui.popup" = { bg = "base01" } -"ui.window" = { bg = "base01" } -"ui.linenr.selected" = { fg = "base04", bg = "base01", modifiers = ["bold"] } -"ui.selection" = { bg = "base02" } -"comment" = { fg = "base03", modifiers = ["italic"] } -"ui.statusline" = { fg = "base04", bg = "base01" } -"ui.cursor" = { fg = "base04", modifiers = ["reversed"] } -"ui.cursor.primary" = { fg = "base05", modifiers = ["reversed"] } -"ui.virtual.whitespace" = "base03" -"ui.virtual.jump-label" = { fg = "blue", modifiers = ["bold", "underlined"] } -"ui.virtual.ruler" = { bg = "base01" } -"ui.text" = "base05" -"operator" = "base05" -"ui.text.focus" = "base05" -"variable" = "base08" -"constant.numeric" = "base09" -"constant" = "base09" -"attribute" = "base09" -"type" = "base0A" -"ui.cursor.match" = { fg = "base0A", modifiers = ["underlined"] } -"string" = "base0B" -"variable.other.member" = "base0B" -"constant.character.escape" = "base0C" -"function" = "base0D" -"constructor" = "base0D" -"special" = "base0D" -"keyword" = "base0E" -"label" = "base0E" -"namespace" = "base0E" -"ui.help" = { fg = "base06", bg = "base01" } - -"markup.heading" = "base0D" -"markup.list" = "base08" -"markup.bold" = { fg = "base0A", modifiers = ["bold"] } -"markup.italic" = { fg = "base0E", modifiers = ["italic"] } -"markup.strikethrough" = { modifiers = ["crossed_out"] } -"markup.link.url" = { fg = "base09", modifiers = ["underlined"] } -"markup.link.text" = "base08" -"markup.quote" = "base0C" -"markup.raw" = "base0B" - -"diff.plus" = "base0B" -"diff.delta" = "base09" -"diff.minus" = "base08" - -"diagnostic" = { modifiers = ["underlined"] } -"ui.gutter" = { bg = "base01" } -"info" = "base0D" -"hint" = "base03" -"debug" = "base03" -"warning" = "base09" -"error" = "base08" - -"ui.bufferline" = { fg = "base04", bg = "base01" } -"ui.bufferline.active" = { fg = "base07", bg = "base00" } - -[palette] -base00 = "#f8f8f8" # Default Background -base01 = "#e8e8e8" # Lighter Background (Used for status bars, line number and folding marks) -base02 = "#d8d8d8" # Selection Background -base03 = "#b8b8b8" # Comments, Invisibles, Line Highlighting -base04 = "#585858" # Dark Foreground (Used for status bars) -base05 = "#383838" # Default Foreground, Caret, Delimiters, Operators -base06 = "#282828" # Light Foreground (Not often used) -base07 = "#181818" # Light Background (Not often used) -base08 = "#ab4642" # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted -base09 = "#dc9656" # Integers, Boolean, Constants, XML Attributes, Markup Link Url -base0A = "#f7ca88" # Classes, Markup Bold, Search Text Background -base0B = "#a1b56c" # Strings, Inherited Class, Markup Code, Diff Inserted -base0C = "#86c1b9" # Support, Regular Expressions, Escape Characters, Markup Quotes -base0D = "#7cafc2" # Functions, Methods, Attribute IDs, Headings -base0E = "#ba8baf" # Keywords, Storage, Selector, Markup Italic, Diff Changed -base0F = "#a16946" # Deprecated, Opening/Closing Embedded Language Tags, e.g. -- cgit v1.3