morhetz / gruvbox

Retro groove color scheme for Vim
13.86k stars 1.11k forks source link

Why are my alacritty vim colors different than iterm2? #447

Open abbood opened 1 year ago

abbood commented 1 year ago

I’ve swithced from iterm2 to alacritty. However I noticed that although I’m using the same vim color scheme (gruvbox), they colors appear different (especially the dark gray), notice the difference:

Iterm2 Screenshot 2023-05-27 at 8 17 07 AM

Alacritty

Screenshot 2023-05-27 at 8 16 20 AM

(notice how the comment for example in alacritty is more purplish)

Here is my iTerm2 color config, and here is my alacritty color config:

window:
  padding:
    x: 10
    y: 10

key_bindings:
  - { key: Return,   mods: Command,         action: ToggleSimpleFullscreen }

import:
 - ~/.config/alacritty/themes/themes/base16_default_dark.yaml

font:
  normal:
    family: HackNerdFontCompleteNerdFont Nerd Font 
    style:  Regular
  bold:
    family: Hack Nerd Font 
    style:  Bold
  italic:
    family: Hack Nerd Font 
    style:  Italic
  bold_italic:
    family: Hack Nerd Font 
    style: Bold Italic
  size: 14

selection:
  save_to_clipboard: true

draw_bold_text_with_bright_colors: true

were I imported the color theme from here.

corn-flake commented 1 year ago

Is it possible that the alacritty color scheme is affecting the colors? I used the alacritty-themes package from the aur to set a gruvbox-dark theme on my alacritty, and I noticed that it changed the colors for the default vim colorscheme.

This is the default vim scheme with the gruvbox dark theme applied 20231015_vimgruvbox_laptop

This is the default vim scheme with the Jasonwryan theme applied 20231015_vimothercolorscheme_laptop

As you can see, even though the vim colorscheme is the same, the colors are different.