From 84902b354fd0f122c40880b90dc8ac89d4d0daea Mon Sep 17 00:00:00 2001 From: Heitor Augusto <44377258+HeitorAugustoLN@users.noreply.github.com> Date: Mon, 10 Nov 2025 13:57:38 -0300 Subject: [PATCH] colorschemes/vague: init --- colorschemes/vague/default.nix | 15 +++ .../colorschemes/vague/default.nix | 108 ++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 colorschemes/vague/default.nix create mode 100644 tests/test-sources/colorschemes/vague/default.nix diff --git a/colorschemes/vague/default.nix b/colorschemes/vague/default.nix new file mode 100644 index 00000000..6e7c9a5b --- /dev/null +++ b/colorschemes/vague/default.nix @@ -0,0 +1,15 @@ +{ lib, ... }: +lib.nixvim.plugins.mkNeovimPlugin { + name = "vague"; + package = "vague-nvim"; + + isColorscheme = true; + colorscheme = "vague"; + + maintainers = [ lib.maintainers.HeitorAugustoLN ]; + + settingsExample = { + bold = false; + italic = false; + }; +} diff --git a/tests/test-sources/colorschemes/vague/default.nix b/tests/test-sources/colorschemes/vague/default.nix new file mode 100644 index 00000000..f8b3546b --- /dev/null +++ b/tests/test-sources/colorschemes/vague/default.nix @@ -0,0 +1,108 @@ +{ lib, ... }: +{ + empty = { + colorscheme = "vague"; + colorschemes.vague.enable = true; + }; + + defaults = { + colorscheme = "vague"; + + colorschemes.vague = { + enable = true; + settings = { + transparent = false; + bold = true; + italic = true; + style = { + boolean = "bold"; + number = "none"; + float = "none"; + error = "bold"; + comments = "italic"; + conditionals = "none"; + functions = "none"; + headings = "bold"; + operators = "none"; + strings = "italic"; + variables = "none"; + + keywords = "none"; + keyword_return = "italic"; + keywords_loop = "none"; + keywords_label = "none"; + keywords_exception = "none"; + + builtin_constants = "bold"; + builtin_functions = "none"; + builtin_types = "bold"; + builtin_variables = "none"; + }; + plugins = { + cmp = { + match = "bold"; + match_fuzzy = "bold"; + }; + dashboard = { + footer = "italic"; + }; + lsp = { + diagnostic_error = "bold"; + diagnostic_hint = "none"; + diagnostic_info = "italic"; + diagnostic_ok = "none"; + diagnostic_warn = "bold"; + }; + neotest = { + focused = "bold"; + adapter_name = "bold"; + }; + telescope = { + match = "bold"; + }; + }; + + on_highlights = lib.nixvim.mkRaw "function(highlights, colors) end"; + + colors = { + bg = "#141415"; + inactiveBg = "#1c1c24"; + fg = "#cdcdcd"; + floatBorder = "#878787"; + line = "#252530"; + comment = "#606079"; + builtin = "#b4d4cf"; + func = "#c48282"; + string = "#e8b589"; + number = "#e0a363"; + property = "#c3c3d5"; + constant = "#aeaed1"; + parameter = "#bb9dbd"; + visual = "#333738"; + error = "#d8647e"; + warning = "#f3be7c"; + hint = "#7e98e8"; + operator = "#90a0b5"; + keyword = "#6e94b2"; + type = "#9bb4bc"; + search = "#405065"; + plus = "#7fa563"; + delta = "#f3be7c"; + }; + }; + }; + }; + + example = { + colorscheme = "vague"; + + colorschemes.vague = { + enable = true; + + settings = { + bold = false; + italic = false; + }; + }; + }; +}