mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-26 20:21:03 +01:00
colorschemes/cyberdream: migrate to by-name
This commit is contained in:
parent
e14143b4a8
commit
745e478d35
3 changed files with 0 additions and 1 deletions
|
|
@ -1,86 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib.nixvim) defaultNullOpts;
|
||||
in
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "cyberdream";
|
||||
isColorscheme = true;
|
||||
package = "cyberdream-nvim";
|
||||
|
||||
maintainers = [ lib.maintainers.AndresBermeoMarinelli ];
|
||||
|
||||
settingsOptions = {
|
||||
transparent = defaultNullOpts.mkBool false ''
|
||||
Enable transparent background.
|
||||
'';
|
||||
|
||||
italic_comments = defaultNullOpts.mkBool false ''
|
||||
Enable italics comments.
|
||||
'';
|
||||
|
||||
hide_fillchars = defaultNullOpts.mkBool false ''
|
||||
Replace all fillchars with ' ' for the ultimate clean look.
|
||||
'';
|
||||
|
||||
borderless_telescope = defaultNullOpts.mkBool true ''
|
||||
Modern borderless telescope theme.
|
||||
'';
|
||||
|
||||
terminal_colors = defaultNullOpts.mkBool true ''
|
||||
Set terminal colors used in `:terminal`.
|
||||
'';
|
||||
|
||||
theme = {
|
||||
highlights = defaultNullOpts.mkAttrsOf lib.types.highlight { } ''
|
||||
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.
|
||||
'';
|
||||
|
||||
colors = defaultNullOpts.mkAttrsOf lib.types.str { } ''
|
||||
Override the default colors used.
|
||||
|
||||
For a full list of colors, see upstream documentation.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue