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/base/ayu_dark_helix.toml | 92 +++++++++++++++ vendor/themes/base/hex_steel.toml | 127 +++++++++++++++++++++ vendor/themes/base/nord_helix.toml | 199 +++++++++++++++++++++++++++++++++ 3 files changed, 418 insertions(+) create mode 100644 vendor/themes/base/ayu_dark_helix.toml create mode 100644 vendor/themes/base/hex_steel.toml create mode 100644 vendor/themes/base/nord_helix.toml (limited to 'vendor/themes/base') diff --git a/vendor/themes/base/ayu_dark_helix.toml b/vendor/themes/base/ayu_dark_helix.toml new file mode 100644 index 00000000..a2fbc316 --- /dev/null +++ b/vendor/themes/base/ayu_dark_helix.toml @@ -0,0 +1,92 @@ +# Author: André Sá +# Based on the AYU theme colors from https://github.com/dempfi/ayu + +# Syntax highlighting +"type" = "blue" +"type.builtin" = "blue" +"constructor" = "green" +"constant" = "magenta" +"string" = "green" +"string.regexp" = "orange" +"string.special" = "yellow" +"comment" = { fg = "gray", modifiers = ["italic"] } +"variable" = "foreground" +"label" = "orange" +"punctuation" = "foreground" +"keyword" = "orange" +"keyword.control" = "yellow" +"keyword.directive" = "yellow" +"operator" = "orange" +"function" = "yellow" +"tag" = "blue" +"namespace" = "blue" +"markup.heading" = "orange" +"markup.list" = "yellow" +"markup.bold" = { fg = "orange", modifiers = ["bold"] } +"markup.italic" = { fg = "orange", modifiers = ["italic"] } +"markup.strikethrough" = { modifiers = ["crossed_out"] } +"markup.raw.block" = "orange" +"markup.link.url" = "blue" +"markup.link.text" = "yellow" +"markup.link.label" = "green" +"markup.quote" = "yellow" +"diff.plus" = "green" +"diff.minus" = "red" +"diff.delta" = "yellow" + +# Interface +"ui.background"= { bg = "background" } +"ui.cursor" = { fg = "dark_gray", bg = "yellow" } +"ui.cursor.primary" = { fg = "dark_gray", bg = "orange" } +"ui.cursor.match" = "orange" +"ui.linenr" = "dark_gray" +"ui.linenr.selected" = "gray" +"ui.statusline" = { fg = "foreground", bg = "black" } +"ui.statusline.normal" = { fg = "black", bg = "blue" } +"ui.statusline.insert" = { fg = "black", bg = "orange" } +"ui.statusline.select" = { fg = "black", bg = "magenta" } +"ui.cursorline" = { bg = "black" } +"ui.popup" = { fg = "#7B91b3", bg = "black" } +"ui.window" = "dark_gray" +"ui.help" = { fg = "#7B91b3", bg = "black" } +"ui.text" = "foreground" +"ui.text.focus" = { bg = "dark_gray", fg = "foreground" } +"ui.text.info" = "foreground" +"ui.virtual.whitespace" = "dark_gray" +"ui.virtual.ruler" = { bg = "black" } +"ui.virtual.inlay-hint" = { fg = "#e6b450", bg = "#302a20" } # original bg #e6b45033 +"ui.menu" = { fg = "foreground", bg = "black" } +"ui.menu.selected" = { bg = "gray", fg = "background" } +"ui.selection" = { bg = "dark_gray" } +"warning" = "yellow" +"error" = { fg = "red", modifiers = ["bold"] } +"info" = { fg = "blue", modifiers = ["bold"] } +"hint" = { fg = "blue", modifiers = ["bold"] } +"diagnostic.hint" = { underline = { color = "blue", style="curl"} } +"diagnostic.info"= { underline = { color = "blue", style="curl"} } +"diagnostic.warning"= { underline = { color = "yellow", style="curl"} } +"diagnostic.error"= { underline = { color = "red", style="curl"} } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } +"ui.bufferline" = { fg = "gray", bg = "background" } +"ui.bufferline.active" = { fg = "foreground", bg = "dark_gray" } +"ui.debug" = { fg = "orange", bg = "background" } +"ui.highlight.frameline" = { bg = "#0067a3" } +"ui.virtual.jump-label" = { fg = "red", modifiers = ["italic", "bold"] } + +"special" = "orange" + +[palette] +background = "#0f1419" +foreground = "#bfbdb6" + +black = "#131721" +blue = "#59c2ff" +dark_gray = "#2d3640" +cyan = "#73b8ff" +gray = "#5c6773" +green = "#aad94c" +magenta = "#d2a6ff" +orange = "#ff8f40" +red = "#f07178" +yellow = "#e6b450" diff --git a/vendor/themes/base/hex_steel.toml b/vendor/themes/base/hex_steel.toml new file mode 100644 index 00000000..4270d24a --- /dev/null +++ b/vendor/themes/base/hex_steel.toml @@ -0,0 +1,127 @@ +# Author : portalsurfer + +"comment" = { fg = "comment" } +"comment.block.documentation" = { bg = "comment_doc", modifiers = ["italic"] } +"comment.line.documentation" = { bg = "comment_doc", modifiers = ["italic"] } + +"constant" = { fg = "t11" } +"function" = { fg = "t10" } +"function.method" = { fg = "t7" } +"function.macro" = { fg = "t7" } +"keyword.storage.modifier" = { fg = "t7" } +"keyword.control.import" = { fg = "t8" } +"keyword.control" = { fg = "t8" } +"keyword.function" = { fg = "t11" } +"keyword" = { fg = "t6" } +"operator" = { fg = "t8" } +"punctuation" = { fg = "t9" } +"string" = { fg = "t6", modifiers = ["italic"] } +"string.regexp" = { fg = "t6" } +"tag" = { fg = "t4" } +"type" = { fg = "t8", modifiers = ["bold"] } +"namespace" = { fg = "t6", modifiers = ["bold"] } +"variable" = { fg = "t4" } +"variable.parameter" = { fg = "t6" } +"variable.other.member" = { fg = "t3" } +"label" = { fg = "t4" } + +"diff.plus" = { fg = "diff_plus" } +"diff.delta" = { fg = "diff_delta" } +"diff.delta.moved" = { fg = "diff_delta_moved" } +"diff.minus" = { fg = "diff_minus" } + +"ui.cursor.primary.insert" = { fg = "t2", bg = "highlight" } +"ui.cursor.primary.select" = { fg = "t2", bg = "highlight_two" } +"ui.cursor.primary" = { fg = "t1", bg = "highlight_three" } +"ui.cursor.match" = { fg = "highlight", bg = "t1", modifiers = ["bold"] } +"ui.cursorline.primary" = { bg = "ruler" } +"ui.cursorline.secondary" = { bg = "ruler" } + +"ui.linenr" = { fg = "t3", bg = "t2" } +"ui.linenr.selected" = { fg = "highlight_three", bg = "t2" } +"ui.gutter" = { bg = "t2" } + +"ui.background" = { fg = "t4", bg = "t2" } +"ui.background.separator" = { fg = "t3" } +"ui.help" = { fg = "t4", bg = "t1" } +"ui.menu" = { fg = "t4", bg = "t1" } +"ui.menu.selected" = { fg = "highlight_three", bg = "t1" } +"ui.popup" = { fg = "t4", bg = "t1" } +"ui.window" = { fg = "t4" } + +"ui.selection" = { fg = "selection_fg", bg = "selection" } + +"ui.statusline" = { fg = "t4", bg = "t1" } +"ui.statusline.inactive" = { fg = "t4", bg = "t1" } +"ui.statusline.normal" = { fg = "t3", bg = "t1" } +"ui.statusline.insert" = { fg = "t3", bg = "t1" } +"ui.statusline.select" = { fg = "highlight", bg = "t4" } + +"ui.text" = { fg = "t4" } +"ui.text.focus" = { fg = "highlight_three", modifiers = ["bold"] } + +"ui.virtual.ruler" = { bg = "ruler" } +"ui.virtual.indent-guide" = { fg = "t3" } +"ui.virtual.whitespace" = { fg = "t3" } +"ui.virtual.jump-label" = { fg = "t11", modifiers = ["bold"] } +"ui.virtual.inlay-hint" = { fg = "hints", modifiers = ["bold"] } + +"ui.bufferline" = { fg = "t3", bg = "t1" } +"ui.bufferline.active" = { fg = "t7", bg = "t2" } + +"diagnostic.error" = { underline = { color = "error", style = "curl" } } +"diagnostic.warning" = { underline = { color = "warning", style = "curl" } } +"diagnostic.info" = { underline = { color = "info", style = "curl" } } +"diagnostic.hint" = { underline = { color = "display", style = "curl" } } + +"error" = { fg = "error", modifiers = ["bold"] } +"warning" = { fg = "warning", modifiers = ["bold"] } +"info" = { fg = "info", modifiers = ["bold"] } +"hint" = { fg = "display", modifiers = ["bold"] } +"special" = { fg = "t7", modifiers = ["bold"] } + +"markup.heading" = { fg = "t7" } +"markup.list" = { fg = "t7" } +"markup.bold" = { fg = "t4" } +"markup.italic" = { fg = "t4" } +"markup.strikethrough" = { fg = "t4", modifiers = ["crossed_out"] } +"markup.link.url" = { fg = "t11", modifiers = ["underlined"] } +"markup.link.text" = { fg = "t11" } +"markup.quote" = { fg = "t5" } +"markup.raw" = { fg = "t4" } + +[palette] +t1 = "#0e0e0d" +t2 = "#1d1e1b" +t3 = "#5b5555" +t4 = "#656869" +t5 = "#727b7c" +t6 = "#6e8789" +t7 = "#d85c60" +t8 = "#9bc1bb" +t9 = "#b5c5c5" +t10 = "#c3c3bd" +t11 = "#f78c5e" + +highlight = "#f23672" +highlight_two = "#f69c3c" +highlight_three = "#d4d987" + +selection = "#4a9aa6" +selection_fg = "#080a0b" + +black = "#000000" +comment = "#654642" +comment_doc = "#234048" +hints = "#31353c" +ruler = "#222320" + +error = "#ff4000" +warning = "#ffbf00" +display = "#42baff" +info = "#dad7d5" + +diff_minus = "#ff4000" +diff_delta = "#0078bd" +diff_plus = "#c9d400" +diff_delta_moved = "#0048bd" diff --git a/vendor/themes/base/nord_helix.toml b/vendor/themes/base/nord_helix.toml new file mode 100644 index 00000000..db7b6190 --- /dev/null +++ b/vendor/themes/base/nord_helix.toml @@ -0,0 +1,199 @@ +# Nord (Dark Ambiance) port for Helix (https://helix-editor.com/) +# https://docs.helix-editor.com/themes.html +# https://www.nordtheme.com/docs/colors-and-palettes + +## SYNTAX HIGHLIGHTING + +# Constants +"constant" = "nord4" +"constant.builtin" = "nord9" +"constant.builtin.boolean" = "nord9" +"constant.builtin.character" = "nord15" +"constant.character.escape" = "nord13" +"constant.macro" = "nord9" +"constant.numeric" = "nord15" +"constructor" = "nord8" + +# Diagnostics +"diagnostic" = { underline = { color = "nord13", style = "curl" } } +"diagnostic.error" = { underline = { color = "nord11", style = "curl" } } +"error" = "nord11" +"diagnostic.hint" = { underline = { color = "nord10", style = "curl" } } +"hint" = "nord10" +"diagnostic.info" = { underline = { color = "nord8", style = "curl" } } +"info" = "nord8" +"diagnostic.warning" = { underline = { color = "nord13", style = "curl" } } +"warning" = "nord13" +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } + +# Diffs +"diff.delta" = "nord13" +"diff.minus" = "nord11" +"diff.plus" = "nord14" + +# Functions +"function" = "nord8" +"function.builtin" = "nord7" +"function.method" = "nord8" +"function.macro" = "nord9" +"function.special" = "nord9" + +# Git +"git.delta.moved" = "nord12" + +# Keywords +"keyword" = "nord9" +"keyword.control.conditional" = "nord9" +"keyword.control.exception" = "nord9" +"keyword.control.repeat" = "nord9" +"keyword.directive" = "nord9" +"keyword.function" = "nord9" +"keyword.operator" = "nord9" +"keyword.return" = "nord9" +"keyword.storage.modifier" = "nord9" +"keyword.storage.type" = "nord9" + +# Punctuation +"punctuation" = "nord6" +"punctuation.bracket" = "nord6" +"punctuation.delimiter" = "nord6" +"punctuation.special" = "nord9" + +# Strings +"string" = "nord14" +"string.escape" = "nord13" +"string.regex" = "nord13" +"string.special" = "nord13" + +# Types +"type" = "nord7" +"type.builtin" = "nord7" + +# Variables +"variable" = "nord4" +"variable.builtin" = "nord9" +"variable.other.member" = "nord4" +"variable.parameter" = "nord8" +"attribute" = "nord9" + +# Misc. +"label" = "nord7" +"namespace" = "nord4" +"operator" = "nord9" +"special" = "nord9" +"tag" = "nord7" +"comment" = { fg = "nord3_bright", modifiers = ["italic"] } + +## EDITOR UI COLORS + +"ui.background" = { bg = "nord0" } +"ui.text" = "nord4" +"ui.window" = "nord1" + +# Debug +"ui.debug.active" = "nord13" +"ui.debug.breakpoint" = "nord11" + +# Popus and menus +"ui.menu" = { bg = "nord1" } +"ui.menu.scroll" = { fg = "nord4", bg = "nord3" } +"ui.menu.selected" = { fg = "nord8", bg = "nord2" } +"ui.popup" = { bg = "nord1" } +"ui.popup.info" = { bg = "nord1" } +"ui.help" = { bg = "nord1" } +"ui.text.focus" = { fg = "nord8", bg = "nord2" } + +# Gutter +"ui.gutter" = "nord5" +"ui.linenr" = "nord3" +"ui.linenr.selected" = "nord5" + +# Cursor +"ui.cursor" = { fg = "nord4", modifiers = ["reversed"] } +"ui.cursorcolumn.primary" = { bg = "nord1" } +"ui.cursorline.primary" = { bg = "nord1" } +"ui.cursor.match" = { bg = "nord3" } + +"ui.selection" = { bg = "nord3" } +"ui.highlight" = { fg = "nord8", bg = "nord2" } + +# Statusline +"ui.statusline" = { bg = "nord1" } +"ui.statusline.inactive" = { fg = "nord8", bg = "nord1" } +"ui.statusline.insert" = { fg = "nord1", bg = "nord6" } +"ui.statusline.normal" = { fg = "nord1", bg = "nord8" } +"ui.statusline.select" = { fg = "nord1", bg = "nord7" } +"ui.statusline.separator" = "nord3" + +# Virtual/invisible text +"ui.virtual.indent-guide" = "nord3" +"ui.virtual.inlay-hint" = { fg = "nord3", modifiers = ["italic"] } +"ui.virtual.jump-label" = { fg = "nord11", modifiers = ["bold"] } +"ui.virtual.ruler" = { bg = "nord1" } +"ui.virtual.whitespace" = "nord3" +"ui.virtual.wrap" = "nord3" + +# Bufferline +"ui.bufferline" = { fg = "nord5", bg = "nord1" } +"ui.bufferline.active" = { fg = "nord6", bg = "nord2", underline = { color = "nord8", style = "line" }, modifiers = [ + "italic", +] } + +# Markup +"markup.heading" = "nord8" +"markup.list" = "nord9" +"markup.bold" = { modifiers = ["bold"] } +"markup.italic" = { modifiers = ["italic"] } +"markup.strikethrough" = { modifiers = ["crossed_out"] } +"markup.link.text" = "nord8" +"markup.raw" = "nord7" + +# Rainbow brackets +rainbow = ["nord13", "nord15", "nord14", "nord12"] + +[palette] +# Polar Night is made up of four darker colors that are commonly used for base elements like backgrounds or text color in bright ambiance designs. +# +# The origin color or the Polar Night palette +nord0 = "#2e3440" +# A brighter shade color based on nord0 +nord1 = "#3B4252" +# An even more brighter shade color of nord0 +nord2 = "#434C5E" +# The brightest shade color based on nord0 +nord3 = "#4C566A" +# 10% brighter for comments, see https://github.com/nordtheme/nord/issues/94 +nord3_bright = "#616e88" + +# Snow Storm is made up of three bright colors that are commonly used for text colors or base UI elements in bright ambiance designs. +# The origin color or the Snow Storm palette +nord4 = "#D8DEE9" +# A brighter shade color of nord4 +nord5 = "#E5E9F0" +# The brightest shade color based on nord4 +nord6 = "#ECEFF4" + +# Frost can be described as the heart palette of Nord, a group of four bluish colors that are commonly used for primary UI component and text highlighting and essential code syntax elements. +# +# A calm and highly contrasted color reminiscent of frozen polar water +nord7 = "#8FBCBB" +# The bright and shiny primary accent color reminiscent of pure and clear ice +nord8 = "#88C0D0" +# A more darkened and less saturated color reminiscent of arctic waters +nord9 = "#81A1C1" +# A dark and intensive color reminiscent of the deep arctic ocean +nord10 = "#5E81AC" + +# Aurora consists of five colorful components reminiscent of the "Aurora borealis", sometimes referred to as polar lights or northern lights. +# +# Red +nord11 = "#BF616A" +# Orange +nord12 = "#D08770" +# Yellow +nord13 = "#EBCB8B" +# Green +nord14 = "#A3BE8C" +# Purple +nord15 = "#B48EAD" -- cgit v1.3