summaryrefslogtreecommitdiff
path: root/docs/typ/themes.typ
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 12:41:34 -0300
committerGabriel Schneider <[email protected]>2026-10-01 12:41:34 -0300
commit3c1668e02395d41bb83a4df3d85bf47a7bbdbef4 (patch)
tree93c25d9365a0800703f5f9ec2d81fe6acec59b3a /docs/typ/themes.typ
parent9a7830c62d25d83754bd58d0e705501f71656c69 (diff)
downloadpardes-3c1668e02395d41bb83a4df3d85bf47a7bbdbef4.tar.gz
pardes-3c1668e02395d41bb83a4df3d85bf47a7bbdbef4.zip
The landing leads with live text and plays terminal casts first; the Themes page gets a gallery; install starts at the clone
The landing's own words sit in one `landing` record in site.typ: a lead on the core idea (any text is live: right-click looks, middle-click runs), where it runs, and a status line whose version is read from build.zig.zon. Recordings come in two shelves: "In a terminal", asciicast players from docs/site/casts/casts.toml (the first autoplays; all loop and fit the width; data inline, so they play from file://), then "In its own window", the GUI clips. asciinema-player 3.17.0 is vendored in docs/site/player with its Apache-2.0 licence, from `npm pack`. The Themes page shows #theme-gallery() from media/themes/themes.toml, a thumbnail per theme opening the full picture; on paper it is nothing. Both shelves and the gallery show placeholders until their files exist. `project` in style.typ lists the mirrors (sourcehut, git.0x4200.cafe); install.typ clones from the first and names them all, and the footer links each. The README clones before it builds. The scripting interface is a virtual filesystem served over 9P, never just a filesystem, in the tagline, captions and README. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/typ/themes.typ')
-rw-r--r--docs/typ/themes.typ4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/typ/themes.typ b/docs/typ/themes.typ
index dc81bfdf..a85abb23 100644
--- a/docs/typ/themes.typ
+++ b/docs/typ/themes.typ
@@ -1,6 +1,6 @@
// Themes: choosing one, the native palettes and the faithful ports, and
// the roles a theme file sets.
-#import "style.typ": key, keys, btn, chord, word, tag, addr, file, cmd, doc, pairs
+#import "style.typ": key, keys, btn, chord, word, tag, addr, file, cmd, doc, pairs, theme-gallery
#word("Themes") (#key("SPC t t")) lists every theme as a word to click;
`Theme <name>` sets one anywhere, and the same line in the startup file
@@ -11,6 +11,8 @@ default. `lapis` draws its ornament in the GUI; `lapis_plain` is the same
theme on flat grounds, keeping its framed and shadowed tags and its
file-name shadow.
+#theme-gallery()
+
= The native themes
#pairs(