From 5651ca05fd4580f41b28df409286734d375184d4 Mon Sep 17 00:00:00 2001 From: poz Date: Sat, 19 Jul 2025 02:00:31 +0200 Subject: [PATCH] themes/everforest: init https://github.com/sainnhe/everforest --- docs/release-notes/rl-0.8.md | 3 +++ modules/plugins/theme/supported-themes.nix | 19 +++++++++++++++++++ npins/sources.json | 16 ++++++++++++++++ 3 files changed, 38 insertions(+) diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index 87561a9d..c72f65d7 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -382,7 +382,10 @@ [poz](https://poz.pet): +[everforest]: https://github.com/sainnhe/everforest + - Fix gitsigns null-ls issue. +- Add [everforest] theme support. [Haskex](https://github.com/haskex): diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index ad1f8a3d..ea858cae 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -281,4 +281,23 @@ in { vim.cmd.colorscheme("solarized-osaka") ''; }; + + everforest = { + setup = { + style ? "medium", + transparent ? false, + ... + }: '' + vim.g.everforest_background = "${style}" + vim.g.everforest_transparent_background = ${ + if transparent + then "1" + else "0" + } + + vim.cmd.colorscheme("everforest") + ''; + + styles = ["hard" "medium" "soft"]; + }; } diff --git a/npins/sources.json b/npins/sources.json index a5161090..fd5a34f2 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -442,6 +442,22 @@ "url": "https://github.com/elixir-tools/elixir-tools.nvim/archive/eeb2b5a2e99e1646861a104f108c5818dd3973dc.tar.gz", "hash": "1l0xjis8jp5mf3v42f9xsjmwpjskf6zk6brpr8l39sp1bjn9z4x7" }, + "everforest": { + "type": "GitRelease", + "repository": { + "type": "GitHub", + "owner": "sainnhe", + "repo": "everforest" + }, + "pre_releases": false, + "version_upper_bound": null, + "release_prefix": null, + "submodules": false, + "version": "v0.3.0", + "revision": "1e625639362661972821e83d8bbe528b8981a05f", + "url": "https://api.github.com/repos/sainnhe/everforest/tarball/v0.3.0", + "hash": "18h7mwr9lpsdsdi90vn4nc868g50li27xvylrs2srppfjr7kvl7w" + }, "fastaction-nvim": { "type": "Git", "repository": {