MyNixOS website logo

An attribute set of vivid themes. Each value can either be a path to a theme file or an attribute set defining the theme directly (which will be converted from Nix to YAML).

Declarations
Type
attribute set of (absolute path or YAML 1.1 value)
Default
{ }
Example
{
  ayu = builtins.fetchurl {
    url = "https://raw.githubusercontent.com/NearlyTRex/Vivid/refs/heads/master/themes/ayu.yml";
    hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
  };

  mocha = builtins.fetchurl {
    url = "https://raw.githubusercontent.com/NearlyTRex/Vivid/refs/heads/master/themes/catppuccin-mocha.yml";
    hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
  };

  my-custom-theme = {
    colors = {
      blue = "0000ff";
    };
    core = {
      directory = {
        foreground = "blue";
        font-style = "bold";
      };
    };
  };
}