stylix icon indicating copy to clipboard operation
stylix copied to clipboard

Zellij module has bad contrast

Open prescientmoon opened this issue 1 year ago • 2 comments

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"
}

prescientmoon avatar Jul 23 '24 19:07 prescientmoon

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

danth avatar Jul 24 '24 10:07 danth

Here is the relevant Stylix code:

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

trueNAHO avatar Jul 24 '24 16:07 trueNAHO

Here is the relevant Stylix code:

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

What's a better alternative?

KamWithK avatar Nov 08 '24 00:11 KamWithK

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

Yeah looks like the red color needs to change to something else, but which value should be used for it? base01 or base03 look somewhat better imo

KamWithK avatar Nov 08 '24 00:11 KamWithK

What's a better alternative?

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

Yeah looks like the red color needs to change to something else, but which value should be used for it? base01 or base03 look somewhat better imo

Aside from the Style Guide, there is currently no more formal specification. Follow common sense, if the Style Guide is insuffient and consider sharing screenshots of the made changes.

trueNAHO avatar Nov 08 '24 08:11 trueNAHO

What's a better alternative?

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

Yeah looks like the red color needs to change to something else, but which value should be used for it? base01 or base03 look somewhat better imo

Aside from the Style Guide, there is currently no more formal specification. Follow common sense, if the Style Guide is insuffient and consider sharing screenshots of the made changes.

Should text editor colors section apply? Its not a text editor but it is a terminal application

EDIT: That stuff looks totally irrelevant, I'm just using base01 for mine that looks the best from trial and error so far

KamWithK avatar Nov 08 '24 11:11 KamWithK

I'm just using base01 for mine that looks the best from trial and error so far

Feel free to submit a PR.

trueNAHO avatar Nov 09 '24 13:11 trueNAHO

I'm just using base01 for mine that looks the best from trial and error so far

Feel free to submit a PR.

I am planning to create a PR for how the the Zellij theme gets set (currently it's with the main config but it really should be set via a theme file), I'll roll the change into that one :smile:

KamWithK avatar Nov 09 '24 23:11 KamWithK