yukey

themes/default: the header becomes defaultTheme's doc

commit 1f1e6068b2665cdf44d4e94a1da19e2641a841d4 · parent 75428b734b · browse this tree
Ximianth, 2026-10-18 10:50:06 UTC

The module is one value; its header was that value's contract and now
lives on it as a /** */ block.  The header keeps a one-line purpose.
Wording is unchanged; lines break at clauses.
diff --git a/packages/yukey/src/themes/default.ts b/packages/yukey/src/themes/default.ts
index c088354..5fe6392 100644
--- a/packages/yukey/src/themes/default.ts
+++ b/packages/yukey/src/themes/default.ts
@@ -1,15 +1,18 @@
-// The kit's default theme: dark, teal-accented, SCADA-console.  installTokens() with
-// no argument installs this one.
-//
-// Values only; the names and their roles are the vocabulary in ../tokens.ts.  A theme
-// supplies every name (the Theme type enforces it) and nothing else.  To restyle the
-// kit, copy this file, change values, and pass yours to installTokens.
-//
-// These values are a first palette, not an enshrinement: iterate them freely.  The
-// `tokens` gallery entry shows whatever theme is installed.
+// The kit's default theme.
 
 import type { Theme } from "../tokens.js";
 
+/**
+ * defaultTheme is the kit's default theme: dark, teal-accented, SCADA-console.
+ * installTokens() with no argument installs this one.
+ *
+ * Values only; the names and their roles are the vocabulary in tokens.ts.
+ * A theme supplies every name (the Theme type enforces it) and nothing else.
+ * To restyle the kit, copy this file, change values, and pass yours to installTokens.
+ *
+ * These values are a first palette, not an enshrinement: iterate them freely.
+ * The `tokens` gallery entry shows whatever theme is installed.
+ */
 export const defaultTheme: Theme = {
 	"--yk-bg-void": "#05080f",
 	"--yk-bg-panel-solid": "#0a1220",