mirror of
https://github.com/danth/stylix
synced 2024-11-25 05:30:24 +00:00
doc: specify correct color attribute path (#491)
Colors are accessible under config.lib.stylix.colors, not lib.stylix.colors. Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
b9de20c76e
commit
feb2973dfa
2 changed files with 3 additions and 3 deletions
|
@ -89,11 +89,11 @@ only the user override is used.
|
|||
|
||||
When passing colors to unsupported targets or creating custom modules, it
|
||||
is possible to access values from the configured color scheme through
|
||||
`lib.stylix.colors`.
|
||||
`config.lib.stylix.colors`.
|
||||
An overview of the available values is shown below.
|
||||
|
||||
```nix
|
||||
lib.stylix.colors = {
|
||||
config.lib.stylix.colors = {
|
||||
base08 = "ff0000";
|
||||
base08-hex-r = "ff";
|
||||
base08-dec-r = "0.996094";
|
||||
|
|
|
@ -119,7 +119,7 @@ in {
|
|||
override = lib.mkOption {
|
||||
description = ''
|
||||
An override that will be applied to stylix.base16Scheme when generating
|
||||
lib.stylix.colors.
|
||||
config.lib.stylix.colors.
|
||||
|
||||
Takes anything that a scheme generated by base16nix can take as argument
|
||||
to override.
|
||||
|
|
Loading…
Reference in a new issue