danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
1.07k stars 130 forks source link

Zellij module has bad contrast #486

Open prescientmoon opened 1 month ago

prescientmoon commented 1 month ago

I am using the gruvbox-light theme and the zellij bar at the bottom is next to unreadable image

Here's the generated base16 json file:

{
  "base00": "f2e5bc",
  "base01": "ebdbb2",
  "base02": "d5c4a1",
  "base03": "bdae93",
  "base04": "665c54",
  "base05": "504945",
  "base06": "3c3836",
  "base07": "282828",
  "base08": "9d0006",
  "base09": "af3a03",
  "base0A": "b57614",
  "base0B": "79740e",
  "base0C": "427b58",
  "base0D": "076678",
  "base0E": "8f3f71",
  "base0F": "d65d0e",
  "scheme": "Stylix",
  "author": "Stylix",
  "slug": "stylix"
}
danth commented 1 month ago

It looks like this is using a base08-base0F color on top of base05, which shouldn't be done

trueNAHO commented 1 month ago

Here is the relevant Stylix code:

https://github.com/danth/stylix/blob/c974c17cd089dcbfb16fbde028dd00bcc05e3f73/modules/zellij/hm.nix#L11-L21