summaryrefslogtreecommitdiff
path: root/tools/gen_themes.zig
diff options
context:
space:
mode:
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,