GithubHelp home page GithubHelp logo

luisiacc / gruvbox-baby Goto Github PK

View Code? Open in Web Editor NEW
373.0 2.0 29.0 137 KB

Gruvbox theme for neovim with full πŸŽ„TreeSitter support.

License: MIT License

Scheme 0.46% Lua 68.48% Vim Script 0.49% Python 27.66% Shell 2.91%
vim vim-theme gruvbox-color-scheme neovim-lua-plugin neovim-colorscheme neovim-theme neovim vim-colorscheme gruvbox-dark gruvbox

gruvbox-baby's Introduction

logo

πŸŽ„ Gruvbox baby!

My variation of the gruvbox theme with full support for treesitter!

πŸ€” Why?

I wasn't comfortable with the gruvbox themes out there, either they didn't have good treesitter support or if they do, I didn't like their colors on python and javascript/typescript files.

πŸ“Έ Pretty pictures

Font: Jetbrains Mono patched with nerd fonts

Terminal: wezterm https://github.com/wez/wezterm

πŸŒ™ Lua

lua-example

🐍 Python

python-example

βš›οΈ React with typescript

react-typescript-example

πŸ” Telescope

inspired by https://github.com/NvChad/NvChad (You have to enable it via config variable) telescope-theme

βš™οΈ Installation

Plug 'luisiacc/gruvbox-baby', {'branch': 'main'}
...
colorscheme gruvbox-baby

πŸͺ› Configuration

❗️ configuration needs to be set BEFORE loading the color scheme with colorscheme gruvbox-baby

Option Default Available options
background_color medium medium, dark
transparent_mode false false, true - sets background colors to None
comment_style italic see :h attr-list
keyword_style italic see :h attr-list
string_style nocombine see :h attr-list
function_style bold see :h attr-list
variable_style NONE see :h attr-list
highlights {} override highlights with your custom highlights
color_overrides {} override color palette with your custom colors
use_original_palette false use the original gruvbox palette
-- Example config in Lua
vim.g.gruvbox_baby_function_style = "NONE"
vim.g.gruvbox_baby_keyword_style = "italic"

-- Each highlight group must follow the structure:
-- ColorGroup = {fg = "foreground color", bg = "background_color", style = "some_style(:h attr-list)"}
-- See also :h highlight-guifg
-- Example:
vim.g.gruvbox_baby_highlights = {Normal = {fg = "#123123", bg = "NONE", style="underline"}}

-- Enable telescope theme
vim.g.gruvbox_baby_telescope_theme = 1

-- Enable transparent mode
vim.g.gruvbox_baby_transparent_mode = 1

-- Load the colorscheme
vim.cmd[[colorscheme gruvbox-baby]]

If you enable the telescope theme, I recommend using it with this borderchars config:

telescope.setup({
  defaults = {
    ...
    borderchars = {
      prompt = { "─", " ", " ", " ", "─", "─", " ", " " },
      results = { " " },
      preview = { " " },
    },
  }
})
" Example config in VimScript
let g:gruvbox_baby_function_style = "NONE"
let g:gruvbox_baby_keyword_style = "italic"

" Enable telescope theme
let g:gruvbox_baby_telescope_theme = 1

" Enable transparent mode
let g:gruvbox_baby_transparent_mode = 1

" Load the colorscheme
colorscheme gruvbox-baby

If you want access to the palette you have to do this:

local colors = require("gruvbox-baby.colors").config()
vim.g.gruvbox_baby_highlights = {Normal = {fg = colors.orange}}

πŸ”Œ Plugin support

enable Lualine

To enable gruvbox-baby theme for Lualine, simply specify it in your lualine settings:

require('lualine').setup {
    options = {
        -- ... your lualine config,
        theme = "gruvbox-baby",
        -- ... your lualine config,
    }
}

🌈 Palette

gruvbox-baby medium gruvbox-baby intensities

πŸ“‹ Colors

Color Code Name
#ebdbb2 foreground
#dedede gray
#504945 medium_gray
#665c54 comment
#e7d7ad milk
#cc241d error_red
#fb4934 red
#d65d0e orange
#fabd2f bright_yellow
#eebd35 soft_yellow
#d4879c pink
#b16286 magenta
#98971a soft_green
#689d6a forest_green
#8ec07c clean_green
#458588 blue_gray
#83a598 dark_gray
#7fa2ac light_blue

