Skip to content

Commit

Permalink
zellij: fix black & white (#444)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
boomshroom authored Jun 21, 2024
1 parent 7dcab07 commit 97dcf3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/zellij/hm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
magenta = base0E;
orange = base09;
cyan = base0C;
black = base03;
white = base05;
black = base00;
white = base07;
};
};
};
Expand Down

0 comments on commit 97dcf3c

Please sign in to comment.