Commit graph

6 commits

Author SHA1 Message Date
Kamron Bhavnagri
e0a278871b
zellij: write theme file instead of writing theme into config (#616)
Write theme file instead of writing theme into config.

Also, fix contrast issues [1] by changing the red color to base01.

[1]: https://github.com/danth/stylix/issues/486

Closes: https://github.com/danth/stylix/issues/486

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-14 10:48:15 +01:00
Angelo Bulfone
97dcf3c216
zellij: fix black & white (#444)
Brings the Zellij theme more in-line with the default theme. For dark themes, Zellij's shades go from darkest to brightest: black < bg < fg < white. The exact shades used for the four is based on the standard mapping of the 8 primary colors to ANSI's 4 shades.

This makes the tab and status bars significantly more readable.

This does not account for light themes, and Zellij dynamically switches between white and black for certain elements depending on the polarity, however I couldn't find of other modules that accounted for polarity, so I left it for a future change. I also did not rename the accents to their semantic names, though it would be simple to do.
2024-06-21 13:10:34 +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
Michael McCandless
7dfce721b9
Fix Zellij selection highlight (#112)
Closes #111

Theme's bg value is used for selection, not the background so updated bg to base03 to address this
2023-06-27 15:33:50 +01:00
Michael McCandless
383d7306df
Implemented Zellij Support (#108)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2023-06-18 11:36:00 +00:00