No description
Find a file
Daniel Thwaites d73d8f6a48
treewide: use mkEnableTargetWith for dynamic autoEnable conditions (#1244)
Use the new `mkEnableTargetWith` function for dynamic `autoEnable`
conditions to prevent the evaluation of dynamic conditions during
documentation rendering.

The "same as `stylix.autoEnable`" `defaultText` is replaced with
`stylix.autoEnable` or `stylix.autoEnable && ${autoEnableExpr}`,
depending on whether `autoEnableExpr` is provided. For readability,
`autoEnable` expressions containing Nix operators of lower precedence
than `&&` are automatically wrapped in parentheses, unless
`autoWrapExpr` is disabled.

Closes: https://github.com/nix-community/stylix/issues/98
Link: https://github.com/nix-community/stylix/pull/1244

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-06-09 16:11:02 +01:00
.github ci: don't check repository_owner (#1436) 2025-06-06 00:20:19 +01:00
doc treewide: use mkEnableTargetWith for dynamic autoEnable conditions (#1244) 2025-06-09 16:11:02 +01:00
flake flake: include 'until' in rename warning 2025-06-04 16:11:11 +01:00
modules treewide: use mkEnableTargetWith for dynamic autoEnable conditions (#1244) 2025-06-09 16:11:02 +01:00
palette-generator treewide: use lib.getExe (#1241) 2025-05-10 12:07:43 +01:00
stylix stylix: use mkEnableTargetWith in mkTarget 2025-06-04 15:48:13 +01: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.