Skip to main content

Module stylix

Module stylix 

Source
Expand description

Stylix base16 renderer — emits the YAML format nix-community/stylix consumes for stylix.base16Scheme.

Closes the foreign-app theme loop: every GTK / GNOME / alacritty / kitty / btop / k9s consumer stylix supports inherits the ishou palette. After the fleet’s darwin-developer profile swaps pkgs.base16-schemes/nord.yaml for this renderer’s output, there is exactly one Nord in the pleme-io source tree.

Output format (per base16 spec — https://github.com/chriskempson/base16):

scheme: "Nord (pleme-io / ishou)"
author: "Arctic Ice Studio; mapped by pleme-io ishou"
base00: "2e3440"
base01: "3b4252"
…
base0F: "5e81ac"

Hex values are lowercase, unprefixed — stylix doesn’t strip a leading #, so emitting one breaks the GTK theme generation.

§base16 → ishou Nord mapping

The standard base16 contract is role-named slots; we map them onto Nord’s palette in the conventional Nord base16 way (matches what nix-community/base16-schemes/nord.yaml ships, which is the file this renderer displaces).

slotishou colourhexrole
base00polar_night_02e3440default background
base01polar_night_13b4252status bars, line numbers
base02polar_night_2434c5eselection background
base03polar_night_34c566acomments, line highlight
base04snow_storm_0d8dee9dark foreground
base05snow_storm_1e5e9f0default foreground
base06snow_storm_2eceff4light foreground
base07frost_08fbcbblight background
base08aurora_redbf616avariables, markup deleted
base09aurora_oranged08770integers, markup link url
base0Aaurora_yellowebcb8bclasses, markup bold
base0Baurora_greena3be8cstrings, markup inserted
base0Cfrost_188c0d0regexes, escape chars
base0Dfrost_281a1c1functions, headings
base0Eaurora_purpleb48eadkeywords, markup italic
base0Ffrost_35e81acdeprecated, embedded

Functions§

render
Render the canonical pleme-io base16 YAML stylix consumes.