summaryrefslogtreecommitdiff
path: root/tools/gen_themes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 22:03:14 -0300
committerGabriel Schneider <[email protected]>2026-11-18 22:23:51 -0300
commit99f5b10eccd95aa0066ea6fe6bb75f367ab56a47 (patch)
tree813596ea84318a7bae4fd7416ba463de8e3b7107 /tools/gen_themes.zig
parent92d553123673376adf6126ab90d49a22c5b833d2 (diff)
downloadpardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.tar.gz
pardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.zip
core: src/ becomes core/, pardes.zig its root.zig (the reorganisation's tree, step 2d), and every mention of a src/ path follows: the build's paths, the core's imports of its root, the tests that read the repository's files by path (lspbench's, look.zig's spans over core/look.zig), the comments that cite files, the documents and the manual (the typst corpus reads core/tutor.txt and core/plumbing); left as they were: the /src tree's served names (src/pardes.zig and the rest are the 9P tree's, not the repository's), the CHANGELOG's history, fixtures that are only strings; fs-unit-test runs from the core's root (a module of the core rooted at fs.zig had the runtime's and the devices' `core` be fs.zig); nothing else changes: the ledger (pardes.test.* now root.test.*), frames byte-identical, replicas and process-test the base's
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'tools/gen_themes.zig')
-rw-r--r--tools/gen_themes.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/gen_themes.zig b/tools/gen_themes.zig
index 3293349d..4f3946ad 100644
--- a/tools/gen_themes.zig
+++ b/tools/gen_themes.zig
@@ -1,6 +1,6 @@
//! Build-time generator: a vendored helix or zed theme in, one `.zig` file per
//! theme out. build.zig runs it before anything compiles and hands the output
-//! directory to src/pardes.zig as the `generated_themes` module, so a theme is
+//! directory to core/root.zig as the `generated_themes` module, so a theme is
//! an ordinary source file by the time the compiler sees it.
//!
//! ADDING A THEME IS DROPPING A FILE INTO `vendor/themes/`: a helix `.toml` or
@@ -14,7 +14,7 @@
//! both projects ship — helix's runtime themes and zed's three families —
//! because "which ones are worth having" is not a question a build tool gets
//! to answer on the user's behalf. The one exception is helix's copy of a
-//! theme pardes ports by hand (src/themes/: dracula, nord, ...): not vendored.
+//! theme pardes ports by hand (core/themes/: dracula, nord, ...): not vendored.
//!
//! NAMES. A helix theme is its file stem; a zed variant is its `name` slugged
//! with `_zed` on the end. Both projects ship gruvbox, ayu and one, so the
@@ -26,7 +26,7 @@
//! `ayu_dark` and `nord` as `<name>_helix.toml`, kept (unlike helix's other
//! copies of themes ported here) because helix themes inherit them; those
//! `inherits` lines name the renamed file. Two themes answering to
-//! one name is a bug (`Theme <name>` would silently pick one), so src/colors.zig
+//! one name is a bug (`Theme <name>` would silently pick one), so core/colors.zig
//! asserts the ring's names are distinct at comptime.
//!
//! Provenance: vendor/themes/*.toml are helix's own runtime themes (from
@@ -54,7 +54,7 @@ const Rgb = [3]u8;
/// pardes's Theme, minus the type: the generated file spells an anonymous
/// `.{...}` because a theme file deliberately imports NOTHING (it is data, not
-/// code) — src/colors.zig's `fold` is what turns it into a real Theme.
+/// code) — core/colors.zig's `fold` is what turns it into a real Theme.
const Theme = struct {
name: []const u8,
bg: ?Rgb,