mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-01-23 02:12:24 +00:00
mini/hues: more descriptive color options
This commit is contained in:
parent
ae81ab2c5f
commit
e331f009d5
1 changed files with 2 additions and 10 deletions
|
@ -12,21 +12,13 @@ in {
|
||||||
enable = mkEnableOption "mini.hues";
|
enable = mkEnableOption "mini.hues";
|
||||||
setupOpts = mkPluginSetupOption "mini.hues" {
|
setupOpts = mkPluginSetupOption "mini.hues" {
|
||||||
background = mkOption {
|
background = mkOption {
|
||||||
description = "The background color to use";
|
description = "The hex color for the background color of the color scheme, prefixed with #";
|
||||||
type = hexColor;
|
type = hexColor;
|
||||||
apply = v:
|
|
||||||
if hasPrefix "#" v
|
|
||||||
then v
|
|
||||||
else "#${v}";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
foreground = mkOption {
|
foreground = mkOption {
|
||||||
description = "The foreground color to use";
|
description = "The hex color for the foreground color of the color scheme, prefixed with #";
|
||||||
type = hexColor;
|
type = hexColor;
|
||||||
apply = v:
|
|
||||||
if hasPrefix "#" v
|
|
||||||
then v
|
|
||||||
else "#${v}";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue