colorschemes/github-theme: init

This commit is contained in:
Gaetan Lepage 2025-04-06 01:28:04 +02:00
parent 50e9895c2c
commit eb719d80a8
3 changed files with 94 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{
lib,
...
}:
lib.nixvim.plugins.mkNeovimPlugin {
name = "github-theme";
packPathName = "github-nvim-theme";
package = "github-nvim-theme";
isColorscheme = true;
maintainers = [ lib.maintainers.GaetanLepage ];
settingsExample = {
options = {
transparent = true;
dim_inactive = true;
styles = {
comments = "italic";
keywords = "bold";
};
};
};
}

View file

@ -9,6 +9,7 @@
./colorschemes/dracula-nvim.nix
./colorschemes/dracula.nix
./colorschemes/everforest.nix
./colorschemes/github-theme.nix
./colorschemes/gruvbox.nix
./colorschemes/kanagawa.nix
./colorschemes/melange.nix

View file

@ -0,0 +1,70 @@
{
empty = {
colorscheme = "github_dark";
colorschemes.github-theme.enable = true;
};
defaults = {
colorscheme = "github_dark";
colorschemes.github-theme = {
enable = true;
settings = {
options = {
compile_path.__raw = "vim.fn.stdpath('cache') .. '/github-theme'";
compile_file_suffix = "_compiled";
hide_end_of_buffer = true;
hide_nc_statusline = true;
transparent = false;
terminal_colors = true;
dim_inactive = false;
module_default = true;
styles = {
comments = "NONE";
functions = "NONE";
keywords = "NONE";
variables = "NONE";
conditionals = "NONE";
constants = "NONE";
numbers = "NONE";
operators = "NONE";
strings = "NONE";
types = "NONE";
};
inverse = {
match_paren = false;
visual = false;
search = false;
};
darken = {
floats = true;
sidebars = {
enable = true;
list = [ ];
};
};
modules = [ ];
};
palettes = [ ];
specs = [ ];
groups = [ ];
};
};
};
example = {
colorscheme = "github_light";
colorschemes.github-theme = {
enable = true;
settings = {
transparent = true;
dim_inactive = true;
styles = {
comments = "italic";
keywords = "bold";
};
};
};
};
}