πŸ‘Ά Medium Intensity

gruvbox-baby medium

Color Code Name
#0d0e0f dark0
#202020 dark
#242424 background_dark
#282828 background
#32302f background_light

🎱 Dark Intensity

gruvbox-baby dark

Color Code Name
#0d0e0f dark0
#0d0e0f dark
#171a1a background_dark
#1d2021 background
#32302f background_light

🍦 Soft Intensity

gruvbox-baby soft

Color Code Name
#0d0e0f dark0
#202020 dark
#282626 background_dark
#32302f background
#3c3a39 background_light

πŸ₯Ώ Soft Flat Intensity

gruvbox-baby soft flat

Color Code Name
#0d0e0f dark0
#202020 dark
#32302f background_dark
#32302f background
#3c3a39 background_light

πŸ‘½ Extras

add to Windows Terminal

To add the gruvbox-baby themes to Windows Terminal run,

extras/windows_terminal/add_themes_to_windows_terminal.py $PATH_TO_WINDOWS_TERMINAL_SETTINGS_JSON
# Windows Terminal settings.json can be found at
# %LOCALAPPDATA%/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json

use with fzf

To use the fzf theme append the variable/string to your FZF_DEFAULT_OPTS variable

export FZF_DEFAULT_OPTS="${FZF_DEFAULT_OPTS} ${FZF_THEME}"
#To use the fzf theme the environment variables used have to be defined.
#You can use the tmux or bash file to export them to your environment

πŸ‘† Acknowledgments

Other themes I've made

The Matrix - https://github.com/luisiacc/the-matrix.nvim

gruvbox-baby's People

Contributors

beauwilliams avatar crzdg avatar dfendr avatar flink-sdg avatar gaodean avatar hood avatar karloskar avatar keithpl avatar kirkeasterson avatar luisiacc avatar mattchine avatar reynn avatar txtyash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gruvbox-baby's Issues

Html Tag brackets are not good visible

Hi when using Treesitter, the HTML tag brackets are not good visible:
img

Could you please change on line 132 of theme.lua to the following:

TSTagDelimiter = { fg = c.forest_green },

It will become like:
img2

Now the color is set to c.comment.

Treesitter support broken

To actually have treesitter support, this file is required.

I hereby request to support treesitter without this workaround.

Function parameter rendered in the same color as a variable.

Neovim supports semantic highlighting using Tree-sitter and LSP semantic tokens but function parameter declarations are not rendered consistently in the function body. I expected function parameters that are referenced in the function body to be rendered in the same color as they are rendered in their declarations but as the image below demonstrates, they are not. They are rendered as if they were declared in the function body (i.e. as variables)... at least in JavaScript and Typescript files.

Screenshot 2022-11-23 at 12 09 07 PM

Is there a config setting that I can use to address this?

My gruvbox-baby config:

let g:gruvbox_baby_function_style = "NONE"
let g:gruvbox_baby_keyword_style = "italic"
let g:gruvbox_baby_telescope_theme = 1
let g:gruvbox_baby_transparent_mode = 1
set background=dark
set termguicolors
colorscheme gruvbox-baby

Error theme loading

I tried to use this theme with lunarvim but it returns an error:

Error detected while processing nvim_exec() called at /home/ctarx/.local/share/lunarvim/site/
pack/packer/start/gruvbox-baby/colors/gruvbox-baby.vim:7:
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name

Nvim: v0.8.0-dev

[Feature Request] Light Theme Support

Hey! Thank you for the theme! it looks amazing!

I was going to ask if there are any plans to support the light variant of the theme? me myself using the light theme most of the time as it is easier for my eyes to read the dark text on a light background.

I want to start working on adding support for the light theme too, but I would need some help or guidance πŸ˜„

Thank you again!

add terminal support

There seems to be no terminal support, a possible solution is as follows

-- neovim terminal mode colors
local function set_terminal_colors(colors)
  vim.g.terminal_color_0 = colors.background_dark
  vim.g.terminal_color_8 = colors.foreground
  vim.g.terminal_color_1 = colors.error_red
  vim.g.terminal_color_9 = colors.red
  vim.g.terminal_color_2 = colors.forest_green
  vim.g.terminal_color_10 = colors.soft_green
  vim.g.terminal_color_3 = colors.soft_yellow
  vim.g.terminal_color_11 = colors.bright_yellow
  vim.g.terminal_color_4 = colors.dark_gray
  vim.g.terminal_color_12 = colors.light_blue
  vim.g.terminal_color_5 = colors.magenta
  vim.g.terminal_color_13 = colors.pink
  vim.g.terminal_color_6 = colors.forest_green
  vim.g.terminal_color_14 = colors.blue_gray
  vim.g.terminal_color_7 = colors.milk
  vim.g.terminal_color_15 = colors.gray
end

In my config file (lazy) I had to temporarily handle it like this

-- Bring up coloring from the `gruvbox` theme, which is more complete for the terminal
local terminal_colors = {
    "#282828", "#cc241d", "#98971a", "#d79921", "#458588", "#b16286", "#689d6a", "#ebdbb2",
    "#928374", "#fb4934", "#b8bb26", "#fabd2f", "#83a598", "#d3869b", "#8ec07c", "#a89984",
}
for k, v in ipairs(terminal_colors) do
    vim.g['terminal_color_' .. (k - 1)] = v
end

Maybe there is another way but I don't know about it?

Colors are off

I have no idea why but somehow the colors seem off when using this scheme. I am running nvim 0.6.1 on Debian under WSL2.0 on Windows Terminal.

I have tried to run nvim inside and outside of tmux, with set termguicolors on and off, and it always looks the same. I don't have any issues with other colorschemes.

This colorscheme looks really nice and I'd like to get it to work. If someone has any ideas what to try that would be great.

Screenshot 2022-08-06 165515

Cursor is hard to see in white space

  • Highlight group 'Normal' and 'Cursor' are too similar to identify cursor in white space.
  • Highlight group 'Cursor', 'CursorLineβ€˜ and ’CursorColumnβ€˜ are same. It will hard to identify cursor in white space with 'cursorline' and 'cursorcolumn'.

image

image

image

column color missing?

Is hl-columncolor part of the theme? If yes I don't think it's being set in this repo.

[Feature Request] Add styling for `@text.strong` and `@text.emphasis`

This request is opinionated. It would be nice if the treesitter highlight groups @text.strong and @text.emphasis had styling so that "strong" text appears bold and "emphasis" text appears italic. I discovered this issue when learning neorg. I wondered why the bold and italicized text wasn't appearing correctly.

My current workaround is to manually set the highlights. It would be nice to not have to do this though.

vim.g.gruvbox_baby_highlights = {
    ["@text.strong"] = {
        fg = require('gruvbox-baby.colors').config(opts).soft_yellow,
        style = "bold",
    },
    ["@text.emphasis"] = {
        fg = require('gruvbox-baby.colors').config(opts).soft_yellow,
        style = "italic",
    },
}

The fix would be to add style = "[bold|italic]" to the necessary highlight groups in gruvbox-baby/lua/gruvbox-baby/theme.lua. I can open a PR with the changes.

Option to italicize the string

Just like the original gruvbox, can you add the option g:gruvbox_italicize_strings to set italic style for string please?

Unable to affect Pmenu colour

The floating diagnostics window has a dark background yielding a pretty confusing view.

image

With other themes, I can control the background with:

:hi Pmenu guibg=#808080  

Giving me something like, with evening theme, for example:

image

However, with gruvbox-baby, this has no effect.

User error?

Some tokens don't get unique colours like original gruvbox

πŸ‘‹πŸ» First off, amazing job on this colourscheme. I love it.

Just one issue I have is that there are some tokens that have the same colours as other tokens, which doesn't happen with the original gruvbox theme.

Below are two screenshots that demonstrate this. Both are of the same window/buffer layout (lua file + go file) but just with the two colourschemes (gruvbox and gruvbox-baby) being used.

You'll notice in the lua file the augroup packer_use_config has two separate colours with gruvbox, while they are the same red colour in gruvbox-baby.

Similarly, in the go file, you'll see on line 35 BeforeSend: func(event *sentry.Event where func and the word sentry are the same red colour with gruvbox-baby where as with gruvbox they are unique colours.

