ThePrimeagen / init.lua

3.36k stars 596 forks source link

does anyone know what this theme is? #128

Open thelucasfellipe opened 2 months ago

thelucasfellipe commented 2 months ago

hello! does anyone know what this theme is?

CleanShot 2024-08-26 at 13 23 39@2x

noreox commented 2 months ago

The theme is called "Tokyonight". To change the theme, you need to edit the file along the path: yourPathTo/nvim/lua/theprimeagen/lazy/colors.lua

For some reason, the Tokyonight theme appears twice in this file, but the default Tokyonight theme does not work, so you will need to move the "ColorMyPencils()" function from one place to another, in this case from the first original Tokyonight theme settings, to the second Tokyonight theme settings, moving the function mentioned earlier, after the line "config = function()"

thelucasfellipe commented 2 months ago

The theme is called "Tokyonight". To change the theme, you need to edit the file along the path: yourPathTo/nvim/lua/theprimeagen/lazy/colors.lua

For some reason, the Tokyonight theme appears twice in this file, but the default Tokyonight theme does not work, so you will need to move the "ColorMyPencils()" function from one place to another, in this case from the first original Tokyonight theme settings, to the second Tokyonight theme settings, moving the function mentioned earlier, after the line "config = function()"

are u sure? doesn't look like this theme

CleanShot 2024-09-04 at 16 24 29@2x

noreox commented 2 months ago

Yeah, I guess that's it, but it looks like WezTerm uses a different color scheme (or something) that doesn't seem to be directly related to neovim. Primeagen itself uses Alacritty as a terminal emulator, where the color scheme is different from many by default.

But in my case, this solution helped me get approximately similar result from the original screenshot.

it looks like this for me: 2024-09-04_23-05-20_screenshot

noreox commented 2 months ago

I finally found the original name of the theme, it is called "rose-pine” (https://github.com/rose-pine/neovim)

It's just under the "Tokyonight" theme setting, you just need to do the same as before (move the function) P.S Although for some reason my "Tokyonight" theme already links to the "rose-pine" theme, so for some reason both solutions work for me lol