AlexvZyl / nordic.nvim

πŸŒ’ Nord for Neovim, but warmer and darker. Supports a variety of plugins and other platforms.
MIT License
708 stars 44 forks source link

Alacritty terminal theme support #78

Open PezCoder opened 1 year ago

PezCoder commented 1 year ago

First off, beautiful theme! I'm coming from using Gruvebox & wanting to change it for a while, this gives a great fresh vibe & similar soothing color pallets 🌈

I use Alacritty as my terminal & ended up porting the theme using πŸ€– chatgpt by inputting iterm2 nordic theme

This is what it gave me & with minor tweaks to selection colors, it looks pretty decent.

colors:
  # Default colors
  primary:
    background: '#242626'
    foreground: '#BBBDAF'

  # Normal colors
  normal:
    black: '#191C1D'
    red: '#BD6062'
    green: '#A3D6A9'
    yellow: '#F0DFAF'
    blue: '#8FB4D8'
    magenta: '#C7A9D9'
    cyan: '#B6D7A8'
    white: '#BDC5BD'

  # Bright colors
  bright:
    black: '#727C7C'
    red: '#D18FAF'
    green: '#B7CEB0'
    yellow: '#BCBCBC'
    blue: '#E0CF9F'
    magenta: '#C7A9D9'
    cyan: '#BBDA97'
    white: '#BDC5BD'

  # Selection color
  selection:
    text: '#000000'
    background: '#F0DFAF'

I'll wait for an "official" port to arrive, but meanwhile, others can use this as an alternative.

The official port whenever comes, can also be optionally added to: https://github.com/alacritty/alacritty-theme

PezCoder commented 1 year ago

Here are some screenshots:

Screenshot 2023-07-30 at 12 45 10 PM Screenshot 2023-07-30 at 12 44 56 PM
AlexvZyl commented 1 year ago

I am actually really glad you compared this to gruvbox, as that is exactly what I wanted to replicate. Just not as brown. Glad you like it!

If you want you can submit a PR?

AlexvZyl commented 1 year ago

Just add some screenshots with the nordic background please.

PezCoder commented 1 year ago

@AlexvZyl Turned out my true colours weren't setup properly, hence you see a brownish background for my screenshots. I fixed that now.

& I checked color in VIM:

:hi Normal
" Normal         xxx guifg=#c0c8d8 guibg=#242933

& currently using this bg: #242933 in alacrity which matches vim's now. Also not sure how chatgpt smartly converted the RGB values.

Let me take this up this weekend, I'll attach some screenshots in the PR.

PezCoder commented 1 year ago

@AlexvZyl A standard way to create themes in alacrity is within the alacritty-theme repository, I've created a pull request there: https://github.com/alacritty/alacritty-theme/pull/44

πŸ”— In case you'd like me to link this somewhere within this repository let me know, I'm unsure where can I do that.

πŸ™πŸΌ Would you please give it a review whenever you find the time & in case any color correction is needed?

βœ… I've been using this for a while now & haven't really noticed any issues in my terminal & neovim since then.

AlexvZyl commented 1 year ago

Apologies for ghosting you... Things have been a bit busy this side.

Thanks for making the PR. Even though it is closed, I will still take a look and make changes if necessary! :)

After that I will close the issue.

AlexvZyl commented 11 months ago

It seems like you did not use the colors defined here?

PezCoder commented 11 months ago

I primarily referred to the iterm2 variant mentioned in the docs, input it in chatgpt & spit out the alacrity theme pretty much: https://github.com/AlexvZyl/nordic.nvim/blob/main/platforms/iTerm2/nordic.itermcolors

Let me know if you see something off & would like some changes

AlexvZyl commented 9 months ago

We have to correct the colors to match those defined in this file. Would you be keen? If not, I will do it.