Just wanted to flag this in case it was a mistake, or if intended, would it be possible to make these unique colours, as the heavy overlapping of 'red' can be a bit distracting for me.

Either way. Great theme!

Thanks πŸ™‚

Screenshot 2022-08-05 at 09 52 51

Screenshot 2022-08-05 at 09 52 58

Add NeoTree support

I did some basic work,:help neo-tree-highlights

    -- NeoTree
    NeoTreeNormal = { fg = c.foreground, bg = c.background_dark },
    NeoTreeNormalNC = { fg = c.foreground, bg = c.background_dark },
    NeoTreeDirectoryIcon = { fg = c.soft_yellow },
    NeoTreeRootName = { fg = c.magenta },
    NeoTreeExecFile = { fg = c.light_blue, style = "NONE" },

    NeoTreeGitUnstaged = { fg = c.red },
    NeoTreeGitStaged = { fg = c.foreground },
    NeoTreeGitModified = { fg = c.soft_yellow },
    NeoTreeGitUnstracked = { fg = c.soft_green },
    NeoTreeGitDeleted = { fg = c.red },

diffAdded and diffRemoved are unreadable

Hi @luisiacc I'm really enjoying your theme.
I'm just experiencing one problem, the diffAdded and diffRemoved highlighting have a very dark foregroundColor which makes it unreadable.
As a workaround I have linked them to DiffAdd and DiffRemove (so it makes the background color green/red instead of the foreground) But you probably can come up with a better color scheme ;)

Highlight `plain_value` in css

So the objective here is to highlight the not-highlighted stuff here:

Screen Shot 2022-10-24 at 5 47 07 pm

As you can see in this screenshot, the 'field' I'm trying to highlight is plain_value, which I would like to know how to highlight. This is kind of a generic treesitter question, but we could improve this plugin's css treesitter highlighting with this as well.
Screen Shot 2022-10-24 at 5 47 56 pm

How to change intensity

Hi! I have not been able to find the way to change the intensity of the palette past the single default.
I'm happy for all the help I can get.

Improve readability of Telescope result counter

Hi,

for me the result counter in the Telescope popup window is not good readable:
org

This can be improved by adding the following code:

TelescopePromptCounter = { fg = c.milk, bg = c.medium_gray },

to line 383 of file gruvbox-baby/lua/gruvbox-baby/theme.lua

Result:
new

Hope you can implement this.

== Feek

defer functionality commit causes error on startup

Hi,

Since 620c5bd I now get this on startup

Error executing vim.schedule lua callback: ...pack/packer/start/gruvbox-baby/lua/gruvbox-baby/util.lua:43: bad argument #1 to 'pairs
' (table expected, got nil)
stack traceback:
        [C]: in function 'pairs'
        ...pack/packer/start/gruvbox-baby/lua/gruvbox-baby/util.lua:43: in function 'syntax'
        ...pack/packer/start/gruvbox-baby/lua/gruvbox-baby/util.lua:61: in function ''
        vim.lua: in function ''
        vim.lua: in function <vim.lua:0>

Reverting that commit makes it go away and works as expected.

Am I missing something in my configuration/setup?

[Style Change] Remove italic from highlight "Special"

The Special highlight has the style italic. This let looks the \-character for escapes look like a |-character.
I do not know if this is intended.

I would propose to change the style of Special to empty/none.

Current

image
image

Special with no style

image
image

Weird color inside tmux

Hi, there are some weird colors on some keywords, this happens only inside tmux (default conf). I've even tried disabling other plugins. This happens with python, lua and some conf files for sure, didn't tried other file types:

Schermata 2022-01-21 alle 11 41 55

cursorcolumn not visible

Hi I use cursorcolumn from time to time and I couldnt see how to set its colour or make it so it was visible. For now I'm doing this:

❯ git --no-pager diff
diff --git a/lua/gruvbox-baby/theme.lua b/lua/gruvbox-baby/theme.lua
index 4823f2d..14c97e2 100644
--- a/lua/gruvbox-baby/theme.lua
+++ b/lua/gruvbox-baby/theme.lua
@@ -259,7 +259,7 @@ function M.setup(config)
 
     ColorColumn = { bg = c.background_dark },
     SignColumn = { bg = c.background },
-    CursorColumn = { bg = c.background },
+    CursorColumn = { bg = c.bg_light },

How should I be overriding this?

btw love the colour scheme its awesome!

Error loading theme

Hi,

After recent commit b505fe8 I getting error:

Error detected while processing nvim_exec() called at /Users/irmantas/.local/share/nvim/site/pack/packer/start/gruvbox-baby/colors/gruvbox-baby.vim:7:
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name

Previous commit 4f1df4e works without any problem.

Currently on stable NeoVim version:

NVIM v0.7.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by [email protected]

Issue and suggestions

Issue

  1. Cursor colour is very dark and hard to see on any empty space before text. See image below

Screenshot from 2022-08-03 00-46-36

Expectation (it seems to be fine after some text)

Screenshot from 2022-08-03 00-51-15

Note: This problem is on Ubuntu terminal and Mac (iterm 2) seems to be fine.

Suggestion;
I'm using CoC.nvim, CursorHold (which highlights the symbol and references) and visually highlighted text share very similar (if not same) highlight group so it's hard to tell when I'm in visual mode.
I have changed it for myself but maybe this should be addressed in the colour scheme.

Overall, I'm loving this theme, I have been using gruvbox for over a year but it just didn't seem enough for Python, Lua and JS.
Thank you again.

Visual select color

Hello, I m having issue with color of visual select.
On the screenshot bellow, line with "scripts" is highlighted in line-select mode.
The color is very close to the background and I dont know how to change it.

Am I doing something wrong or does everyone have this low contrast on highlights?

image

Python decorator color is "soft_yellow"

Attempted configuration is:

pythonDecorator = { fg = c.orange, style = "bold" },

Although I'm only able to configure the highlight via PreProc:

PreProc = {fg = colors.forest_green}

(Just changed to some other color than orange or soft_yellow to detect what changes it)


Not sure if it's an upstream problem since it seems that https://github.com/vim-python/python-syntax links it under Define, which could be a reason why it ends up under PreProc(?) Ref: https://neovim.io/doc/user/syntax.html

Here's the line in vim-python/python-syntax I'm referring to:
https://github.com/vim-python/python-syntax/blob/2cc00ba72929ea5f9456a26782db57fb4cc56a65/syntax/python.vim#L441

Tab highlight

Hello, I dont use tabs often but I noticed that they look like this on my setup:
image

And it is clearly visible on gruvbox-material, if you thought it might be some other pluggin messing with this.
Can you please help me figure out what highlight should I change, and even better, change it by default? Thanks for suggestions!

The configuration of `transparent_mode` and `background_color` will only work one

After looking the code, I found that the reason is that both of them work by set background and background_dark field, so if configured transparent_mode, background_color will not working.

So maybe background_color feature work by config foreground, and transparent_mode feature work by config background & background_dark?

  local background = config.background_color or colors.background
  if intensity_map[background] then
    colors = vim.tbl_extend("force", colors, intensity_map[background])
  end

  if config.transparent_mode then
    local transparent = {
      background = colors.none,
      background_dark = colors.none,
    }
    colors = vim.tbl_extend("force", colors, transparent)
  end

This is my config:

local g = vim.g

g.gruvbox_baby_background_color = "medium"
g.gruvbox_baby_function_style = "NONE"
g.gruvbox_baby_telescope_theme = 1
g.gruvbox_baby_transparent_mode = 1

vim.cmd([[colorscheme gruvbox-baby]])

Highlight colors not distinct when using find and replace

Hi, I am using gruvbox-baby on neovim, and am having issues with the theme when using find/replace. As seen below, this is what the default neovim shows when using find and replace with confirmation (in this case the command was :%s/mm/deg/gc).

The green highlight specifies what result is currently waiting for replace confirmation:
image

However with gruvbox-baby, the highlights are all the same color, making it impossible to tell which result is waiting for confirmation based on the highlighting.
image

Let me know if any other information is needed!

Search highlight not readable when the matching text is in foreground color and transparent mode is on

Hi there, first of all thanks for making this colorscheme!

I had problem reading the search result when the original text is in foreground color.
Screen Shot 2022-11-20 at 11 57 10

After some digging I think it's due to the combination of

if config.transparent_mode then
  local transparent = {
    background = colors.none,
    background_dark = colors.none,
  }
  colors = vim.tbl_extend("force", colors, transparent)
