No description
Find a file
Carl Richard Theodor Schneider c354350b9a
Fix accentDifference criterion for palette generation (#123)
The previous code to calculate the accentDifference for the fitness
considered cases where a=b, so the minimal difference was always 0.

The new code explicitly excludes the index, so a != b (except both
entries were sampled to the same color, but that is what we want to
punish here).
2023-07-07 13:55:10 +01:00
.github/workflows Fix Actions workflow on MacOS 👷 ⬆️ 2023-06-27 15:31:49 +01:00
docs Create style guide (#90) 2023-06-13 19:45:23 +00:00
modules Added WezTerm Support (#119) 2023-07-07 12:20:22 +01:00
palette-generator Fix accentDifference criterion for palette generation (#123) 2023-07-07 13:55:10 +01:00
stylix Fix palette generation when system does not use stylix (#106) 2023-06-06 09:41:31 +00:00
default.nix Add default.nix 2023-02-24 07:03:28 +01:00
flake.lock Convert documentation to mdBook 📝 🔨 2023-03-29 00:54:14 +01:00
flake.nix Fix breaking typo in flake for darwin module (#78) 2023-04-01 11:53:33 +01:00
LICENSE Add MIT license 2020-12-21 13:58:20 +00:00
README.md Fix screenshots not loading on GitHub Pages 📝 2023-05-03 08:57:09 +01:00

Stylix

Stylix is a NixOS module which applies the same colour scheme, font and wallpaper to a range of applications and desktop environments.

What's this?

base16.nix allows you to import colours from base16 into Nix code. Stylix takes this a step further:

  • Automatically colours and changes the font of apps
  • Sets your wallpaper
  • Exports the colour scheme to be used manually for anything we missed
  • Can also generate themes based on an image

For those not familiar with NixOS and Home Manager:

  • NixOS is a Linux distribution
  • Home Manager is a program which runs anywhere
  • Both use the Nix language and package manager
  • Both let you install programs and change settings via code

Stylix supports either NixOS + Home Manager, or Home Manager on its own. Certain features are only available with NixOS.

Resources

Please refer to the Stylix book for instructions and a list of supported apps.

If you have any questions, you are welcome to join our Matrix room, or ask on GitHub Discussions.

Example configurations

GNOME 44

Environment Wallpaper Colour scheme Fonts Full configuration
GNOME 44 Atlantis Garbage Worker by Grady Frederick Generated by Stylix Cantarell, Fira Code See here

Hyprland Hyprland Hyprland

Environment Wallpaper Colour scheme Fonts Full configuration
Hyprland Taken from raison d'etre by Eve Generated by Stylix DeJavu See here