Compare commits
2 commits
9f15c11e3e
...
8f649d66e8
| Author | SHA1 | Date | |
|---|---|---|---|
|
8f649d66e8 |
|||
|
1919c98392 |
1 changed files with 30 additions and 42 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
|
|
@ -25,49 +24,38 @@
|
||||||
expandtab = true;
|
expandtab = true;
|
||||||
number = true;
|
number = true;
|
||||||
};
|
};
|
||||||
colorschemes.palette = {
|
|
||||||
|
colorschemes.base16 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
setUpBar = false;
|
||||||
palettes = {
|
colorscheme =
|
||||||
main = "base16_custom";
|
let
|
||||||
accent = "base16_custom";
|
cleanScheme = {
|
||||||
state = "base16_custom";
|
inherit (config.scheme.withHashtag)
|
||||||
|
base00
|
||||||
|
base01
|
||||||
|
base02
|
||||||
|
base03
|
||||||
|
base04
|
||||||
|
base05
|
||||||
|
base06
|
||||||
|
base07
|
||||||
|
base08
|
||||||
|
base09
|
||||||
|
base0A
|
||||||
|
base0B
|
||||||
|
base0C
|
||||||
|
base0D
|
||||||
|
base0E
|
||||||
|
base0F
|
||||||
|
;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
cleanScheme
|
||||||
|
// {
|
||||||
|
base08 = cleanScheme.${config.colors.accent};
|
||||||
|
${config.colors.accent} = cleanScheme.base08;
|
||||||
};
|
};
|
||||||
|
|
||||||
# this is helpful for figuring out what color is what:
|
|
||||||
# https://github.com/tinted-theming/schemes/blob/spec-0.11/base24/catppuccin-frappe.yaml
|
|
||||||
custom_palettes = with config.scheme.withHashtag; {
|
|
||||||
main.base16_custom = {
|
|
||||||
color0 = base00; # background
|
|
||||||
color1 = base01; # lighter background
|
|
||||||
color2 = base02; # selection background
|
|
||||||
color3 = base03; # color inside ${}
|
|
||||||
color4 = base04; # dark foreground
|
|
||||||
color5 = config.scheme.withHashtag.${config.colors.accent}; # default foreground, left side of assignments
|
|
||||||
color6 = base03; # comments
|
|
||||||
color7 = base07; # lightest foreground
|
|
||||||
color8 = base05; # variables/tags
|
|
||||||
};
|
|
||||||
|
|
||||||
accent.base16_custom = {
|
|
||||||
accent0 = base08; # red, integers/constants
|
|
||||||
accent1 = base0A; # orange, classes/search
|
|
||||||
accent2 = base0A; # yellow, strings/inherited
|
|
||||||
accent3 = base0B; # green, support/regex
|
|
||||||
accent4 = base0D; # blue, functions/headings
|
|
||||||
accent5 = base0E; # purple, keywords/bold
|
|
||||||
accent6 = base07; # lavender, deprecated/embedded
|
|
||||||
};
|
|
||||||
|
|
||||||
state.base16_custom = {
|
|
||||||
error = base08; # red
|
|
||||||
warning = base0A; # yellow
|
|
||||||
hint = base0C; # cyan
|
|
||||||
ok = base0B; # green
|
|
||||||
info = base0D; # blue
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
keymaps = [
|
keymaps = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue