Skip to content

Commit a96854d

Browse files
saygo-pngkhaneliman
authored andcommitted
colorschemes/gruvbox-baby: init
Signed-off-by: saygo-png <[email protected]>
1 parent 9830797 commit a96854d

File tree

3 files changed

+73
-0
lines changed

3 files changed

+73
-0
lines changed

plugins/colorschemes/gruvbox-baby.nix

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{ lib, ... }:
2+
lib.nixvim.plugins.mkNeovimPlugin {
3+
name = "gruvbox-baby";
4+
maintainers = [ lib.maintainers.saygo-png ];
5+
isColorscheme = true;
6+
7+
# Despite being a lua plugin, it's configured via globals without a setup function.
8+
callSetup = false;
9+
hasLuaConfig = false;
10+
11+
settingsExample = {
12+
function_style = "NONE";
13+
keyword_style = "italic";
14+
highlights = {
15+
Normal = {
16+
fg = "#123123";
17+
bg = "NONE";
18+
style = "underline";
19+
};
20+
};
21+
telescope_theme = 1;
22+
transparent_mode = 1;
23+
};
24+
25+
extraConfig = cfg: {
26+
globals = lib.nixvim.applyPrefixToAttrs "gruvbox_baby_" cfg.settings;
27+
};
28+
}

plugins/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
./colorschemes/everforest.nix
1313
./colorschemes/github-theme.nix
1414
./colorschemes/gruvbox.nix
15+
./colorschemes/gruvbox-baby.nix
1516
./colorschemes/gruvbox-material.nix
1617
./colorschemes/kanagawa.nix
1718
./colorschemes/kanagawa-paper.nix
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
_: {
2+
empty = {
3+
colorschemes.gruvbox-baby.enable = true;
4+
};
5+
6+
defaults = {
7+
colorschemes.gruvbox-baby = {
8+
enable = true;
9+
10+
settings = {
11+
background_color = "medium";
12+
transparent_mode = 0;
13+
comment_style = "italic";
14+
keyword_style = "italic";
15+
string_style = "nocombine";
16+
function_style = "bold";
17+
variable_style = "NONE";
18+
highlights = { };
19+
color_overrides = { };
20+
use_original_palette = 0;
21+
};
22+
};
23+
};
24+
25+
example = {
26+
colorschemes.gruvbox-baby = {
27+
enable = true;
28+
29+
settings = {
30+
function_style = "NONE";
31+
keyword_style = "italic";
32+
highlights = {
33+
Normal = {
34+
fg = "#123123";
35+
bg = "NONE";
36+
style = "underline";
37+
};
38+
};
39+
telescope_theme = 1;
40+
transparent_mode = 1;
41+
};
42+
};
43+
};
44+
}

0 commit comments

Comments
 (0)