11.stylix/modules
Chet Luther 41a773fb0f
k9s: tweak color assignment to style guide (#999)
I found that there were some color choices in the k9s module that
weren't aligned with the style guide. Most notably this resulted in
healthy resources being displayed in red while unhealthy resources were
blue.

I tried not to make any subjective changes to the original module
because overall, it was very well done, and there's no right answer when
it comes to things aren't covered by the style guide. In some cases
where the style guide doesn't help, I looked at other modules for
answers.

These are the changes, and the reason for them.

1. prompt.bgColor from base00 to "default" for transparency to shell
   background.
2. prompt.suggestColor from base0A to base02 because base02 is used as
   fish_color_autosuggestion in base16-fish via the fish module.
3. dialog.bgColor from "default" to base01 because the style guide says
   base01 is for alternate background, and that's what this is.
4. dialog.buttonBgColor from base0C to base02 because base0C resulted in
   white on bright and made button text illegible. Using base02 allows
   the not-selected button background to still be raised off the base01
   background.
5. dialog.buttonFocusFgColor from base0E to base11 because there was
   another light-on-light issue here that made the focused button text
   illegible. This change keeps the base0B background color, but uses
   the darkest possible foreground text to be legible.
6. frame.crumbs.activeColor from base01 to base02 because the style
   guide says base02 should be used for selection background. This
   creates a small distinction between the active crumb and the others
   that didn't previously exist.
7. frame.yaml.(keyColor|colonColor|valueColor) are changed to match yaml
   syntax highlighting from other modules such as bat.
8. frame.logs.indicator.bgColor from base0C to "default" to fix another
   very low contrast problem of having base05 text on a base0C
   background.
9. frame.logs.indicator.toggle(On|Off)Color weren't set before, so I
   made them base0B and base04 because base0B is customarily green or an
   "on" color, and base04 is the alternate text color.

In the frame.status section I changed newColor, modifyColor, addColor,
and errorColor. I left highlightColor, killColor, and completedColor as
they were.

1. newColor is the color of all resources in a normal state. I chose
   base0C as a neutral color for this. Anything would have been better
   than the base08 (typically red) that it was.
2. modifyColor is the color of a resource when it's in some
   transitioning state. I could have made this base09 or base0A, but
   given that base0A is used for many other things I went with base09.
3. addColor is the color of a resource when it first appears. Using
   base0C (typically green) is customary for something like this. It had
   been base09 (typically orange) which has the opposite meaning.
4. errorColor is given to resources in an error state. This is the
   perfect place to use base08 according to the style guide.

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

Reviewed-by: Marc Jakobi <mrcjkb89@outlook.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-19 23:07:57 +01:00
..
alacritty stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
avizo treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
bat stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
bemenu treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
bspwm treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
btop treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
cava stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
cavalier stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
chromium stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
console treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
discord treewide: add Flameopathic as maintainer (#1026) 2025-03-19 22:15:27 +01:00
dunst treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
emacs treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
eog stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
fcitx5 stylix: add editorconfig-checker pre-commit hook (#1006) 2025-03-19 18:33:54 +01:00
feh stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
firefox treewide: add Flameopathic as maintainer (#1026) 2025-03-19 22:15:27 +01:00
fish stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
fnott stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
foot treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
forge stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
fuzzel treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
fzf stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
gedit stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
ghostty stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
gitui stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
glance stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
gnome stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
gnome-text-editor stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
grub treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
gtk stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
halloy stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
helix stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
hyprland stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
hyprlock treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
hyprpaper stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
i3 treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
i3status-rust treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
k9s k9s: tweak color assignment to style guide (#999) 2025-03-19 23:07:57 +01:00
kde stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
kitty stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
kmscon stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
kubecolor treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
lazygit stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
lightdm stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
mako treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
mangohud treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
micro stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
mpv mpv: set background to black (#1008) 2025-03-19 18:52:09 +01:00
ncspot treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
neovim stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
nixos-icons treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
nixvim stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
nushell treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
nvf stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
plymouth stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
qt stylix: add editorconfig-checker pre-commit hook (#1006) 2025-03-19 18:33:54 +01:00
qutebrowser treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
regreet stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
rio treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
river stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
rofi treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
spicetify stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
starship starship: init (#995) 2025-03-19 18:37:25 +01:00
sway treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
swaylock treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
swaync treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
sxiv stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
tmux stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
tofi treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
vim stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
vscode treewide: add Flameopathic as maintainer (#1026) 2025-03-19 22:15:27 +01:00
waybar stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
wayfire stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
wezterm treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
wob stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
wofi treewide: clean up with and stuff (#975) 2025-03-18 12:10:02 +00:00
wpaperd stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
xfce stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
xresources stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
yazi stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
zathura stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
zed stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00
zellij stylix: init module maintainers framework (#977) 2025-03-14 19:29:51 +01:00