From 8ad5672530d91c90b8f5ef1a590f009fd9f32b47 Mon Sep 17 00:00:00 2001 From: ced4rtree Date: Sat, 22 Nov 2025 16:32:22 -0700 Subject: [PATCH] themes: add base16-pro-max theme The standard base16 theme does not have support for transparency. The base16-pro-max theme by @y3owk1n does, though. --- modules/plugins/theme/supported-themes.nix | 15 +++++++++++++++ npins/sources.json | 13 +++++++++++++ 2 files changed, 28 insertions(+) diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index 6419ba14..1905690a 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -14,6 +14,21 @@ in { require('base16-colorscheme').setup(${toLuaObject base16-colors}) ''; }; + base16-pro-max = { + setup = {base16-colors, transparent, ...}: let + colors = builtins.replaceStrings + [ ''["'' ''"]''] + [ "" "" ] + (toLuaObject base16-colors); + in '' + -- Base16 theme + require('base16-pro-max').setup { + colors = ${colors}, + styles = { transparency = ${boolToString transparent} }, + } + vim.cmd.colorscheme "base16-pro-max" + ''; + }; mini-base16 = { setup = {base16-colors, ...}: '' -- Base16 theme diff --git a/npins/sources.json b/npins/sources.json index 5bcb9567..1770c8e8 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -52,6 +52,19 @@ "url": "https://github.com/rrethy/base16-nvim/archive/a2907cc3cd661e0f89f7db1f4fc304782a676a7d.tar.gz", "hash": "0acqa0b5n4l01ac9mbbxz2nbg8k8a50s0ajngg72l68q6m5z9mkm" }, + "base16-pro-max": { + "type": "Git", + "repository": { + "type": "GitHub", + "owner": "y3owk1n", + "repo": "base16-pro-max.nvim" + }, + "branch": "main", + "submodules": false, + "revision": "6585489c783ae14fb57cb196f15544637953ee7c", + "url": "https://github.com/y3owk1n/base16-pro-max.nvim/archive/6585489c783ae14fb57cb196f15544637953ee7c.tar.gz", + "hash": "6cyEmjFjMundTCkI8yEwuGitJaXcAh6N1ioGfQ1u2h4=" + }, "blink-cmp-spell": { "type": "Git", "repository": {