{ config, ... }: let c = config.colorScheme.palette; rgb = hex: "rgb:${hex}"; in { xdg.configFile."kak/colors/nix-colorscheme.kak".text = '' ## base16.kak — driven by nix-colors palette (${config.colorScheme.name}) ## code face global value ${rgb c.base09}+b face global type ${rgb c.base0A} face global variable ${rgb c.base08} face global module ${rgb c.base0B} face global function ${rgb c.base0D} face global string ${rgb c.base0B} face global keyword ${rgb c.base0E}+b face global operator ${rgb c.base0C} face global attribute ${rgb c.base09} face global comment ${rgb c.base03} face global documentation comment face global meta ${rgb c.base0A} face global builtin default+b ## markup face global title ${rgb c.base0D} face global header ${rgb c.base0D} face global mono ${rgb c.base0B} face global block ${rgb c.base09} face global link ${rgb c.base0D} face global bullet ${rgb c.base0F} face global list ${rgb c.base08} ## builtin face global Default ${rgb c.base05},${rgb c.base00} face global PrimarySelection ${rgb c.base00},${rgb c.base0D}+fg face global SecondarySelection ${rgb c.base00},${rgb c.base03}+fg face global PrimaryCursor ${rgb c.base00},${rgb c.base05}+fg face global SecondaryCursor ${rgb c.base00},${rgb c.base05}+fg face global PrimaryCursorEol ${rgb c.base00},${rgb c.base0C}+fg face global SecondaryCursorEol ${rgb c.base00},${rgb c.base0C}+fg face global LineNumbers ${rgb c.base03},${rgb c.base00} face global LineNumberCursor ${rgb c.base05},${rgb c.base01}+b face global MenuForeground ${rgb c.base00},${rgb c.base0D} face global MenuBackground ${rgb c.base05},${rgb c.base01} face global MenuInfo ${rgb c.base0C} face global Information ${rgb c.base00},${rgb c.base0C} face global Error ${rgb c.base00},${rgb c.base08} face global DiagnosticError ${rgb c.base08} face global DiagnosticWarning ${rgb c.base0A} face global StatusLine ${rgb c.base05},${rgb c.base01} face global StatusLineMode ${rgb c.base09} face global StatusLineInfo ${rgb c.base0C} face global StatusLineValue ${rgb c.base0B} face global StatusCursor ${rgb c.base01},${rgb c.base0C} face global Prompt ${rgb c.base00},${rgb c.base0C} face global MatchingChar ${rgb c.base0C},${rgb c.base01}+b face global BufferPadding ${rgb c.base03},${rgb c.base00} face global Whitespace ${rgb c.base03}+f ''; }