nix-community.nixvim/plugins/colorschemes/cyberdream.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

88 lines
1.9 KiB
Nix
Raw Normal View History

2024-05-01 01:46:25 +02:00
{
lib,
...
}:
let
inherit (lib.nixvim) defaultNullOpts;
in
2024-12-22 09:58:27 +00:00
lib.nixvim.plugins.mkNeovimPlugin {
2024-05-01 01:46:25 +02:00
name = "cyberdream";
isColorscheme = true;
packPathName = "cyberdream.nvim";
package = "cyberdream-nvim";
2024-05-01 01:46:25 +02:00
2024-09-27 05:28:00 +01:00
maintainers = [ lib.maintainers.AndresBermeoMarinelli ];
2024-05-01 01:46:25 +02:00
settingsOptions = {
transparent = defaultNullOpts.mkBool false ''
2024-05-01 01:46:25 +02:00
Enable transparent background.
'';
italic_comments = defaultNullOpts.mkBool false ''
2024-05-01 01:46:25 +02:00
Enable italics comments.
'';
hide_fillchars = defaultNullOpts.mkBool false ''
2024-05-01 01:46:25 +02:00
Replace all fillchars with ' ' for the ultimate clean look.
'';
borderless_telescope = defaultNullOpts.mkBool true ''
2024-05-01 01:46:25 +02:00
Modern borderless telescope theme.
'';
terminal_colors = defaultNullOpts.mkBool true ''
2024-05-01 01:46:25 +02:00
Set terminal colors used in `:terminal`.
'';
theme = {
2024-08-22 10:03:02 -05:00
highlights = defaultNullOpts.mkAttrsOf lib.types.highlight { } ''
2024-05-01 01:46:25 +02:00
Highlight groups to override, adding new groups is also possible.
See `:h highlight-groups` for a list of highlight groups.
Example:
```nix
{
Comment = {
fg = "#696969";
bg = "NONE";
italic = true;
};
}
```
Complete list can be found in `lua/cyberdream/theme.lua` in upstream repository.
'';
2024-08-22 10:03:02 -05:00
colors = defaultNullOpts.mkAttrsOf lib.types.str { } ''
2024-05-01 01:46:25 +02:00
Override the default colors used.
For a full list of colors, see upstream documentation.
'';
};
2024-05-05 19:39:35 +02:00
};
2024-05-01 01:46:25 +02:00
settingsExample = {
transparent = true;
italic_comments = true;
hide_fillchars = true;
borderless_telescope = true;
terminal_colors = true;
theme = {
highlights = {
Comment = {
fg = "#696969";
bg = "NONE";
italic = true;
};
};
colors = {
bg = "#000000";
green = "#00ff00";
magenta = "#ff00ff";
2024-05-05 19:39:35 +02:00
};
2024-05-01 01:46:25 +02:00
};
2024-05-05 19:39:35 +02:00
};
2024-05-01 01:46:25 +02:00
}