Commit graph

16 commits

Author SHA1 Message Date
Daniel Thwaites
54721996d6
doc: add links between NVF, Neovim, Nixvim, and Vim pages (#1040)
Link: https://github.com/danth/stylix/pull/1040

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-01 10:32:01 +02:00
Daniel Thwaites
a55488c247
doc: reduce overuse of alerts (#1041)
Using too many "info" and "warning" boxes makes them less effective when
they're needed to draw attention to something genuinely important.

This commit adds important boxes to modules which require an external
module to be imported, similar to the box already used on the "Firefox and
derivatives" page.

It changes the warning when a module has no maintainers to a regular
paragraph.

The note about `stylix.enable` being new is removed, since this has been
around for a while now.
2025-03-23 13:25:15 +00:00
Flameopathic
113643f332
doc: add note for user-imported modules (#1039)
Adds basic documentation to every Stylix module which requires a
user-imported module to function.

Intended to prevent issues like #1033
2025-03-21 21:11:03 +00: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
Matt Sturgeon
0a4755b656
nixvim: expose config as read-only option
Allow standalone nixvim users to take advantage of stylix by exposing
the generated config as `config.lib.stylix.nixvim.config`.

This can be passed to the nixvim derivation's `extend` function or used
directly in a nixvim configuration.
2025-02-26 02:17:32 +00:00
Matt Sturgeon
6c361e9755
nixvim: simplify enable conditions
- Use `options.programs` over `config.programs` as it is slightly cheaper.
- Prefer using the `?` operator over `builtins.hasAttr`
2025-02-26 02:10:53 +00:00
soulsoiledit
7f0154c371
neovim: fix SignColumn transparency (#628)
Closes: https://github.com/danth/stylix/issues/599
Link: https://github.com/danth/stylix/pull/628

Tested-by: https://github.com/anotherhadi
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-10 18:43:06 +01: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
soulsoiledit
17f6d6e5aa nixvim: add stylix.targets.nixvim.plugin option
Add the stylix.targets.nixvim.plugin option to select between the
previous base16-nvim and the new default mini.base16 [1] plugin,
offering better plugin integration.

[1]: https://github.com/echasnovski/mini.base16

Link: https://github.com/danth/stylix/pull/536

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-10-12 12:54:49 -05:00
NAHO
dba4bd2d89
treewide: declare end-of-life for deprecated options
Fixes: 6858d08ed0 ("treewide: add soft deprecation dates (#506)")
Link: https://github.com/danth/stylix/pull/514
2024-08-26 17:45:26 +02:00
NAHO
6858d08ed0
treewide: add soft deprecation dates (#506)
Add soft deprecation dates to guide the hard deprecation transitions.

Fixes: 3567250ba0 ("Properly warn users that stylix.palette.* has been removed")
Fixes: 94aa0fc0fb ("nixvim: rename transparency options to camelCase (#497)")
2024-08-16 19:54:29 +01:00
Daniel Thwaites
94aa0fc0fb
nixvim: rename transparency options to camelCase (#497) 2024-08-06 12:42:19 +01:00
Daniel Thwaites
80e8e1e2f6
treewide: add linters and apply pending suggestions (#426) 2024-06-16 15:08: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
Pacto
d4f1636c93
nixvim: change property name to align with nixvim (#288)
changed colorschemes.base.16.customColorScheme to colorschemes.base.16.colorscheme
2024-03-17 15:21:19 +00:00
willemml
d14ac4912a
Adds support for styling nixvim (#194)
Closes #153

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2023-12-19 16:40:37 +00:00