No description
Find a file
Matt Sturgeon 58b1de7ebf
stylix: refactor base16Scheme and lib.stylix.colors assertion (#1446)
Instead of having a nullable `base16Scheme` option, the default will
throw when `stylix.image` is null. Not only does this better represent
the "required" nature of this option, it also ensures the assertion is
evaluated early enough to actually be checked.

This causes the assertion to evaluate when the default definition is
read, instead of later when the `assertions` option is checked.

Link: https://github.com/nix-community/stylix/pull/1446

Tested-by: https://github.com/NovaViper
Approved-by: https://github.com/NovaViper
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-13 00:00:37 +02:00
.github ci: don't check repository_owner (#1436) 2025-06-06 00:20:19 +01:00
doc neovim: combine Neovim, Neovide, NixVim, nvf, and Vim (#1377) 2025-06-12 17:28:51 +02:00
flake deadnix: ignore bindings starting with _ 2025-06-11 20:12:27 -04:00
modules swaylock: use mkTarget (#1481) 2025-06-12 21:14:25 +02:00
palette-generator treewide: use lib.getExe (#1241) 2025-05-10 12:07:43 +01:00
stylix stylix: refactor base16Scheme and lib.stylix.colors assertion (#1446) 2025-06-13 00:00:37 +02:00
.editorconfig stylix: add editorconfig (#945) 2025-03-07 20:55:29 +01:00
.envrc treewide: leverage direnv to automatically enter developer shell 2025-01-04 17:45:52 +01:00
.gitignore stylix: gitignore .worktree (#1268) 2025-05-14 17:29:07 -07:00
.yamllint.yml stylix: yamlint ignore truthy for workflows (#1116) 2025-05-31 11:44:33 -07:00
default.nix stylix: update and simplify flake-compat instructions (#816) 2025-02-03 20:40:26 +01:00
flake.lock flake: update all inputs 2025-06-01 11:36:44 -07:00
flake.nix flake: update and unlock tinted-kitty input (#1308) 2025-05-19 18:53:21 +02:00
gnome.png doc: refresh screenshots (#382) 2024-05-22 16:54:19 +01:00
kde.png doc: refresh screenshots (#382) 2024-05-22 16:54:19 +01:00
LICENSE doc: update copyright year (#715) 2025-01-04 14:33:14 +00:00
README.md stylix: reduce testbed names 2025-05-24 08:53:58 -04:00

Stylix

About

Stylix is a theming framework for NixOS, Home Manager, nix-darwin, and Nix-on-Droid that applies color schemes, wallpapers, and fonts to a wide range of applications.

Unlike color scheme utilities such as base16.nix or nix-colors, Stylix goes further by applying themes to supported applications, following the "it just works" philosophy.

Resources

Example configurations

GNOME 46

GNOME 46

Wallpapers by Clay Banks and Derrick Cooper.

Try a live demo of this dark theme by running:

nix run github:nix-community/stylix#testbed:gnome:dark

KDE Plasma 5

KDE Plasma 5

Wallpapers by Aniket Deole and Tom Gainor.

Since KDE theming is still a work in progress, some manual steps may be required to properly apply its theme.