This commit is contained in:
Saygo 2025-08-01 19:04:25 +00:00 committed by GitHub
commit df0f92da32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 72 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "gruvbox-baby";
maintainers = [ lib.maintainers.saygo-png ];
isColorscheme = true;
# Despite being a lua plugin, it's configured via globals without a setup function.
callSetup = false;
settingsExample = {
function_style = "NONE";
keyword_style = "italic";
highlights = {
Normal = {
fg = "#123123";
bg = "NONE";
style = "underline";
};
};
telescope_theme = 1;
transparent_mode = 1;
};
extraConfig = cfg: {
globals = lib.nixvim.applyPrefixToAttrs "gruvbox_baby_" cfg.settings;
};
}

View file

@ -12,6 +12,7 @@
./colorschemes/everforest.nix
./colorschemes/github-theme.nix
./colorschemes/gruvbox.nix
./colorschemes/gruvbox-baby.nix
./colorschemes/gruvbox-material.nix
./colorschemes/kanagawa.nix
./colorschemes/kanagawa-paper.nix

View file

@ -0,0 +1,44 @@
_: {
empty = {
colorschemes.gruvbox-baby.enable = true;
};
defaults = {
colorschemes.gruvbox-baby = {
enable = true;
settings = {
background_color = "medium";
transparent_mode = 0;
comment_style = "italic";
keyword_style = "italic";
string_style = "nocombine";
function_style = "bold";
variable_style = "NONE";
highlights = { };
color_overrides = { };
use_original_palette = 0;
};
};
};
example = {
colorschemes.gruvbox-baby = {
enable = true;
settings = {
function_style = "NONE";
keyword_style = "italic";
highlights = {
Normal = {
fg = "#123123";
bg = "NONE";
style = "underline";
};
};
telescope_theme = 1;
transparent_mode = 1;
};
};
};
}