From 324b95168720c7ff9bf3f3be5ed3276b0a41269f Mon Sep 17 00:00:00 2001 From: Daniel Thwaites Date: Fri, 22 Jul 2022 23:08:50 +0100 Subject: [PATCH] Improve option description for `stylix.palette` :bulb: --- stylix/palette.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/stylix/palette.nix b/stylix/palette.nix index a04964a3..b72f9d4e 100644 --- a/stylix/palette.nix +++ b/stylix/palette.nix @@ -42,8 +42,14 @@ in { description = '' Hexadecimal color value for ${base}. + You can use this option to override single colors. See stylix.base16Scheme if you want to import a - base16 scheme from a file. + whole base16 scheme from a file. + + You should not read from this option to access the chosen colors - use + lib.stylix.colors instead. + If stylix.base16Scheme is set to an external file, + those colors won't appear here. ''; type = types.strMatching "[0-9a-fA-F]{6}"; default = generatedPalette.${base};