NAHO
707059378b
treewide: optionalize mkTarget's humanName and name arguments
...
Optionalize mkTarget's 'humanName' and 'name' arguments by inferring
'humanName' from the 'name' attribute in the /modules/<MODULE>/meta.nix
file, and 'name' from the /modules/<NAME>/ directory name.
Inferring the 'humanName' and 'name' arguments ensures consistency and
reduces boilerplate.
The 'humanName' and 'name' arguments are optionalized instead of removed
because complex modules generating target derivations need to
distinguish between them.
Closes: https://github.com/nix-community/stylix/issues/1661
(cherry picked from commit dfc859f54d )
2025-12-10 07:14:37 -10:00
NAHO
3fb65013f7
treewide: rename mkTarget's configElements and extraOptions options
...
Rename mkTarget's 'configElements' argument to 'config' and
'extraOptions' to 'options' to provide a more transparent interface with
the underlying Nixpkgs module system.
(cherry picked from commit 16df6b8448 )
2025-12-10 07:14:37 -10:00
Daniel Thwaites
8d008296a1
gtk: Invert light_* and dark_* colors ( #1940 )
...
Tested-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Approved-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-10-14 21:03:32 +01:00
awwpotato
0b8ec64a42
gtk: use mkTarget ( #1596 )
...
Link: https://github.com/nix-community/stylix/pull/1596
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-08 23:50:08 +02:00
NAHO
bba3152bd2
treewide: standardize URL format by removing trailing slashes ( #1566 )
...
Link: https://github.com/nix-community/stylix/pull/1566
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-07-06 22:18:33 +02:00
Flameopathic
e2fe2df9b0
doc: restructure module rendering ( #1083 )
2025-05-18 14:09:50 +01:00
Matt Sturgeon
d419d335c0
gtk: check stylix.enable
...
All targets should check the global `enable` option, not just their own.
2025-05-15 03:46:36 +01:00
Daniel Thwaites
7ddc94f9dc
treewide: add missing .s to extensions ( #1165 )
...
This fixes the issue mentioned at https://github.com/danth/stylix/pull/1164#pullrequestreview-2789195255
Link: https://github.com/danth/stylix/pull/1165
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-04-24 03:34:56 +00:00
awwpotato
f46d58be39
gtk: invert extraCss warning ( #1159 )
...
Fixes: 375b1de242 ("gtk: warn about non-functional gtk.gtk{3,4}.extraCss options (#1153 )")
Link: https://github.com/danth/stylix/pull/1159
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-23 00:04:36 +00:00
awwpotato
375b1de242
gtk: warn about non-functional gtk.gtk{3,4}.extraCss options ( #1153 )
...
Link: https://github.com/danth/stylix/pull/1153
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-22 16:28:44 +02:00
NAHO
6d16807fc5
Merge branch 'master' into treewide-init-maintainers
2025-04-13 19:59:13 +02:00
Flameopathic
82f67a36eb
doc: align module capitalization ( #1115 )
...
Closes: https://github.com/danth/stylix/issues/1084
Link: https://github.com/danth/stylix/pull/1115
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
2025-04-10 08:45:51 +02:00
Daniel Thwaites
1ac1b0d951
treewide: add danth as maintainer ( #1011 )
2025-03-19 18:54:09 +01:00
awwpotato
e43eb4e2a7
stylix: init module maintainers framework ( #977 )
...
Initialize module maintainers framework to streamline the future
population of module maintainers [1].
[1]: https://github.com/danth/stylix/issues/275
Link: https://github.com/danth/stylix/pull/977
Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-14 19:29:51 +01:00
awwpotato
489833b201
treewide: give mustache files correct file extensions ( #946 )
...
makes the filetype of the file more clear and makes it possible for
editorconfig (#945 ) to work for these files
2025-03-02 23:48:43 +00:00
NAHO
ad64260a75
treewide: add and apply nixfmt pre-commit hook
...
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:48:26 +01:00
bricked
963e77a3a4
gtk: add support for theming Flatpak applications ( #693 )
...
Add support for theming Flatpak applications by making the GTK theme
accessible to them. [1]
[1]: https://itsfoss.com/flatpak-app-apply-theme
Closes: https://github.com/danth/stylix/issues/465
Link: https://github.com/danth/stylix/pull/693
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-26 23:53:19 +01:00
Daniel Thwaites
80e8e1e2f6
treewide: add linters and apply pending suggestions ( #426 )
2024-06-16 15:08:25 +01:00
Daniel Thwaites
76d6ca2224
treewide: remove use of with lib ( #425 )
2024-06-14 22:36:25 +01:00
Jalil David Salamé Messina
7682713f6a
stylix: add 'stylix.enable' option ( #244 )
...
Add a 'stylix.enable' option to enable or disable all Stylix modules in
order to resolve issues similar to [2].
To align with the default 'lib.mkEnableOption' [1] behavior,
'stylix.enable' defaults to 'false'.
BREAKING CHANGE: Stylix is disabled by default. To enable it, use:
stylix.enable = true;
[1]: https://github.com/NixOS/nixpkgs/blob/23.11/lib/options.nix#L91-L105
[2]: https://github.com/danth/stylix/issues/216
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
Co-authored-by: Jalil David Salamé Messina <jalil.salame@gmail.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-06-10 11:52:47 +02:00
diniamo
1d3826ceed
gtk: change accent color ( #413 )
2024-06-05 14:13:29 +01:00
Daniel Thwaites
0fe277a364
treewide: remove lib.mdDoc ( #349 )
2024-04-22 22:25:40 +01:00
Daniel Thwaites
8b3f61727f
Support GNOME 45 and Libadwaita updates 👽
...
Fixes #187
Fixes #190
2023-11-25 14:36:45 +00:00
&yosyo
beb35709c9
Move extra CSS to the end of the file ( #147 )
2023-08-13 16:01:06 +00:00
Daniel Thwaites
d14076e46f
Update flake inputs ⬆️
2023-07-14 12:50:08 +01:00
Mason Dear
1c953ad0dc
Opacity support ( #77 )
2023-05-18 20:00:50 +01:00
Daniel Thwaites
a3f9fa981b
Convert documentation to mdBook 📝 🔨
2023-03-29 00:54:14 +01:00
Luc Chabassier
50dcc46fe6
Add options to set font sizes ( #60 )
...
Fixes #35 and #59
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2023-03-19 18:39:32 +00:00
Daniel Thwaites
6d3a046d17
Add extraCss option for GTK ✨
2023-03-07 11:22:50 +00:00
DwarfMaster
fbad7b1b0c
Refactor modules to separate nixos from hm code
2023-01-30 22:56:57 +01:00
Daniel Thwaites
832ef0c975
Fix syntax of headerbar_border_color 🐛
2022-11-09 07:04:49 +00:00
Daniel Thwaites
52f614b536
Style libadwaita apps ✨
...
Rather than changing the GTK theme, we now use the default Adwaita
theme with modified colours. This creates a consistent look across
all GTK3, GTK4 and Libadwaita apps.
TODO: Gnome shell theme
2022-11-07 11:12:26 +00:00