diff --git a/plugins/colorschemes/mini-base16.nix b/plugins/colorschemes/mini-base16.nix new file mode 100644 index 00000000..3fa8d91e --- /dev/null +++ b/plugins/colorschemes/mini-base16.nix @@ -0,0 +1,30 @@ +{ lib, ... }: +lib.nixvim.plugins.mkNeovimPlugin { + name = "mini-base16"; + moduleName = "mini.base16"; + isColorscheme = true; + colorscheme = null; + + maintainers = [ lib.maintainers.HeitorAugustoLN ]; + + settingsExample = { + palette = { + base00 = "#112641"; + base01 = "#3a475e"; + base02 = "#606b81"; + base03 = "#8691a7"; + base04 = "#d5dc81"; + base05 = "#e2e98f"; + base06 = "#eff69c"; + base07 = "#fcffaa"; + base08 = "#ffcfa0"; + base09 = "#cc7e46"; + base0A = "#46a436"; + base0B = "#9ff895"; + base0C = "#ca6ecf"; + base0D = "#42f7ff"; + base0E = "#ffc4ff"; + base0F = "#00a5c5"; + }; + }; +} diff --git a/plugins/default.nix b/plugins/default.nix index 391478bb..80a35dd5 100644 --- a/plugins/default.nix +++ b/plugins/default.nix @@ -18,6 +18,7 @@ ./colorschemes/kanagawa.nix ./colorschemes/kanagawa-paper.nix ./colorschemes/melange.nix + ./colorschemes/mini-base16.nix ./colorschemes/modus.nix ./colorschemes/monokai-pro.nix ./colorschemes/moonfly.nix diff --git a/tests/test-sources/plugins/colorschemes/mini-base16.nix b/tests/test-sources/plugins/colorschemes/mini-base16.nix new file mode 100644 index 00000000..e9aefc69 --- /dev/null +++ b/tests/test-sources/plugins/colorschemes/mini-base16.nix @@ -0,0 +1,27 @@ +{ + defaults = { + colorschemes.mini-base16 = { + enable = true; + settings = { + palette = { + base00 = "#112641"; + base01 = "#3a475e"; + base02 = "#606b81"; + base03 = "#8691a7"; + base04 = "#d5dc81"; + base05 = "#e2e98f"; + base06 = "#eff69c"; + base07 = "#fcffaa"; + base08 = "#ffcfa0"; + base09 = "#cc7e46"; + base0A = "#46a436"; + base0B = "#9ff895"; + base0C = "#ca6ecf"; + base0D = "#42f7ff"; + base0E = "#ffc4ff"; + base0F = "#00a5c5"; + }; + }; + }; + }; +}