Add instructions for fetching pre-made schemes 📝

Closes #19
This commit is contained in:
Daniel Thwaites 2023-01-11 23:47:29 +00:00 committed by GitHub
parent 907e723a3b
commit 16d6d932a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,8 +99,20 @@ The `baseXX` names correspond to
### Manual color schemes
Alternatively, you can use a pre-made colorscheme from
[the base16 repository](https://github.com/tinted-theming/base16-schemes).
Alternatively, you can choose a pre-made colorscheme from
[the Tinted Theming repository](https://github.com/tinted-theming/base16-schemes).
Either add the repository to your Flake inputs, or fetch it as follows:
```nix
let base16-schemes = pkgs.fetchFromGitHub {
owner = "tinted-theming";
repo = "base16-schemes";
rev = "...";
sha256 = "...";
};
```
Then you can choose which file you would like to use:
```nix
stylix.base16Scheme = "${base16-schemes}/gruvbox-dark-hard.yaml";