diff --git a/docs/manual/release-notes/rl-0.9.md b/docs/manual/release-notes/rl-0.9.md index 0a0d9d9f..c2710093 100644 --- a/docs/manual/release-notes/rl-0.9.md +++ b/docs/manual/release-notes/rl-0.9.md @@ -75,6 +75,10 @@ (class: "nixos") cannot be imported into a module evaluation that expects class "darwin". ``` +- Add support for `solarized-osaka` style options. The default style (named + `default`) was previously applied without user specification. The addition of + the `light` style now requires users to specify if they want to use `default` + or `light`. [suimong](https://github.com/suimong): diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index 14ebc936..1904527d 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -307,8 +307,13 @@ in { }; solarized-osaka = { - setup = {transparent ? false, ...}: '' + setup = { + style ? "default", + transparent ? false, + ... + }: '' require("solarized-osaka").setup({ + style = "${style}", transparent = ${boolToString transparent}, styles = { comments = { italic = false }, @@ -318,6 +323,7 @@ in { vim.cmd.colorscheme("solarized-osaka") ''; + styles = ["default" "light"]; }; everforest = { diff --git a/npins/sources.json b/npins/sources.json index e16a4f5c..5201124f 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -2596,9 +2596,9 @@ }, "branch": "main", "submodules": false, - "revision": "f796014c14b1910e08d42cc2077fef34f08e0295", - "url": "https://github.com/craftzdog/solarized-osaka.nvim/archive/f796014c14b1910e08d42cc2077fef34f08e0295.tar.gz", - "hash": "sha256-JuIeLpkF7jBCI/wrO3RQPtKbso57eTBglCAI5siEwks=" + "revision": "5dd1969a7492f3a2c0fde5d9d2472aa751c44d3b", + "url": "https://github.com/craftzdog/solarized-osaka.nvim/archive/5dd1969a7492f3a2c0fde5d9d2472aa751c44d3b.tar.gz", + "hash": "sha256-bEHBXw7ufHOrqw/frbBSaLv7Kr8F6BK2B7E83dKAsHk=" }, "sqls-nvim": { "type": "Git",