nixos-config/home/themes/color.nix

10 lines
219 B
Nix
Raw Permalink Normal View History

2021-04-21 04:05:19 +02:00
{ lib }:
let
mkColorOption = with lib; {default ? "#000000", description ? "" }: mkOption {
inherit description default;
example = "#abcdef";
type = types.strMatching "#[0-9a-f]{6}";
};
in
mkColorOption