cideM / yui

A minimal Vim/Neovim color scheme inspired by Dieter Rams
MIT License
135 stars 7 forks source link

Colors for Alacritty and Tmux #33

Closed mambusskruj closed 12 months ago

mambusskruj commented 1 year ago

Hello,

Just want to share with you my work on theming Alacritty terminal and Tmux multiplexer. Please, take a look and consider a contribution to these projects.

Here's how it looks like:

Screenshot 2023-04-11 at 11 57 04

Alacritty (https://github.com/alacritty/alacritty)

Theme config:

yui: &yui
  primary:
    background: '#f6f3f0'
    foreground: '#5f503e'

  cursor:
    text:   '#f6f3f0'
    cursor: '#526eff'

  normal:
    black:   '#5f503e'
    red:     '#350303'
    green:   '#4e4b36'
    yellow:  '#7c4f18'
    blue:    '#00588f'
    magenta: '#6132d7'
    cyan:    '#4a5054'
    white:   '#f6f3f0'

  bright:
    black:   '#5f503e'
    red:     '#350303'
    green:   '#4e4b36'
    yellow:  '#7c4f18'
    blue:    '#00588f'
    magenta: '#8368e7'
    cyan:    '#4a5054'
    white:   '#f6f3f0'

I took colors from there: https://github.com/cideM/yui/blob/master/colors/yui.vim#L14

You could prepare pull request in alacritty-theme repo, so users can see yui in the list – https://github.com/alacritty/alacritty-theme Here's how to contribute: https://github.com/alacritty/alacritty-theme#contributing

Here's output from alacritty-theme/print_colors.sh

image

Yeah, text with background isn't as readable as it could be, and there's readability issue in htop. So it might be tuned a little.


Tmux (https://github.com/tmux/tmux)

Theme config (just tells tmux what term color to use):

## default statusbar colors
set-option -g status-style fg=yellow,bg=white

## default window title colors
set-window-option -g window-status-style fg=brightyellow,bg=default

## active window title colors
set-window-option -g window-status-current-style fg=brightred,bg=default

## pane border
set-option -g pane-border-style fg=white #base2
set-option -g pane-active-border-style fg=brightcyan

## message text
set-option -g message-style fg=brightred,bg=white

## pane number display
set-option -g display-panes-active-colour brightred
set-option -g display-panes-colour brightyellow

## clock
set-window-option -g clock-mode-colour green

## bell
set-window-option -g window-status-bell-style fg=white,bg=red

## selected
set-window-option -g mode-style bg=brightmagenta,fg=white

There's no official first-party repo for Tmux theming, but here's repo that collect theme configurations.

Another option is to create yui-tmux repo under your user and share it there:

cideM commented 1 year ago

Thanks this is super cool! I was actually thinking about the same thing recently. Would be great to generate these using Lua code as well. Then all of this is just one make call away.

I'll take a look at your PRs tomorrow, I'm spending almost the entire day on a train today.

cideM commented 12 months ago

Closed in #48

I didn't add TMUX colors since they're simply shell colors.