end

and

Search = { fg = c.background, bg = c.foreground }

I temporarily fixed it by setting the bg to medium_gray in my config.

Search = { fg = c.background, bg = c.medium_gray }

Screen Shot 2022-11-20 at 11 57 43

I see there is already a block handling transparent mode configurations

if config.transparent_mode then
  theme.base = vim.tbl_extend("force", theme.base, {
    Visual = { bg = c.medium_gray },
    MultiCursor = { bg = c.medium_gray },
    Cursor = { bg = c.soft_green, c.dark }
  })
end

Maybe Search should also be added there

Background colour contrast

Some highlight groups seem to be rendering a little lighter than the background colour πŸ€”

Notice main or printf or assert

image

Style for Mutt-Mails

    -- Mutt-Mail:
    --
    -- header and subject parts
    mailHeader = { fg = c.blue_gray, bg = c.none },
    mailHeaderKey = { fg = c.blue_gray, bg = c.none },
    mailHeaderEmail = { fg = c.blue_gray, bg = c.none },
    mailSubject = { fg = c.blue_gray, bg = c.none },

    --quoted text in mails
    mailQuoted1 = { fg = c.light_blue, bg = c.none  },
    mailQuoted2 = { fg = c.magenta, bg = c.none  },
    mailQuoted3 = { fg = c.soft_yellow, bg = c.none  },
    mailQuoted4 = { fg = c.soft_green, bg = c.none  },
    mailQuoted5 = { fg = c.red, bg = c.none  },
    mailQuoted6 = { fg = c.orange, bg = c.none  },

    --quoted text in mails
    mailQuotedExp1 = { fg = c.light_blue, bg = c.none  },
    mailQuotedExp2 = { fg = c.magenta, bg = c.none  },
    mailQuotedExp3 = { fg = c.soft_yellow, bg = c.none  },
    mailQuotedExp4 = { fg = c.soft_green, bg = c.none  },
    mailQuotedExp5 = { fg = c.red, bg = c.none  },
    mailQuotedExp6 = { fg = c.orange, bg = c.none  },

   -- did not discover yet for what this is used: mailVerbatim 

   -- mail signature 
    mailSignature = { fg = c.foreground, bg = c.none  },

   -- mail url and emails 
   mailURL = { fg = c.blue_gray, bg = c.none  },
   mailEmail = { fg = c.blue_gray, bg = c.none  },

Override highlight comment doesn't work?

Hi, I have the following setting, and my question is specifically about the override of comment which I think should change the text color of comments to orange, but it did not change the color at all.

{
	"luisiacc/gruvbox-baby",
	branch = "main",
	config = function()
		local colors = require("gruvbox-baby.colors").config()

		vim.o.termguicolors = true
		vim.g.gruvbox_baby_background_color = "medium"
		vim.g.gruvbox_baby_highlights = {
			["@variable.builtin"] = { fg = colors.orange },
			DiagnosticUnderlineError = { sp = "#ff0000", style = "undercurl" },
			LineNr = { fg = "#DEDEDE" },
			CursorLineNr = { fg = "#FFB81C" },
			Comment = { fg = colors.orange },
		}
		vim.g.gruvbox_baby_transparent_mode = 1
	end,
},

The color tones appear to be broken on MacOS terminal.

The color scheme appears to be severely broken when applied to the default terminal on Mac. It's not just a simple issue of color tones, but rather a complete collapse of the colors.

Screenshot 2023-04-25 at 8 44 02 PM

scheme setting using lua

-- gruvbox-baby config & setting
local colors = require("gruvbox-baby.colors").config()
vim.g.gruvbox_baby_highlights = {Normal = {fg = colors.foreground}}
-- Enable telescope theme
vim.g.gruvbox_baby_telescope_theme = 1
-- Enable transparent mode
vim.g.gruvbox_baby_transparent_mode = 1
vim.cmd[[colorscheme gruvbox-baby]]

neovim version

NVIM v0.9.0
Build type: Release
LuaJIT 2.1.0-beta3

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.0/share/nvim"

I'm not sure if the problem is with the terminal, as the colors work correctly when using morhetz/gruvbox . But it doesn't fit treesitter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.