ThePrimeagen/init.lua

Rose-pine colors are different in the video

mmskv opened this issue · 6 comments

mmskv commented

Hi, what could be causing ThePrimeagen's neovim colors to differ from rose-pine's defaults and how to reproduce that?

The difference appears in ThePrimeagen's video "Neovim RC from scratch" right after he installs rose-pine package. It also persists in all subsequent videos. Here is a comparison of his colors and actual rose-pine defaults.

comparison

Following steps in the video does not produce such colors and I couldn't find any configuration in ThePrimeagen's dotfiles that could cause this.

yok0 commented

Did you try removing this two lines from colors.lua

vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
mmskv commented

@yok0, at the point of screenshot he had no colors.lua file

I may assume that it was due to the background being a bit transparent for the terminal emulator that is used by ThePrimeagen (as I was not able to get the same colors, although I would enjoy using his color scheme I think).

I do find the color scheme as rendered in his terminal a bit more pleasant than the original colors from the rose-pine though!

mmskv commented

@daniel-abramov, good catch! I've played with screenshot's opacity and saturation and was able to get exactly the same background color by setting screenshot's saturation to 0. And all foreground colors except return's can be made to look sameish by modifying saturation too.
I am not aware of any way Primeagen's terminal could somehow modify TrueColor (24-bit) produced by Neovim to have such effect.

I know its been a while since this comment has been posted but I think i have the solution. I ran into the same colors as he had in his video while having an active tmux session. I have no idea why tmux would change the colors inside of neovim but that is what happened to me.

mmskv commented

@BenCassidy33 thank you! I can reproduce that and tmux with default config does change the colors.