mini/hues: more descriptive color options

This commit is contained in:
LilleAila 2025-01-19 10:19:34 +01:00
parent ae81ab2c5f
commit e331f009d5
No known key found for this signature in database
GPG key ID: D1ACCDCF2B9B9799

View file

@ -12,21 +12,13 @@ in {
enable = mkEnableOption "mini.hues";
setupOpts = mkPluginSetupOption "mini.hues" {
background = mkOption {
description = "The background color to use";
description = "The hex color for the background color of the color scheme, prefixed with #";
type = hexColor;
apply = v:
if hasPrefix "#" v
then v
else "#${v}";
};
foreground = mkOption {
description = "The foreground color to use";
description = "The hex color for the foreground color of the color scheme, prefixed with #";
type = hexColor;
apply = v:
if hasPrefix "#" v
then v
else "#${v}";
};
};
};