diff --git a/docs/src/configuration.md b/docs/src/configuration.md index e49ac5de..9f51a1ca 100644 --- a/docs/src/configuration.md +++ b/docs/src/configuration.md @@ -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"; diff --git a/stylix/palette.nix b/stylix/palette.nix index 6522ef6e..c8676cc6 100644 --- a/stylix/palette.nix +++ b/stylix/palette.nix @@ -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.