Skip to main content

Module nix

Module nix 

Source
Expand description

Nix renderer — emits an importable Nix expression for the Nord palette in the shape every pleme-io HM wrapper historically carried locally ({ polar = { night0 = "…"; … }; snow = …; frost = …; aurora = …; }).

Closes the M5 no-foreign-nord-source invariant for the blackmatter-ghostty / blackmatter-mado / blackmatter-opencode wrappers: each currently import ./module/themes/nord/colors.nix their own copy of the palette. After M6.1 they import the ishou.packages.${system}.nord-palette-nix build artifact instead, the local files are deleted, and the fleet has one Nord.

Output is byte-stable: a future operator who runs nix run github:pleme-io/ishou#nix always gets the same bytes for the same TokenSet. The shape is intentionally compatible with the retiring colors.nix files so the migration is a one-line import-path swap.

Functions§

render
Render the canonical pleme-io Nord palette as an importable Nix attrset. Hex values are uppercase with # prefix — matches the shape every retiring module/themes/nord/colors.nix carried.