Skip to content

Commit eb719d8

Browse files
committed
colorschemes/github-theme: init
1 parent 50e9895 commit eb719d8

File tree

3 files changed

+94
-0
lines changed

3 files changed

+94
-0
lines changed

plugins/colorschemes/github-theme.nix

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
lib,
3+
...
4+
}:
5+
lib.nixvim.plugins.mkNeovimPlugin {
6+
name = "github-theme";
7+
packPathName = "github-nvim-theme";
8+
package = "github-nvim-theme";
9+
isColorscheme = true;
10+
11+
maintainers = [ lib.maintainers.GaetanLepage ];
12+
13+
settingsExample = {
14+
options = {
15+
transparent = true;
16+
dim_inactive = true;
17+
styles = {
18+
comments = "italic";
19+
keywords = "bold";
20+
};
21+
};
22+
};
23+
}

plugins/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
./colorschemes/dracula-nvim.nix
1010
./colorschemes/dracula.nix
1111
./colorschemes/everforest.nix
12+
./colorschemes/github-theme.nix
1213
./colorschemes/gruvbox.nix
1314
./colorschemes/kanagawa.nix
1415
./colorschemes/melange.nix
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
empty = {
3+
colorscheme = "github_dark";
4+
colorschemes.github-theme.enable = true;
5+
};
6+
7+
defaults = {
8+
colorscheme = "github_dark";
9+
colorschemes.github-theme = {
10+
enable = true;
11+
12+
settings = {
13+
options = {
14+
compile_path.__raw = "vim.fn.stdpath('cache') .. '/github-theme'";
15+
compile_file_suffix = "_compiled";
16+
hide_end_of_buffer = true;
17+
hide_nc_statusline = true;
18+
transparent = false;
19+
terminal_colors = true;
20+
dim_inactive = false;
21+
module_default = true;
22+
styles = {
23+
comments = "NONE";
24+
functions = "NONE";
25+
keywords = "NONE";
26+
variables = "NONE";
27+
conditionals = "NONE";
28+
constants = "NONE";
29+
numbers = "NONE";
30+
operators = "NONE";
31+
strings = "NONE";
32+
types = "NONE";
33+
};
34+
inverse = {
35+
match_paren = false;
36+
visual = false;
37+
search = false;
38+
};
39+
darken = {
40+
floats = true;
41+
sidebars = {
42+
enable = true;
43+
list = [ ];
44+
};
45+
};
46+
modules = [ ];
47+
};
48+
palettes = [ ];
49+
specs = [ ];
50+
groups = [ ];
51+
};
52+
};
53+
};
54+
55+
example = {
56+
colorscheme = "github_light";
57+
colorschemes.github-theme = {
58+
enable = true;
59+
60+
settings = {
61+
transparent = true;
62+
dim_inactive = true;
63+
styles = {
64+
comments = "italic";
65+
keywords = "bold";
66+
};
67+
};
68+
};
69+
};
70+
}

0 commit comments

Comments
 (0)