1
Fork 0
mirror of https://github.com/RGBCube/ThemeNix synced 2025-07-28 08:57:46 +00:00

Add readme custom example

This commit is contained in:
RGBCube 2023-11-27 15:52:38 +03:00
parent 8af3fc6e28
commit 7fde754179
No known key found for this signature in database

View file

@ -10,6 +10,19 @@ You don't need to pin anything since it doesn't depend on anything.
Then you can use any theme you'd like by selecting an attribute, like `themes.gruvbox-dark-hard`. Then you can use any theme you'd like by selecting an attribute, like `themes.gruvbox-dark-hard`.
Then you can select a color by using base16 attributes, like `themes.gruvbox-dark-hard.base0A`, `base00`, `base06` etc. Then you can select a color by using base16 attributes, like `themes.gruvbox-dark-hard.base0A`, `base00`, `base06` etc.
Or you can make your own theme:
```nix
let
myTheme = themes.custom {
name = "My Awesome Theme";
author = "RGBCube";
base00 = "000000";
# ...
};
in {}
```
<details> <details>
<summary>All themes</summary> <summary>All themes</summary>