From 8ad5672530d91c90b8f5ef1a590f009fd9f32b47 Mon Sep 17 00:00:00 2001 From: ced4rtree Date: Sat, 22 Nov 2025 16:32:22 -0700 Subject: [PATCH 1/4] 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": { From 4b6d3e14d0f17117650695a41ced8a31d642af8f Mon Sep 17 00:00:00 2001 From: ced4rtree Date: Sat, 22 Nov 2025 16:37:09 -0700 Subject: [PATCH 2/4] formatting: ran alejandra --- modules/plugins/theme/supported-themes.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index 1905690a..869d9de6 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -15,10 +15,15 @@ in { ''; }; base16-pro-max = { - setup = {base16-colors, transparent, ...}: let - colors = builtins.replaceStrings - [ ''["'' ''"]''] - [ "" "" ] + setup = { + base16-colors, + transparent, + ... + }: let + colors = + builtins.replaceStrings + [''["'' ''"]''] + ["" ""] (toLuaObject base16-colors); in '' -- Base16 theme From b44e3bec7623004f2f8d13caba209774cd8bb694 Mon Sep 17 00:00:00 2001 From: ced4rtree Date: Sat, 22 Nov 2025 16:41:44 -0700 Subject: [PATCH 3/4] docs: update changelog Update changelog to reflect new theme --- docs/release-notes/rl-0.8.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index 5914df92..9cf6e766 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -510,3 +510,9 @@ - Add inline typst concealing support under `vim.languages.typst` using [typst-concealer]. + +[ced4rtree](https://github.com/ced4rtree): + +[base16-pro-max]: https://github.com/y3owk1n/base16-pro-max.nvim + +- Add new transparency supporting base16 theme through [base16-pro-max]. From 063573fd82b11d88b7480ed9aa40303f9d2b552c Mon Sep 17 00:00:00 2001 From: ced4rtree Date: Wed, 26 Nov 2025 22:05:17 -0700 Subject: [PATCH 4/4] themes: use normal base16-colors in base16-pro-max --- modules/plugins/theme/supported-themes.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index 197ca43c..d07e3a51 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -19,16 +19,10 @@ in { base16-colors, transparent, ... - }: let - colors = - builtins.replaceStrings - [''["'' ''"]''] - ["" ""] - (toLuaObject base16-colors); - in '' + }: '' -- Base16 theme require('base16-pro-max').setup { - colors = ${colors}, + colors = ${toLuaObject base16-colors}, styles = { transparency = ${boolToString transparent} }, } vim.cmd.colorscheme "base16-pro-max"