Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
abbood opened this issue May 27, 2023 · 1 comment
Open

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

abbood opened this issue May 27, 2023 · 1 comment

Comments

@abbood
Copy link

abbood commented May 27, 2023

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants