Improve option description for stylix.palette 💡
This commit is contained in:
parent
2c8ac84830
commit
324b951687
1 changed files with 7 additions and 1 deletions
|
|
@ -42,8 +42,14 @@ in {
|
|||
description = ''
|
||||
Hexadecimal color value for ${base}.
|
||||
|
||||
You can use this option to override single colors.
|
||||
See <literal>stylix.base16Scheme</literal> 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
|
||||
<literal>lib.stylix.colors</literal> instead.
|
||||
If <literal>stylix.base16Scheme</literal> is set to an external file,
|
||||
those colors won't appear here.
|
||||
'';
|
||||
type = types.strMatching "[0-9a-fA-F]{6}";
|
||||
default = generatedPalette.${base};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue