From 4e6dcb863e2c711a9d5ceacdeec4bb61cb43ac99 Mon Sep 17 00:00:00 2001 From: smgr Date: Mon, 6 Oct 2025 00:29:02 -0700 Subject: [PATCH] add full symconf theme generation pipeline to produce app config --- .../firefox/grassland-monobiome-dark.xpi | Bin .../firefox/grassland-monobiome-light.xpi | Bin .../firefox/monobiome-dark.xpi | Bin .../firefox/monobiome-light.xpi | Bin .../firefox/savanna-monobiome-dark.xpi | Bin .../firefox/savanna-monobiome-light.xpi | Bin .../firefox/tundra-monobiome-dark.xpi | Bin .../firefox/tundra-monobiome-light.xpi | Bin .../fzf/badlands-monobiome-dark.active.theme | 13 +- .../fzf/badlands-monobiome-light.active.theme | 23 + .../fzf/chaparral-monobiome-dark.active.theme | 13 +- .../chaparral-monobiome-light.active.theme | 23 + .../fzf/grassland-monobiome-dark.active.theme | 13 +- .../grassland-monobiome-light.active.theme | 23 + ...hard-grassland-monobiome-dark.active.theme | 17 +- ...ard-grassland-monobiome-light.active.theme | 23 + .../fzf/hard-monobiome-dark.active.theme | 5 +- .../fzf/hard-monobiome-light.active.theme | 23 + .../hard-savanna-monobiome-dark.active.theme | 17 +- .../hard-savanna-monobiome-light.active.theme | 23 + .../hard-tundra-monobiome-dark.active.theme | 17 +- .../hard-tundra-monobiome-light.active.theme | 23 + .../fzf/monobiome-dark.active.theme | 1 + .../fzf/monobiome-light.active.theme | 17 +- .../fzf/savanna-monobiome-dark.active.theme | 23 + .../fzf/savanna-monobiome-light.active.theme | 23 + ...soft-grassland-monobiome-dark.active.theme | 13 +- ...oft-grassland-monobiome-light.active.theme | 23 + .../fzf/soft-monobiome-dark.active.theme | 1 + .../fzf/soft-monobiome-light.active.theme | 17 +- .../soft-savanna-monobiome-dark.active.theme | 13 +- .../soft-savanna-monobiome-light.active.theme | 23 + .../soft-tundra-monobiome-dark.active.theme | 13 +- .../soft-tundra-monobiome-light.active.theme | 23 + .../fzf/tundra-monobiome-dark.active.theme | 23 + .../fzf/tundra-monobiome-light.active.theme | 23 + .../badlands-monobiome-dark.active.theme | 25 +- .../badlands-monobiome-light.active.theme | 41 + .../chaparral-monobiome-dark.active.theme | 25 +- .../chaparral-monobiome-light.active.theme | 41 + .../grassland-monobiome-dark.active.theme | 25 +- .../grassland-monobiome-light.active.theme | 41 + ...hard-grassland-monobiome-dark.active.theme | 41 + ...ard-grassland-monobiome-light.active.theme | 41 + .../kitty/hard-monobiome-dark.active.theme | 11 +- .../kitty/hard-monobiome-light.active.theme | 41 + .../hard-savanna-monobiome-dark.active.theme | 41 + .../hard-savanna-monobiome-light.active.theme | 41 + .../hard-tundra-monobiome-dark.active.theme | 41 + .../hard-tundra-monobiome-light.active.theme | 41 + .../kitty/monobiome-dark.active.theme | 7 +- app-config/kitty/monobiome-light.active.theme | 41 + .../kitty/savanna-monobiome-dark.active.theme | 41 + .../savanna-monobiome-light.active.theme | 41 + ...soft-grassland-monobiome-dark.active.theme | 25 +- ...oft-grassland-monobiome-light.active.theme | 41 + .../kitty/soft-monobiome-dark.active.theme | 7 +- .../kitty/soft-monobiome-light.active.theme | 41 + .../soft-savanna-monobiome-dark.active.theme | 25 +- .../soft-savanna-monobiome-light.active.theme | 41 + .../soft-tundra-monobiome-dark.active.theme | 25 +- .../soft-tundra-monobiome-light.active.theme | 41 + .../kitty/tundra-monobiome-dark.active.theme | 41 + .../kitty/tundra-monobiome-light.active.theme | 41 + .../nvim/badlands-monobiome-dark.theme.vim | 467 ++++---- .../nvim/badlands-monobiome-light.theme.vim | 479 +++++---- .../nvim/chaparral-monobiome-dark.theme.vim | 467 ++++---- .../nvim/chaparral-monobiome-light.theme.vim | 479 +++++---- .../nvim/grassland-monobiome-dark.theme.vim | 995 ++++++++++++++++++ .../nvim/grassland-monobiome-light.theme.vim | 479 +++++---- .../hard-grassland-monobiome-dark.theme.vim | 483 +++++---- .../hard-grassland-monobiome-light.theme.vim | 483 +++++---- .../nvim/hard-monobiome-dark.theme.vim | 435 +++++--- .../nvim/hard-monobiome-light.theme.vim | 483 +++++---- .../hard-savanna-monobiome-dark.theme.vim | 483 +++++---- .../hard-savanna-monobiome-light.theme.vim | 483 +++++---- .../nvim/hard-tundra-monobiome-dark.theme.vim | 483 +++++---- .../hard-tundra-monobiome-light.theme.vim | 483 +++++---- .../nvim/monobiome-dark.theme.vim | 419 +++++--- .../nvim/monobiome-light.theme.vim | 479 +++++---- .../nvim/savanna-monobiome-dark.theme.vim | 467 ++++---- .../nvim/savanna-monobiome-light.theme.vim | 995 ++++++++++++++++++ .../soft-grassland-monobiome-dark.theme.vim | 467 ++++---- .../soft-grassland-monobiome-light.theme.vim | 479 +++++---- .../nvim/soft-monobiome-dark.theme.vim | 419 +++++--- .../nvim/soft-monobiome-light.theme.vim | 479 +++++---- .../soft-savanna-monobiome-dark.theme.vim | 467 ++++---- .../soft-savanna-monobiome-light.theme.vim | 479 +++++---- .../nvim/soft-tundra-monobiome-dark.theme.vim | 467 ++++---- .../soft-tundra-monobiome-light.theme.vim | 479 +++++---- .../nvim/tundra-monobiome-dark.theme.vim | 995 ++++++++++++++++++ .../nvim/tundra-monobiome-light.theme.vim | 995 ++++++++++++++++++ apps/fzf/grassland-monobiome-light.theme | 22 - apps/fzf/hard-grassland-monobiome-light.theme | 22 - apps/fzf/hard-savanna-monobiome-light.theme | 22 - apps/fzf/hard-tundra-monobiome-light.theme | 22 - apps/fzf/savanna-monobiome-light.theme | 22 - apps/fzf/soft-grassland-monobiome-light.theme | 22 - apps/fzf/soft-monobiome-light.theme | 22 - apps/fzf/soft-savanna-monobiome-light.theme | 22 - apps/fzf/soft-tundra-monobiome-light.theme | 22 - apps/fzf/tundra-monobiome-light.theme | 22 - apps/kitty/grassland-monobiome-light.theme | 42 - .../kitty/hard-grassland-monobiome-dark.theme | 42 - .../hard-grassland-monobiome-light.theme | 42 - apps/kitty/hard-monobiome-light.theme | 42 - apps/kitty/hard-savanna-monobiome-dark.theme | 42 - apps/kitty/hard-savanna-monobiome-light.theme | 42 - apps/kitty/hard-tundra-monobiome-dark.theme | 42 - apps/kitty/hard-tundra-monobiome-light.theme | 42 - apps/kitty/monobiome-light.theme | 42 - apps/kitty/savanna-monobiome-light.theme | 42 - .../soft-grassland-monobiome-light.theme | 42 - apps/kitty/soft-monobiome-light.theme | 42 - apps/kitty/soft-savanna-monobiome-light.theme | 42 - apps/kitty/soft-tundra-monobiome-light.theme | 42 - apps/kitty/tundra-monobiome-light.theme | 42 - apps/symconf/badlands-monobiome-dark.toml | 72 -- .../grassland-monobiome-dark.statusline.vim | 110 -- .../grassland-monobiome-light.statusline.vim | 110 -- ...rd-grassland-monobiome-dark.statusline.vim | 110 -- ...d-grassland-monobiome-light.statusline.vim | 110 -- .../hard-monobiome-dark.statusline.vim | 110 -- .../hard-monobiome-light.statusline.vim | 110 -- ...hard-savanna-monobiome-dark.statusline.vim | 110 -- ...ard-savanna-monobiome-light.statusline.vim | 110 -- .../hard-tundra-monobiome-dark.statusline.vim | 110 -- ...hard-tundra-monobiome-light.statusline.vim | 110 -- .../vim-airline/monobiome-dark.statusline.vim | 110 -- .../monobiome-light.statusline.vim | 110 -- .../savanna-monobiome-dark.statusline.vim | 110 -- .../savanna-monobiome-light.statusline.vim | 110 -- ...ft-grassland-monobiome-dark.statusline.vim | 110 -- ...t-grassland-monobiome-light.statusline.vim | 110 -- .../soft-monobiome-dark.statusline.vim | 110 -- .../soft-monobiome-light.statusline.vim | 110 -- ...soft-savanna-monobiome-dark.statusline.vim | 110 -- ...oft-savanna-monobiome-light.statusline.vim | 110 -- .../soft-tundra-monobiome-dark.statusline.vim | 110 -- ...soft-tundra-monobiome-light.statusline.vim | 110 -- .../tundra-monobiome-dark.statusline.vim | 110 -- .../tundra-monobiome-light.statusline.vim | 110 -- templates/app_registry.toml | 3 + templates/apps/fzf/templates/active.theme | 23 + templates/apps/kitty/templates/active.theme | 41 + templates/apps/nvim/templates/theme.vim | 995 ++++++++++++++++++ templates/groups/palette/monobiome.toml | 219 ++++ .../groups/theme/badlands-monobiome-dark.toml | 87 ++ .../theme/badlands-monobiome-light.toml | 87 ++ .../theme/chaparral-monobiome-dark.toml | 87 ++ .../theme/chaparral-monobiome-light.toml | 87 ++ .../theme}/grassland-monobiome-dark.toml | 0 .../theme}/grassland-monobiome-light.toml | 0 .../theme}/hard-grassland-monobiome-dark.toml | 0 .../hard-grassland-monobiome-light.toml | 0 .../groups/theme}/hard-monobiome-dark.toml | 0 .../groups/theme}/hard-monobiome-light.toml | 0 .../theme}/hard-savanna-monobiome-dark.toml | 0 .../theme}/hard-savanna-monobiome-light.toml | 0 .../theme}/hard-tundra-monobiome-dark.toml | 0 .../theme}/hard-tundra-monobiome-light.toml | 0 .../groups/theme}/monobiome-dark.toml | 0 .../groups/theme}/monobiome-light.toml | 0 .../groups/theme}/savanna-monobiome-dark.toml | 0 .../theme}/savanna-monobiome-light.toml | 0 .../theme}/soft-grassland-monobiome-dark.toml | 0 .../soft-grassland-monobiome-light.toml | 0 .../groups/theme}/soft-monobiome-dark.toml | 0 .../groups/theme}/soft-monobiome-light.toml | 0 .../theme}/soft-savanna-monobiome-dark.toml | 0 .../theme}/soft-savanna-monobiome-light.toml | 0 .../theme}/soft-tundra-monobiome-dark.toml | 0 .../theme}/soft-tundra-monobiome-light.toml | 0 .../groups/theme}/tundra-monobiome-dark.toml | 0 .../groups/theme}/tundra-monobiome-light.toml | 0 .../badlands-monobiome-dark.active.theme | 41 + .../badlands-monobiome-light.active.theme | 41 + .../chaparral-monobiome-dark.active.theme | 41 + .../chaparral-monobiome-light.active.theme | 41 + .../grassland-monobiome-dark.active.theme | 41 + .../grassland-monobiome-light.active.theme | 41 + ...hard-grassland-monobiome-dark.active.theme | 41 + ...ard-grassland-monobiome-light.active.theme | 41 + .../kitty/hard-monobiome-dark.active.theme | 41 + .../kitty/hard-monobiome-light.active.theme | 41 + .../hard-savanna-monobiome-dark.active.theme | 41 + .../hard-savanna-monobiome-light.active.theme | 41 + .../hard-tundra-monobiome-dark.active.theme | 41 + .../hard-tundra-monobiome-light.active.theme | 41 + test_out/kitty/monobiome-dark.active.theme | 41 + test_out/kitty/monobiome-light.active.theme | 41 + .../kitty/savanna-monobiome-dark.active.theme | 41 + .../savanna-monobiome-light.active.theme | 41 + ...soft-grassland-monobiome-dark.active.theme | 41 + ...oft-grassland-monobiome-light.active.theme | 41 + .../kitty/soft-monobiome-dark.active.theme | 41 + .../kitty/soft-monobiome-light.active.theme | 41 + .../soft-savanna-monobiome-dark.active.theme | 41 + .../soft-savanna-monobiome-light.active.theme | 41 + .../soft-tundra-monobiome-dark.active.theme | 41 + .../soft-tundra-monobiome-light.active.theme | 41 + .../kitty/tundra-monobiome-dark.active.theme | 41 + .../kitty/tundra-monobiome-light.active.theme | 41 + 203 files changed, 15033 insertions(+), 8020 deletions(-) rename {apps => app-config}/firefox/grassland-monobiome-dark.xpi (100%) rename {apps => app-config}/firefox/grassland-monobiome-light.xpi (100%) rename {apps => app-config}/firefox/monobiome-dark.xpi (100%) rename {apps => app-config}/firefox/monobiome-light.xpi (100%) rename {apps => app-config}/firefox/savanna-monobiome-dark.xpi (100%) rename {apps => app-config}/firefox/savanna-monobiome-light.xpi (100%) rename {apps => app-config}/firefox/tundra-monobiome-dark.xpi (100%) rename {apps => app-config}/firefox/tundra-monobiome-light.xpi (100%) rename apps/fzf/grassland-monobiome-dark.theme => app-config/fzf/badlands-monobiome-dark.active.theme (73%) create mode 100644 app-config/fzf/badlands-monobiome-light.active.theme rename apps/fzf/savanna-monobiome-dark.theme => app-config/fzf/chaparral-monobiome-dark.active.theme (73%) create mode 100644 app-config/fzf/chaparral-monobiome-light.active.theme rename apps/fzf/tundra-monobiome-dark.theme => app-config/fzf/grassland-monobiome-dark.active.theme (73%) create mode 100644 app-config/fzf/grassland-monobiome-light.active.theme rename apps/fzf/hard-savanna-monobiome-dark.theme => app-config/fzf/hard-grassland-monobiome-dark.active.theme (63%) create mode 100644 app-config/fzf/hard-grassland-monobiome-light.active.theme rename apps/fzf/hard-monobiome-dark.theme => app-config/fzf/hard-monobiome-dark.active.theme (89%) create mode 100644 app-config/fzf/hard-monobiome-light.active.theme rename apps/fzf/hard-grassland-monobiome-dark.theme => app-config/fzf/hard-savanna-monobiome-dark.active.theme (63%) create mode 100644 app-config/fzf/hard-savanna-monobiome-light.active.theme rename apps/fzf/hard-tundra-monobiome-dark.theme => app-config/fzf/hard-tundra-monobiome-dark.active.theme (63%) create mode 100644 app-config/fzf/hard-tundra-monobiome-light.active.theme rename apps/fzf/monobiome-dark.theme => app-config/fzf/monobiome-dark.active.theme (99%) rename apps/fzf/hard-monobiome-light.theme => app-config/fzf/monobiome-light.active.theme (62%) create mode 100644 app-config/fzf/savanna-monobiome-dark.active.theme create mode 100644 app-config/fzf/savanna-monobiome-light.active.theme rename apps/fzf/soft-grassland-monobiome-dark.theme => app-config/fzf/soft-grassland-monobiome-dark.active.theme (73%) create mode 100644 app-config/fzf/soft-grassland-monobiome-light.active.theme rename apps/fzf/soft-monobiome-dark.theme => app-config/fzf/soft-monobiome-dark.active.theme (99%) rename apps/fzf/monobiome-light.theme => app-config/fzf/soft-monobiome-light.active.theme (62%) rename apps/fzf/soft-savanna-monobiome-dark.theme => app-config/fzf/soft-savanna-monobiome-dark.active.theme (73%) create mode 100644 app-config/fzf/soft-savanna-monobiome-light.active.theme rename apps/fzf/soft-tundra-monobiome-dark.theme => app-config/fzf/soft-tundra-monobiome-dark.active.theme (73%) create mode 100644 app-config/fzf/soft-tundra-monobiome-light.active.theme create mode 100644 app-config/fzf/tundra-monobiome-dark.active.theme create mode 100644 app-config/fzf/tundra-monobiome-light.active.theme rename apps/kitty/grassland-monobiome-dark.theme => app-config/kitty/badlands-monobiome-dark.active.theme (54%) create mode 100644 app-config/kitty/badlands-monobiome-light.active.theme rename apps/kitty/savanna-monobiome-dark.theme => app-config/kitty/chaparral-monobiome-dark.active.theme (54%) create mode 100644 app-config/kitty/chaparral-monobiome-light.active.theme rename apps/kitty/tundra-monobiome-dark.theme => app-config/kitty/grassland-monobiome-dark.active.theme (54%) create mode 100644 app-config/kitty/grassland-monobiome-light.active.theme create mode 100644 app-config/kitty/hard-grassland-monobiome-dark.active.theme create mode 100644 app-config/kitty/hard-grassland-monobiome-light.active.theme rename apps/kitty/hard-monobiome-dark.theme => app-config/kitty/hard-monobiome-dark.active.theme (82%) create mode 100644 app-config/kitty/hard-monobiome-light.active.theme create mode 100644 app-config/kitty/hard-savanna-monobiome-dark.active.theme create mode 100644 app-config/kitty/hard-savanna-monobiome-light.active.theme create mode 100644 app-config/kitty/hard-tundra-monobiome-dark.active.theme create mode 100644 app-config/kitty/hard-tundra-monobiome-light.active.theme rename apps/kitty/monobiome-dark.theme => app-config/kitty/monobiome-dark.active.theme (90%) create mode 100644 app-config/kitty/monobiome-light.active.theme create mode 100644 app-config/kitty/savanna-monobiome-dark.active.theme create mode 100644 app-config/kitty/savanna-monobiome-light.active.theme rename apps/kitty/soft-grassland-monobiome-dark.theme => app-config/kitty/soft-grassland-monobiome-dark.active.theme (54%) create mode 100644 app-config/kitty/soft-grassland-monobiome-light.active.theme rename apps/kitty/soft-monobiome-dark.theme => app-config/kitty/soft-monobiome-dark.active.theme (90%) create mode 100644 app-config/kitty/soft-monobiome-light.active.theme rename apps/kitty/soft-tundra-monobiome-dark.theme => app-config/kitty/soft-savanna-monobiome-dark.active.theme (54%) create mode 100644 app-config/kitty/soft-savanna-monobiome-light.active.theme rename apps/kitty/soft-savanna-monobiome-dark.theme => app-config/kitty/soft-tundra-monobiome-dark.active.theme (54%) create mode 100644 app-config/kitty/soft-tundra-monobiome-light.active.theme create mode 100644 app-config/kitty/tundra-monobiome-dark.active.theme create mode 100644 app-config/kitty/tundra-monobiome-light.active.theme rename apps/nvim/savanna-monobiome-dark.vim => app-config/nvim/badlands-monobiome-dark.theme.vim (75%) rename apps/nvim/savanna-monobiome-light.vim => app-config/nvim/badlands-monobiome-light.theme.vim (74%) rename apps/nvim/tundra-monobiome-dark.vim => app-config/nvim/chaparral-monobiome-dark.theme.vim (75%) rename apps/nvim/grassland-monobiome-light.vim => app-config/nvim/chaparral-monobiome-light.theme.vim (74%) create mode 100644 app-config/nvim/grassland-monobiome-dark.theme.vim rename apps/nvim/monobiome-light.vim => app-config/nvim/grassland-monobiome-light.theme.vim (74%) rename apps/nvim/hard-savanna-monobiome-dark.vim => app-config/nvim/hard-grassland-monobiome-dark.theme.vim (74%) rename apps/nvim/hard-grassland-monobiome-light.vim => app-config/nvim/hard-grassland-monobiome-light.theme.vim (74%) rename apps/nvim/hard-monobiome-dark.vim => app-config/nvim/hard-monobiome-dark.theme.vim (76%) rename apps/nvim/hard-monobiome-light.vim => app-config/nvim/hard-monobiome-light.theme.vim (74%) rename apps/nvim/hard-grassland-monobiome-dark.vim => app-config/nvim/hard-savanna-monobiome-dark.theme.vim (74%) rename apps/nvim/hard-savanna-monobiome-light.vim => app-config/nvim/hard-savanna-monobiome-light.theme.vim (74%) rename apps/nvim/hard-tundra-monobiome-dark.vim => app-config/nvim/hard-tundra-monobiome-dark.theme.vim (74%) rename apps/nvim/hard-tundra-monobiome-light.vim => app-config/nvim/hard-tundra-monobiome-light.theme.vim (74%) rename apps/nvim/monobiome-dark.vim => app-config/nvim/monobiome-dark.theme.vim (76%) rename apps/nvim/tundra-monobiome-light.vim => app-config/nvim/monobiome-light.theme.vim (74%) rename apps/nvim/grassland-monobiome-dark.vim => app-config/nvim/savanna-monobiome-dark.theme.vim (75%) create mode 100644 app-config/nvim/savanna-monobiome-light.theme.vim rename apps/nvim/soft-grassland-monobiome-dark.vim => app-config/nvim/soft-grassland-monobiome-dark.theme.vim (75%) rename apps/nvim/soft-savanna-monobiome-light.vim => app-config/nvim/soft-grassland-monobiome-light.theme.vim (74%) rename apps/nvim/soft-monobiome-dark.vim => app-config/nvim/soft-monobiome-dark.theme.vim (76%) rename apps/nvim/soft-monobiome-light.vim => app-config/nvim/soft-monobiome-light.theme.vim (74%) rename apps/nvim/soft-savanna-monobiome-dark.vim => app-config/nvim/soft-savanna-monobiome-dark.theme.vim (75%) rename apps/nvim/soft-grassland-monobiome-light.vim => app-config/nvim/soft-savanna-monobiome-light.theme.vim (74%) rename apps/nvim/soft-tundra-monobiome-dark.vim => app-config/nvim/soft-tundra-monobiome-dark.theme.vim (75%) rename apps/nvim/soft-tundra-monobiome-light.vim => app-config/nvim/soft-tundra-monobiome-light.theme.vim (74%) create mode 100644 app-config/nvim/tundra-monobiome-dark.theme.vim create mode 100644 app-config/nvim/tundra-monobiome-light.theme.vim delete mode 100644 apps/fzf/grassland-monobiome-light.theme delete mode 100644 apps/fzf/hard-grassland-monobiome-light.theme delete mode 100644 apps/fzf/hard-savanna-monobiome-light.theme delete mode 100644 apps/fzf/hard-tundra-monobiome-light.theme delete mode 100644 apps/fzf/savanna-monobiome-light.theme delete mode 100644 apps/fzf/soft-grassland-monobiome-light.theme delete mode 100644 apps/fzf/soft-monobiome-light.theme delete mode 100644 apps/fzf/soft-savanna-monobiome-light.theme delete mode 100644 apps/fzf/soft-tundra-monobiome-light.theme delete mode 100644 apps/fzf/tundra-monobiome-light.theme delete mode 100644 apps/kitty/grassland-monobiome-light.theme delete mode 100644 apps/kitty/hard-grassland-monobiome-dark.theme delete mode 100644 apps/kitty/hard-grassland-monobiome-light.theme delete mode 100644 apps/kitty/hard-monobiome-light.theme delete mode 100644 apps/kitty/hard-savanna-monobiome-dark.theme delete mode 100644 apps/kitty/hard-savanna-monobiome-light.theme delete mode 100644 apps/kitty/hard-tundra-monobiome-dark.theme delete mode 100644 apps/kitty/hard-tundra-monobiome-light.theme delete mode 100644 apps/kitty/monobiome-light.theme delete mode 100644 apps/kitty/savanna-monobiome-light.theme delete mode 100644 apps/kitty/soft-grassland-monobiome-light.theme delete mode 100644 apps/kitty/soft-monobiome-light.theme delete mode 100644 apps/kitty/soft-savanna-monobiome-light.theme delete mode 100644 apps/kitty/soft-tundra-monobiome-light.theme delete mode 100644 apps/kitty/tundra-monobiome-light.theme delete mode 100644 apps/symconf/badlands-monobiome-dark.toml delete mode 100644 apps/vim-airline/grassland-monobiome-dark.statusline.vim delete mode 100644 apps/vim-airline/grassland-monobiome-light.statusline.vim delete mode 100644 apps/vim-airline/hard-grassland-monobiome-dark.statusline.vim delete mode 100644 apps/vim-airline/hard-grassland-monobiome-light.statusline.vim delete mode 100644 apps/vim-airline/hard-monobiome-dark.statusline.vim delete mode 100644 apps/vim-airline/hard-monobiome-light.statusline.vim delete mode 100644 apps/vim-airline/hard-savanna-monobiome-dark.statusline.vim delete mode 100644 apps/vim-airline/hard-savanna-monobiome-light.statusline.vim delete mode 100644 apps/vim-airline/hard-tundra-monobiome-dark.statusline.vim delete mode 100644 apps/vim-airline/hard-tundra-monobiome-light.statusline.vim delete mode 100644 apps/vim-airline/monobiome-dark.statusline.vim delete mode 100644 apps/vim-airline/monobiome-light.statusline.vim delete mode 100644 apps/vim-airline/savanna-monobiome-dark.statusline.vim delete mode 100644 apps/vim-airline/savanna-monobiome-light.statusline.vim delete mode 100644 apps/vim-airline/soft-grassland-monobiome-dark.statusline.vim delete mode 100644 apps/vim-airline/soft-grassland-monobiome-light.statusline.vim delete mode 100644 apps/vim-airline/soft-monobiome-dark.statusline.vim delete mode 100644 apps/vim-airline/soft-monobiome-light.statusline.vim delete mode 100644 apps/vim-airline/soft-savanna-monobiome-dark.statusline.vim delete mode 100644 apps/vim-airline/soft-savanna-monobiome-light.statusline.vim delete mode 100644 apps/vim-airline/soft-tundra-monobiome-dark.statusline.vim delete mode 100644 apps/vim-airline/soft-tundra-monobiome-light.statusline.vim delete mode 100644 apps/vim-airline/tundra-monobiome-dark.statusline.vim delete mode 100644 apps/vim-airline/tundra-monobiome-light.statusline.vim create mode 100644 templates/app_registry.toml create mode 100644 templates/apps/fzf/templates/active.theme create mode 100644 templates/apps/kitty/templates/active.theme create mode 100644 templates/apps/nvim/templates/theme.vim create mode 100644 templates/groups/palette/monobiome.toml create mode 100644 templates/groups/theme/badlands-monobiome-dark.toml create mode 100644 templates/groups/theme/badlands-monobiome-light.toml create mode 100644 templates/groups/theme/chaparral-monobiome-dark.toml create mode 100644 templates/groups/theme/chaparral-monobiome-light.toml rename {apps/symconf => templates/groups/theme}/grassland-monobiome-dark.toml (100%) rename {apps/symconf => templates/groups/theme}/grassland-monobiome-light.toml (100%) rename {apps/symconf => templates/groups/theme}/hard-grassland-monobiome-dark.toml (100%) rename {apps/symconf => templates/groups/theme}/hard-grassland-monobiome-light.toml (100%) rename {apps/symconf => templates/groups/theme}/hard-monobiome-dark.toml (100%) rename {apps/symconf => templates/groups/theme}/hard-monobiome-light.toml (100%) rename {apps/symconf => templates/groups/theme}/hard-savanna-monobiome-dark.toml (100%) rename {apps/symconf => templates/groups/theme}/hard-savanna-monobiome-light.toml (100%) rename {apps/symconf => templates/groups/theme}/hard-tundra-monobiome-dark.toml (100%) rename {apps/symconf => templates/groups/theme}/hard-tundra-monobiome-light.toml (100%) rename {apps/symconf => templates/groups/theme}/monobiome-dark.toml (100%) rename {apps/symconf => templates/groups/theme}/monobiome-light.toml (100%) rename {apps/symconf => templates/groups/theme}/savanna-monobiome-dark.toml (100%) rename {apps/symconf => templates/groups/theme}/savanna-monobiome-light.toml (100%) rename {apps/symconf => templates/groups/theme}/soft-grassland-monobiome-dark.toml (100%) rename {apps/symconf => templates/groups/theme}/soft-grassland-monobiome-light.toml (100%) rename {apps/symconf => templates/groups/theme}/soft-monobiome-dark.toml (100%) rename {apps/symconf => templates/groups/theme}/soft-monobiome-light.toml (100%) rename {apps/symconf => templates/groups/theme}/soft-savanna-monobiome-dark.toml (100%) rename {apps/symconf => templates/groups/theme}/soft-savanna-monobiome-light.toml (100%) rename {apps/symconf => templates/groups/theme}/soft-tundra-monobiome-dark.toml (100%) rename {apps/symconf => templates/groups/theme}/soft-tundra-monobiome-light.toml (100%) rename {apps/symconf => templates/groups/theme}/tundra-monobiome-dark.toml (100%) rename {apps/symconf => templates/groups/theme}/tundra-monobiome-light.toml (100%) create mode 100644 test_out/kitty/badlands-monobiome-dark.active.theme create mode 100644 test_out/kitty/badlands-monobiome-light.active.theme create mode 100644 test_out/kitty/chaparral-monobiome-dark.active.theme create mode 100644 test_out/kitty/chaparral-monobiome-light.active.theme create mode 100644 test_out/kitty/grassland-monobiome-dark.active.theme create mode 100644 test_out/kitty/grassland-monobiome-light.active.theme create mode 100644 test_out/kitty/hard-grassland-monobiome-dark.active.theme create mode 100644 test_out/kitty/hard-grassland-monobiome-light.active.theme create mode 100644 test_out/kitty/hard-monobiome-dark.active.theme create mode 100644 test_out/kitty/hard-monobiome-light.active.theme create mode 100644 test_out/kitty/hard-savanna-monobiome-dark.active.theme create mode 100644 test_out/kitty/hard-savanna-monobiome-light.active.theme create mode 100644 test_out/kitty/hard-tundra-monobiome-dark.active.theme create mode 100644 test_out/kitty/hard-tundra-monobiome-light.active.theme create mode 100644 test_out/kitty/monobiome-dark.active.theme create mode 100644 test_out/kitty/monobiome-light.active.theme create mode 100644 test_out/kitty/savanna-monobiome-dark.active.theme create mode 100644 test_out/kitty/savanna-monobiome-light.active.theme create mode 100644 test_out/kitty/soft-grassland-monobiome-dark.active.theme create mode 100644 test_out/kitty/soft-grassland-monobiome-light.active.theme create mode 100644 test_out/kitty/soft-monobiome-dark.active.theme create mode 100644 test_out/kitty/soft-monobiome-light.active.theme create mode 100644 test_out/kitty/soft-savanna-monobiome-dark.active.theme create mode 100644 test_out/kitty/soft-savanna-monobiome-light.active.theme create mode 100644 test_out/kitty/soft-tundra-monobiome-dark.active.theme create mode 100644 test_out/kitty/soft-tundra-monobiome-light.active.theme create mode 100644 test_out/kitty/tundra-monobiome-dark.active.theme create mode 100644 test_out/kitty/tundra-monobiome-light.active.theme diff --git a/apps/firefox/grassland-monobiome-dark.xpi b/app-config/firefox/grassland-monobiome-dark.xpi similarity index 100% rename from apps/firefox/grassland-monobiome-dark.xpi rename to app-config/firefox/grassland-monobiome-dark.xpi diff --git a/apps/firefox/grassland-monobiome-light.xpi b/app-config/firefox/grassland-monobiome-light.xpi similarity index 100% rename from apps/firefox/grassland-monobiome-light.xpi rename to app-config/firefox/grassland-monobiome-light.xpi diff --git a/apps/firefox/monobiome-dark.xpi b/app-config/firefox/monobiome-dark.xpi similarity index 100% rename from apps/firefox/monobiome-dark.xpi rename to app-config/firefox/monobiome-dark.xpi diff --git a/apps/firefox/monobiome-light.xpi b/app-config/firefox/monobiome-light.xpi similarity index 100% rename from apps/firefox/monobiome-light.xpi rename to app-config/firefox/monobiome-light.xpi diff --git a/apps/firefox/savanna-monobiome-dark.xpi b/app-config/firefox/savanna-monobiome-dark.xpi similarity index 100% rename from apps/firefox/savanna-monobiome-dark.xpi rename to app-config/firefox/savanna-monobiome-dark.xpi diff --git a/apps/firefox/savanna-monobiome-light.xpi b/app-config/firefox/savanna-monobiome-light.xpi similarity index 100% rename from apps/firefox/savanna-monobiome-light.xpi rename to app-config/firefox/savanna-monobiome-light.xpi diff --git a/apps/firefox/tundra-monobiome-dark.xpi b/app-config/firefox/tundra-monobiome-dark.xpi similarity index 100% rename from apps/firefox/tundra-monobiome-dark.xpi rename to app-config/firefox/tundra-monobiome-dark.xpi diff --git a/apps/firefox/tundra-monobiome-light.xpi b/app-config/firefox/tundra-monobiome-light.xpi similarity index 100% rename from apps/firefox/tundra-monobiome-light.xpi rename to app-config/firefox/tundra-monobiome-light.xpi diff --git a/apps/fzf/grassland-monobiome-dark.theme b/app-config/fzf/badlands-monobiome-dark.active.theme similarity index 73% rename from apps/fzf/grassland-monobiome-dark.theme rename to app-config/fzf/badlands-monobiome-dark.active.theme index 8b4a632..3ed1bd8 100644 --- a/apps/fzf/grassland-monobiome-dark.theme +++ b/app-config/fzf/badlands-monobiome-dark.active.theme @@ -1,8 +1,8 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#d7e0dd - --color=fg+:#c7d0cc - --color=bg:#1d2321 - --color=bg+:#29302d + --color=fg:#e5dbda + --color=fg+:#d5cbca + --color=bg:#27201f + --color=bg+:#332c2b --color=hl:#658ed9 --color=hl+:#8daeeb @@ -14,9 +14,10 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --color=pointer:#e95949 --color=header:#80c089 - --color=border:#29302d + --color=border:#332c2b --color=label:#aeaeae - --color=query:#d7e0dd + --color=query:#e5dbda --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/badlands-monobiome-light.active.theme b/app-config/fzf/badlands-monobiome-light.active.theme new file mode 100644 index 0000000..b0bd763 --- /dev/null +++ b/app-config/fzf/badlands-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#27201f + --color=fg+:#332c2b + --color=bg:#e5dbda + --color=bg+:#d5cbca + + --color=hl:#3860ac + --color=hl+:#234485 + --color=info:#6a6535 + --color=marker:#25532e + + --color=prompt:#b42219 + --color=spinner:#6a6535 + --color=pointer:#b42219 + --color=header:#25532e + + --color=border:#d5cbca + --color=label:#aeaeae + --color=query:#27201f + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/apps/fzf/savanna-monobiome-dark.theme b/app-config/fzf/chaparral-monobiome-dark.active.theme similarity index 73% rename from apps/fzf/savanna-monobiome-dark.theme rename to app-config/fzf/chaparral-monobiome-dark.active.theme index e0b3271..c255690 100644 --- a/apps/fzf/savanna-monobiome-dark.theme +++ b/app-config/fzf/chaparral-monobiome-dark.active.theme @@ -1,8 +1,8 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#e1ded6 - --color=fg+:#d0cec6 - --color=bg:#24211c - --color=bg+:#302e28 + --color=fg:#e4ddd7 + --color=fg+:#d3ccc7 + --color=bg:#26211c + --color=bg+:#322d28 --color=hl:#658ed9 --color=hl+:#8daeeb @@ -14,9 +14,10 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --color=pointer:#e95949 --color=header:#80c089 - --color=border:#302e28 + --color=border:#322d28 --color=label:#aeaeae - --color=query:#e1ded6 + --color=query:#e4ddd7 --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/chaparral-monobiome-light.active.theme b/app-config/fzf/chaparral-monobiome-light.active.theme new file mode 100644 index 0000000..321eac7 --- /dev/null +++ b/app-config/fzf/chaparral-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#26211c + --color=fg+:#322d28 + --color=bg:#e4ddd7 + --color=bg+:#d3ccc7 + + --color=hl:#3860ac + --color=hl+:#234485 + --color=info:#6a6535 + --color=marker:#25532e + + --color=prompt:#b42219 + --color=spinner:#6a6535 + --color=pointer:#b42219 + --color=header:#25532e + + --color=border:#d3ccc7 + --color=label:#aeaeae + --color=query:#26211c + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/apps/fzf/tundra-monobiome-dark.theme b/app-config/fzf/grassland-monobiome-dark.active.theme similarity index 73% rename from apps/fzf/tundra-monobiome-dark.theme rename to app-config/fzf/grassland-monobiome-dark.active.theme index 5fc82cc..9125e78 100644 --- a/apps/fzf/tundra-monobiome-dark.theme +++ b/app-config/fzf/grassland-monobiome-dark.active.theme @@ -1,8 +1,8 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#d9dfe5 - --color=fg+:#c8ced5 - --color=bg:#1e2227 - --color=bg+:#2a2e33 + --color=fg:#d9e0da + --color=fg+:#c9d0ca + --color=bg:#1e231f + --color=bg+:#2a2f2b --color=hl:#658ed9 --color=hl+:#8daeeb @@ -14,9 +14,10 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --color=pointer:#e95949 --color=header:#80c089 - --color=border:#2a2e33 + --color=border:#2a2f2b --color=label:#aeaeae - --color=query:#d9dfe5 + --color=query:#d9e0da --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/grassland-monobiome-light.active.theme b/app-config/fzf/grassland-monobiome-light.active.theme new file mode 100644 index 0000000..d7e93d5 --- /dev/null +++ b/app-config/fzf/grassland-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#1e231f + --color=fg+:#2a2f2b + --color=bg:#d9e0da + --color=bg+:#c9d0ca + + --color=hl:#3860ac + --color=hl+:#234485 + --color=info:#6a6535 + --color=marker:#25532e + + --color=prompt:#b42219 + --color=spinner:#6a6535 + --color=pointer:#b42219 + --color=header:#25532e + + --color=border:#c9d0ca + --color=label:#aeaeae + --color=query:#1e231f + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/apps/fzf/hard-savanna-monobiome-dark.theme b/app-config/fzf/hard-grassland-monobiome-dark.active.theme similarity index 63% rename from apps/fzf/hard-savanna-monobiome-dark.theme rename to app-config/fzf/hard-grassland-monobiome-dark.active.theme index 8197e50..15bf0e0 100644 --- a/apps/fzf/hard-savanna-monobiome-dark.theme +++ b/app-config/fzf/hard-grassland-monobiome-dark.active.theme @@ -1,22 +1,23 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#d0cec6 - --color=fg+:#c0bdb6 - --color=bg:#181610 - --color=bg+:#24211c + --color=fg:#c9d0ca + --color=fg+:#b9c0ba + --color=bg:#131713 + --color=bg+:#1e231f --color=hl:#557ecc --color=hl+:#799ee3 --color=info:#888346 --color=marker:#6eb178 - --color=prompt:#dc4134 + --color=prompt:#dc4234 --color=spinner:#888346 - --color=pointer:#dc4134 + --color=pointer:#dc4234 --color=header:#6eb178 - --color=border:#24211c + --color=border:#1e231f --color=label:#aeaeae - --color=query:#d0cec6 + --color=query:#c9d0ca --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/hard-grassland-monobiome-light.active.theme b/app-config/fzf/hard-grassland-monobiome-light.active.theme new file mode 100644 index 0000000..2f05f9f --- /dev/null +++ b/app-config/fzf/hard-grassland-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#2a2f2b + --color=fg+:#373c37 + --color=bg:#eaf1ea + --color=bg+:#d9e0da + + --color=hl:#456fbe + --color=hl+:#2d5299 + --color=info:#79743d + --color=marker:#2e6337 + + --color=prompt:#ca2f24 + --color=spinner:#79743d + --color=pointer:#ca2f24 + --color=header:#2e6337 + + --color=border:#d9e0da + --color=label:#aeaeae + --color=query:#2a2f2b + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/apps/fzf/hard-monobiome-dark.theme b/app-config/fzf/hard-monobiome-dark.active.theme similarity index 89% rename from apps/fzf/hard-monobiome-dark.theme rename to app-config/fzf/hard-monobiome-dark.active.theme index 67dd839..aa5794b 100644 --- a/apps/fzf/hard-monobiome-dark.theme +++ b/app-config/fzf/hard-monobiome-dark.active.theme @@ -9,9 +9,9 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --color=info:#888346 --color=marker:#6eb178 - --color=prompt:#dc4134 + --color=prompt:#dc4234 --color=spinner:#888346 - --color=pointer:#dc4134 + --color=pointer:#dc4234 --color=header:#6eb178 --color=border:#222222 @@ -20,3 +20,4 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/hard-monobiome-light.active.theme b/app-config/fzf/hard-monobiome-light.active.theme new file mode 100644 index 0000000..394d7dc --- /dev/null +++ b/app-config/fzf/hard-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#2e2e2e + --color=fg+:#3a3a3a + --color=bg:#eeeeee + --color=bg+:#dedede + + --color=hl:#456fbe + --color=hl+:#2d5299 + --color=info:#79743d + --color=marker:#2e6337 + + --color=prompt:#ca2f24 + --color=spinner:#79743d + --color=pointer:#ca2f24 + --color=header:#2e6337 + + --color=border:#dedede + --color=label:#aeaeae + --color=query:#2e2e2e + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/apps/fzf/hard-grassland-monobiome-dark.theme b/app-config/fzf/hard-savanna-monobiome-dark.active.theme similarity index 63% rename from apps/fzf/hard-grassland-monobiome-dark.theme rename to app-config/fzf/hard-savanna-monobiome-dark.active.theme index 4bc2bbf..f7aff2c 100644 --- a/apps/fzf/hard-grassland-monobiome-dark.theme +++ b/app-config/fzf/hard-savanna-monobiome-dark.active.theme @@ -1,22 +1,23 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#c7d0cc - --color=fg+:#b7c0bc - --color=bg:#111815 - --color=bg+:#1d2321 + --color=fg:#cfcec6 + --color=fg+:#bfbeb6 + --color=bg:#171611 + --color=bg+:#22221c --color=hl:#557ecc --color=hl+:#799ee3 --color=info:#888346 --color=marker:#6eb178 - --color=prompt:#dc4134 + --color=prompt:#dc4234 --color=spinner:#888346 - --color=pointer:#dc4134 + --color=pointer:#dc4234 --color=header:#6eb178 - --color=border:#1d2321 + --color=border:#22221c --color=label:#aeaeae - --color=query:#c7d0cc + --color=query:#cfcec6 --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/hard-savanna-monobiome-light.active.theme b/app-config/fzf/hard-savanna-monobiome-light.active.theme new file mode 100644 index 0000000..5979af2 --- /dev/null +++ b/app-config/fzf/hard-savanna-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#2f2e28 + --color=fg+:#3b3b34 + --color=bg:#efefe7 + --color=bg+:#dfded6 + + --color=hl:#456fbe + --color=hl+:#2d5299 + --color=info:#79743d + --color=marker:#2e6337 + + --color=prompt:#ca2f24 + --color=spinner:#79743d + --color=pointer:#ca2f24 + --color=header:#2e6337 + + --color=border:#dfded6 + --color=label:#aeaeae + --color=query:#2f2e28 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/apps/fzf/hard-tundra-monobiome-dark.theme b/app-config/fzf/hard-tundra-monobiome-dark.active.theme similarity index 63% rename from apps/fzf/hard-tundra-monobiome-dark.theme rename to app-config/fzf/hard-tundra-monobiome-dark.active.theme index ebe5a8c..ae50428 100644 --- a/apps/fzf/hard-tundra-monobiome-dark.theme +++ b/app-config/fzf/hard-tundra-monobiome-dark.active.theme @@ -1,22 +1,23 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#c8ced5 - --color=fg+:#b9bec5 - --color=bg:#12161b - --color=bg+:#1e2227 + --color=fg:#caced5 + --color=fg+:#babec5 + --color=bg:#13161b + --color=bg+:#1f2227 --color=hl:#557ecc --color=hl+:#799ee3 --color=info:#888346 --color=marker:#6eb178 - --color=prompt:#dc4134 + --color=prompt:#dc4234 --color=spinner:#888346 - --color=pointer:#dc4134 + --color=pointer:#dc4234 --color=header:#6eb178 - --color=border:#1e2227 + --color=border:#1f2227 --color=label:#aeaeae - --color=query:#c8ced5 + --color=query:#caced5 --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/hard-tundra-monobiome-light.active.theme b/app-config/fzf/hard-tundra-monobiome-light.active.theme new file mode 100644 index 0000000..2603b3d --- /dev/null +++ b/app-config/fzf/hard-tundra-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#2b2e33 + --color=fg+:#373b40 + --color=bg:#eaeff6 + --color=bg+:#dadee6 + + --color=hl:#456fbe + --color=hl+:#2d5299 + --color=info:#79743d + --color=marker:#2e6337 + + --color=prompt:#ca2f24 + --color=spinner:#79743d + --color=pointer:#ca2f24 + --color=header:#2e6337 + + --color=border:#dadee6 + --color=label:#aeaeae + --color=query:#2b2e33 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/apps/fzf/monobiome-dark.theme b/app-config/fzf/monobiome-dark.active.theme similarity index 99% rename from apps/fzf/monobiome-dark.theme rename to app-config/fzf/monobiome-dark.active.theme index 32a1cbc..d942348 100644 --- a/apps/fzf/monobiome-dark.theme +++ b/app-config/fzf/monobiome-dark.active.theme @@ -20,3 +20,4 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/apps/fzf/hard-monobiome-light.theme b/app-config/fzf/monobiome-light.active.theme similarity index 62% rename from apps/fzf/hard-monobiome-light.theme rename to app-config/fzf/monobiome-light.active.theme index 9737d31..0667eee 100644 --- a/apps/fzf/hard-monobiome-light.theme +++ b/app-config/fzf/monobiome-light.active.theme @@ -4,15 +4,15 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --color=bg:#dedede --color=bg+:#cecece - --color=hl:#456fbe - --color=hl+:#456fbe - --color=info:#79743d - --color=marker:#42824e + --color=hl:#3860ac + --color=hl+:#234485 + --color=info:#6a6535 + --color=marker:#25532e - --color=prompt:#ca2e23 - --color=spinner:#79743d - --color=pointer:#ca2e23 - --color=header:#42824e + --color=prompt:#b42219 + --color=spinner:#6a6535 + --color=pointer:#b42219 + --color=header:#25532e --color=border:#cecece --color=label:#aeaeae @@ -20,3 +20,4 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/savanna-monobiome-dark.active.theme b/app-config/fzf/savanna-monobiome-dark.active.theme new file mode 100644 index 0000000..235f294 --- /dev/null +++ b/app-config/fzf/savanna-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#dfded6 + --color=fg+:#cfcec6 + --color=bg:#22221c + --color=bg+:#2f2e28 + + --color=hl:#658ed9 + --color=hl+:#8daeeb + --color=info:#989250 + --color=marker:#80c089 + + --color=prompt:#e95949 + --color=spinner:#989250 + --color=pointer:#e95949 + --color=header:#80c089 + + --color=border:#2f2e28 + --color=label:#aeaeae + --color=query:#dfded6 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/savanna-monobiome-light.active.theme b/app-config/fzf/savanna-monobiome-light.active.theme new file mode 100644 index 0000000..7b741c2 --- /dev/null +++ b/app-config/fzf/savanna-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#22221c + --color=fg+:#2f2e28 + --color=bg:#dfded6 + --color=bg+:#cfcec6 + + --color=hl:#3860ac + --color=hl+:#234485 + --color=info:#6a6535 + --color=marker:#25532e + + --color=prompt:#b42219 + --color=spinner:#6a6535 + --color=pointer:#b42219 + --color=header:#25532e + + --color=border:#cfcec6 + --color=label:#aeaeae + --color=query:#22221c + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/apps/fzf/soft-grassland-monobiome-dark.theme b/app-config/fzf/soft-grassland-monobiome-dark.active.theme similarity index 73% rename from apps/fzf/soft-grassland-monobiome-dark.theme rename to app-config/fzf/soft-grassland-monobiome-dark.active.theme index c096076..d46156d 100644 --- a/apps/fzf/soft-grassland-monobiome-dark.theme +++ b/app-config/fzf/soft-grassland-monobiome-dark.active.theme @@ -1,8 +1,8 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#e8f1ed - --color=fg+:#d7e0dd - --color=bg:#29302d - --color=bg+:#353c3a + --color=fg:#eaf1ea + --color=fg+:#d9e0da + --color=bg:#2a2f2b + --color=bg+:#373c37 --color=hl:#799ee3 --color=hl+:#a2bef2 @@ -14,9 +14,10 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --color=pointer:#f37060 --color=header:#94cf9c - --color=border:#353c3a + --color=border:#373c37 --color=label:#aeaeae - --color=query:#e8f1ed + --color=query:#eaf1ea --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/soft-grassland-monobiome-light.active.theme b/app-config/fzf/soft-grassland-monobiome-light.active.theme new file mode 100644 index 0000000..5ed6e46 --- /dev/null +++ b/app-config/fzf/soft-grassland-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#131713 + --color=fg+:#1e231f + --color=bg:#c9d0ca + --color=bg+:#b9c0ba + + --color=hl:#2d5299 + --color=hl+:#1a3771 + --color=info:#5b572e + --color=marker:#1c4524 + + --color=prompt:#9d1a13 + --color=spinner:#5b572e + --color=pointer:#9d1a13 + --color=header:#1c4524 + + --color=border:#b9c0ba + --color=label:#aeaeae + --color=query:#131713 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/apps/fzf/soft-monobiome-dark.theme b/app-config/fzf/soft-monobiome-dark.active.theme similarity index 99% rename from apps/fzf/soft-monobiome-dark.theme rename to app-config/fzf/soft-monobiome-dark.active.theme index ce12d20..02a73b0 100644 --- a/apps/fzf/soft-monobiome-dark.theme +++ b/app-config/fzf/soft-monobiome-dark.active.theme @@ -20,3 +20,4 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/apps/fzf/monobiome-light.theme b/app-config/fzf/soft-monobiome-light.active.theme similarity index 62% rename from apps/fzf/monobiome-light.theme rename to app-config/fzf/soft-monobiome-light.active.theme index 7ebe917..63d7b92 100644 --- a/apps/fzf/monobiome-light.theme +++ b/app-config/fzf/soft-monobiome-light.active.theme @@ -4,15 +4,15 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --color=bg:#cecece --color=bg+:#bebebe - --color=hl:#3860ac - --color=hl+:#3860ac - --color=info:#6a6535 - --color=marker:#377242 + --color=hl:#2d5299 + --color=hl+:#1a3771 + --color=info:#5b572e + --color=marker:#1c4524 - --color=prompt:#b52119 - --color=spinner:#6a6535 - --color=pointer:#b52119 - --color=header:#377242 + --color=prompt:#9d1a13 + --color=spinner:#5b572e + --color=pointer:#9d1a13 + --color=header:#1c4524 --color=border:#bebebe --color=label:#aeaeae @@ -20,3 +20,4 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/apps/fzf/soft-savanna-monobiome-dark.theme b/app-config/fzf/soft-savanna-monobiome-dark.active.theme similarity index 73% rename from apps/fzf/soft-savanna-monobiome-dark.theme rename to app-config/fzf/soft-savanna-monobiome-dark.active.theme index ddc30c8..4b8c49f 100644 --- a/apps/fzf/soft-savanna-monobiome-dark.theme +++ b/app-config/fzf/soft-savanna-monobiome-dark.active.theme @@ -1,8 +1,8 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#f1eee6 - --color=fg+:#e1ded6 - --color=bg:#302e28 - --color=bg+:#3d3a34 + --color=fg:#efefe7 + --color=fg+:#dfded6 + --color=bg:#2f2e28 + --color=bg+:#3b3b34 --color=hl:#799ee3 --color=hl+:#a2bef2 @@ -14,9 +14,10 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --color=pointer:#f37060 --color=header:#94cf9c - --color=border:#3d3a34 + --color=border:#3b3b34 --color=label:#aeaeae - --color=query:#f1eee6 + --color=query:#efefe7 --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/soft-savanna-monobiome-light.active.theme b/app-config/fzf/soft-savanna-monobiome-light.active.theme new file mode 100644 index 0000000..025e6eb --- /dev/null +++ b/app-config/fzf/soft-savanna-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#171611 + --color=fg+:#22221c + --color=bg:#cfcec6 + --color=bg+:#bfbeb6 + + --color=hl:#2d5299 + --color=hl+:#1a3771 + --color=info:#5b572e + --color=marker:#1c4524 + + --color=prompt:#9d1a13 + --color=spinner:#5b572e + --color=pointer:#9d1a13 + --color=header:#1c4524 + + --color=border:#bfbeb6 + --color=label:#aeaeae + --color=query:#171611 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/apps/fzf/soft-tundra-monobiome-dark.theme b/app-config/fzf/soft-tundra-monobiome-dark.active.theme similarity index 73% rename from apps/fzf/soft-tundra-monobiome-dark.theme rename to app-config/fzf/soft-tundra-monobiome-dark.active.theme index 5b94d1e..d9506bf 100644 --- a/apps/fzf/soft-tundra-monobiome-dark.theme +++ b/app-config/fzf/soft-tundra-monobiome-dark.active.theme @@ -1,8 +1,8 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#e9eff6 - --color=fg+:#d9dfe5 - --color=bg:#2a2e33 - --color=bg+:#363b40 + --color=fg:#eaeff6 + --color=fg+:#dadee6 + --color=bg:#2b2e33 + --color=bg+:#373b40 --color=hl:#799ee3 --color=hl+:#a2bef2 @@ -14,9 +14,10 @@ export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' --color=pointer:#f37060 --color=header:#94cf9c - --color=border:#363b40 + --color=border:#373b40 --color=label:#aeaeae - --color=query:#e9eff6 + --color=query:#eaeff6 --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/soft-tundra-monobiome-light.active.theme b/app-config/fzf/soft-tundra-monobiome-light.active.theme new file mode 100644 index 0000000..072b077 --- /dev/null +++ b/app-config/fzf/soft-tundra-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#13161b + --color=fg+:#1f2227 + --color=bg:#caced5 + --color=bg+:#babec5 + + --color=hl:#2d5299 + --color=hl+:#1a3771 + --color=info:#5b572e + --color=marker:#1c4524 + + --color=prompt:#9d1a13 + --color=spinner:#5b572e + --color=pointer:#9d1a13 + --color=header:#1c4524 + + --color=border:#babec5 + --color=label:#aeaeae + --color=query:#13161b + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/tundra-monobiome-dark.active.theme b/app-config/fzf/tundra-monobiome-dark.active.theme new file mode 100644 index 0000000..f587e3e --- /dev/null +++ b/app-config/fzf/tundra-monobiome-dark.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#dadee6 + --color=fg+:#caced5 + --color=bg:#1f2227 + --color=bg+:#2b2e33 + + --color=hl:#658ed9 + --color=hl+:#8daeeb + --color=info:#989250 + --color=marker:#80c089 + + --color=prompt:#e95949 + --color=spinner:#989250 + --color=pointer:#e95949 + --color=header:#80c089 + + --color=border:#2b2e33 + --color=label:#aeaeae + --color=query:#dadee6 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/app-config/fzf/tundra-monobiome-light.active.theme b/app-config/fzf/tundra-monobiome-light.active.theme new file mode 100644 index 0000000..189b6e5 --- /dev/null +++ b/app-config/fzf/tundra-monobiome-light.active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:#1f2227 + --color=fg+:#2b2e33 + --color=bg:#dadee6 + --color=bg+:#caced5 + + --color=hl:#3860ac + --color=hl+:#234485 + --color=info:#6a6535 + --color=marker:#25532e + + --color=prompt:#b42219 + --color=spinner:#6a6535 + --color=pointer:#b42219 + --color=header:#25532e + + --color=border:#caced5 + --color=label:#aeaeae + --color=query:#1f2227 + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/apps/kitty/grassland-monobiome-dark.theme b/app-config/kitty/badlands-monobiome-dark.active.theme similarity index 54% rename from apps/kitty/grassland-monobiome-dark.theme rename to app-config/kitty/badlands-monobiome-dark.active.theme index bf2cf84..7882cae 100644 --- a/apps/kitty/grassland-monobiome-dark.theme +++ b/app-config/kitty/badlands-monobiome-dark.active.theme @@ -1,16 +1,16 @@ # base settings -background #1d2321 -foreground #d7e0dd +background #27201f +foreground #e5dbda -selection_background #29302d -selection_foreground #c7d0cc +selection_background #332c2b +selection_foreground #d5cbca -cursor #c7d0cc -cursor_text_color #29302d +cursor #d5cbca +cursor_text #332c2b # black -color0 #1d2321 -color8 #353c3a +color0 #27201f +color8 #403837 # red color1 #e95949 @@ -28,8 +28,8 @@ color11 #b7b170 color4 #658ed9 color12 #8daeeb -# purple (red) -color5 #ca791c +# magenta (red) +color5 #c97920 color13 #e79a51 # cyan (blue) @@ -37,6 +37,5 @@ color6 #658ed9 color14 #8daeeb ## white -color7 #b7c0bc -color15 #d7e0dd - +color7 #c5bbba +color15 #e5dbda diff --git a/app-config/kitty/badlands-monobiome-light.active.theme b/app-config/kitty/badlands-monobiome-light.active.theme new file mode 100644 index 0000000..45000b8 --- /dev/null +++ b/app-config/kitty/badlands-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #e5dbda +foreground #27201f + +selection_background #d5cbca +selection_foreground #332c2b + +cursor #332c2b +cursor_text #d5cbca + +# black +color0 #e5dbda +color8 #c5bbba + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #403837 +color15 #27201f diff --git a/apps/kitty/savanna-monobiome-dark.theme b/app-config/kitty/chaparral-monobiome-dark.active.theme similarity index 54% rename from apps/kitty/savanna-monobiome-dark.theme rename to app-config/kitty/chaparral-monobiome-dark.active.theme index 8ed6022..619f237 100644 --- a/apps/kitty/savanna-monobiome-dark.theme +++ b/app-config/kitty/chaparral-monobiome-dark.active.theme @@ -1,16 +1,16 @@ # base settings -background #24211c -foreground #e1ded6 +background #26211c +foreground #e4ddd7 -selection_background #302e28 -selection_foreground #d0cec6 +selection_background #322d28 +selection_foreground #d3ccc7 -cursor #d0cec6 -cursor_text_color #302e28 +cursor #d3ccc7 +cursor_text #322d28 # black -color0 #24211c -color8 #3d3a34 +color0 #26211c +color8 #3f3935 # red color1 #e95949 @@ -28,8 +28,8 @@ color11 #b7b170 color4 #658ed9 color12 #8daeeb -# purple (red) -color5 #ca791c +# magenta (red) +color5 #c97920 color13 #e79a51 # cyan (blue) @@ -37,6 +37,5 @@ color6 #658ed9 color14 #8daeeb ## white -color7 #c0bdb6 -color15 #e1ded6 - +color7 #c3bcb7 +color15 #e4ddd7 diff --git a/app-config/kitty/chaparral-monobiome-light.active.theme b/app-config/kitty/chaparral-monobiome-light.active.theme new file mode 100644 index 0000000..75b9f44 --- /dev/null +++ b/app-config/kitty/chaparral-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #e4ddd7 +foreground #26211c + +selection_background #d3ccc7 +selection_foreground #322d28 + +cursor #322d28 +cursor_text #d3ccc7 + +# black +color0 #e4ddd7 +color8 #c3bcb7 + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #3f3935 +color15 #26211c diff --git a/apps/kitty/tundra-monobiome-dark.theme b/app-config/kitty/grassland-monobiome-dark.active.theme similarity index 54% rename from apps/kitty/tundra-monobiome-dark.theme rename to app-config/kitty/grassland-monobiome-dark.active.theme index 5aba844..6176a1f 100644 --- a/apps/kitty/tundra-monobiome-dark.theme +++ b/app-config/kitty/grassland-monobiome-dark.active.theme @@ -1,16 +1,16 @@ # base settings -background #1e2227 -foreground #d9dfe5 +background #1e231f +foreground #d9e0da -selection_background #2a2e33 -selection_foreground #c8ced5 +selection_background #2a2f2b +selection_foreground #c9d0ca -cursor #c8ced5 -cursor_text_color #2a2e33 +cursor #c9d0ca +cursor_text #2a2f2b # black -color0 #1e2227 -color8 #363b40 +color0 #1e231f +color8 #373c37 # red color1 #e95949 @@ -28,8 +28,8 @@ color11 #b7b170 color4 #658ed9 color12 #8daeeb -# purple (red) -color5 #ca791c +# magenta (red) +color5 #c97920 color13 #e79a51 # cyan (blue) @@ -37,6 +37,5 @@ color6 #658ed9 color14 #8daeeb ## white -color7 #b9bec5 -color15 #d9dfe5 - +color7 #b9c0ba +color15 #d9e0da diff --git a/app-config/kitty/grassland-monobiome-light.active.theme b/app-config/kitty/grassland-monobiome-light.active.theme new file mode 100644 index 0000000..8567a16 --- /dev/null +++ b/app-config/kitty/grassland-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #d9e0da +foreground #1e231f + +selection_background #c9d0ca +selection_foreground #2a2f2b + +cursor #2a2f2b +cursor_text #c9d0ca + +# black +color0 #d9e0da +color8 #b9c0ba + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #373c37 +color15 #1e231f diff --git a/app-config/kitty/hard-grassland-monobiome-dark.active.theme b/app-config/kitty/hard-grassland-monobiome-dark.active.theme new file mode 100644 index 0000000..db6e396 --- /dev/null +++ b/app-config/kitty/hard-grassland-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #131713 +foreground #c9d0ca + +selection_background #1e231f +selection_foreground #b9c0ba + +cursor #b9c0ba +cursor_text #1e231f + +# black +color0 #131713 +color8 #2a2f2b + +# red +color1 #dc4234 +color9 #f37060 + +# green +color2 #4f925a +color10 #6eb178 + +# yellow +color3 #888346 +color11 #a7a15f + +# blue +color4 #557ecc +color12 #799ee3 + +# magenta (red) +color5 #b76b0c +color13 #d98937 + +# cyan (blue) +color6 #557ecc +color14 #799ee3 + +## white +color7 #a9b0aa +color15 #c9d0ca diff --git a/app-config/kitty/hard-grassland-monobiome-light.active.theme b/app-config/kitty/hard-grassland-monobiome-light.active.theme new file mode 100644 index 0000000..667d000 --- /dev/null +++ b/app-config/kitty/hard-grassland-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #eaf1ea +foreground #2a2f2b + +selection_background #d9e0da +selection_foreground #373c37 + +cursor #373c37 +cursor_text #d9e0da + +# black +color0 #eaf1ea +color8 #c9d0ca + +# red +color1 #ca2f24 +color9 #9d1a13 + +# green +color2 #42824e +color10 #2e6337 + +# yellow +color3 #79743d +color11 #5b572e + +# blue +color4 #456fbe +color12 #2d5299 + +# magenta (red) +color5 #a45e03 +color13 #7c4706 + +# cyan (blue) +color6 #456fbe +color14 #2d5299 + +## white +color7 #444944 +color15 #2a2f2b diff --git a/apps/kitty/hard-monobiome-dark.theme b/app-config/kitty/hard-monobiome-dark.active.theme similarity index 82% rename from apps/kitty/hard-monobiome-dark.theme rename to app-config/kitty/hard-monobiome-dark.active.theme index 5dfdeb7..551f5f3 100644 --- a/apps/kitty/hard-monobiome-dark.theme +++ b/app-config/kitty/hard-monobiome-dark.active.theme @@ -6,14 +6,14 @@ selection_background #222222 selection_foreground #bebebe cursor #bebebe -cursor_text_color #222222 +cursor_text #222222 # black color0 #161616 color8 #2e2e2e # red -color1 #dc4134 +color1 #dc4234 color9 #f37060 # green @@ -28,9 +28,9 @@ color11 #a7a15f color4 #557ecc color12 #799ee3 -# purple (red) -color5 #b86b05 -color13 #da8934 +# magenta (red) +color5 #b76b0c +color13 #d98937 # cyan (blue) color6 #557ecc @@ -39,4 +39,3 @@ color14 #799ee3 ## white color7 #aeaeae color15 #cecece - diff --git a/app-config/kitty/hard-monobiome-light.active.theme b/app-config/kitty/hard-monobiome-light.active.theme new file mode 100644 index 0000000..7145062 --- /dev/null +++ b/app-config/kitty/hard-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #eeeeee +foreground #2e2e2e + +selection_background #dedede +selection_foreground #3a3a3a + +cursor #3a3a3a +cursor_text #dedede + +# black +color0 #eeeeee +color8 #cecece + +# red +color1 #ca2f24 +color9 #9d1a13 + +# green +color2 #42824e +color10 #2e6337 + +# yellow +color3 #79743d +color11 #5b572e + +# blue +color4 #456fbe +color12 #2d5299 + +# magenta (red) +color5 #a45e03 +color13 #7c4706 + +# cyan (blue) +color6 #456fbe +color14 #2d5299 + +## white +color7 #484848 +color15 #2e2e2e diff --git a/app-config/kitty/hard-savanna-monobiome-dark.active.theme b/app-config/kitty/hard-savanna-monobiome-dark.active.theme new file mode 100644 index 0000000..165cd7c --- /dev/null +++ b/app-config/kitty/hard-savanna-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #171611 +foreground #cfcec6 + +selection_background #22221c +selection_foreground #bfbeb6 + +cursor #bfbeb6 +cursor_text #22221c + +# black +color0 #171611 +color8 #2f2e28 + +# red +color1 #dc4234 +color9 #f37060 + +# green +color2 #4f925a +color10 #6eb178 + +# yellow +color3 #888346 +color11 #a7a15f + +# blue +color4 #557ecc +color12 #799ee3 + +# magenta (red) +color5 #b76b0c +color13 #d98937 + +# cyan (blue) +color6 #557ecc +color14 #799ee3 + +## white +color7 #afaea7 +color15 #cfcec6 diff --git a/app-config/kitty/hard-savanna-monobiome-light.active.theme b/app-config/kitty/hard-savanna-monobiome-light.active.theme new file mode 100644 index 0000000..7d8a0ee --- /dev/null +++ b/app-config/kitty/hard-savanna-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #efefe7 +foreground #2f2e28 + +selection_background #dfded6 +selection_foreground #3b3b34 + +cursor #3b3b34 +cursor_text #dfded6 + +# black +color0 #efefe7 +color8 #cfcec6 + +# red +color1 #ca2f24 +color9 #9d1a13 + +# green +color2 #42824e +color10 #2e6337 + +# yellow +color3 #79743d +color11 #5b572e + +# blue +color4 #456fbe +color12 #2d5299 + +# magenta (red) +color5 #a45e03 +color13 #7c4706 + +# cyan (blue) +color6 #456fbe +color14 #2d5299 + +## white +color7 #484841 +color15 #2f2e28 diff --git a/app-config/kitty/hard-tundra-monobiome-dark.active.theme b/app-config/kitty/hard-tundra-monobiome-dark.active.theme new file mode 100644 index 0000000..d4a22c3 --- /dev/null +++ b/app-config/kitty/hard-tundra-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #13161b +foreground #caced5 + +selection_background #1f2227 +selection_foreground #babec5 + +cursor #babec5 +cursor_text #1f2227 + +# black +color0 #13161b +color8 #2b2e33 + +# red +color1 #dc4234 +color9 #f37060 + +# green +color2 #4f925a +color10 #6eb178 + +# yellow +color3 #888346 +color11 #a7a15f + +# blue +color4 #557ecc +color12 #799ee3 + +# magenta (red) +color5 #b76b0c +color13 #d98937 + +# cyan (blue) +color6 #557ecc +color14 #799ee3 + +## white +color7 #aaaeb5 +color15 #caced5 diff --git a/app-config/kitty/hard-tundra-monobiome-light.active.theme b/app-config/kitty/hard-tundra-monobiome-light.active.theme new file mode 100644 index 0000000..b416dab --- /dev/null +++ b/app-config/kitty/hard-tundra-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #eaeff6 +foreground #2b2e33 + +selection_background #dadee6 +selection_foreground #373b40 + +cursor #373b40 +cursor_text #dadee6 + +# black +color0 #eaeff6 +color8 #caced5 + +# red +color1 #ca2f24 +color9 #9d1a13 + +# green +color2 #42824e +color10 #2e6337 + +# yellow +color3 #79743d +color11 #5b572e + +# blue +color4 #456fbe +color12 #2d5299 + +# magenta (red) +color5 #a45e03 +color13 #7c4706 + +# cyan (blue) +color6 #456fbe +color14 #2d5299 + +## white +color7 #44484e +color15 #2b2e33 diff --git a/apps/kitty/monobiome-dark.theme b/app-config/kitty/monobiome-dark.active.theme similarity index 90% rename from apps/kitty/monobiome-dark.theme rename to app-config/kitty/monobiome-dark.active.theme index ce7ab30..2d89291 100644 --- a/apps/kitty/monobiome-dark.theme +++ b/app-config/kitty/monobiome-dark.active.theme @@ -6,7 +6,7 @@ selection_background #2e2e2e selection_foreground #cecece cursor #cecece -cursor_text_color #2e2e2e +cursor_text #2e2e2e # black color0 #222222 @@ -28,8 +28,8 @@ color11 #b7b170 color4 #658ed9 color12 #8daeeb -# purple (red) -color5 #ca791c +# magenta (red) +color5 #c97920 color13 #e79a51 # cyan (blue) @@ -39,4 +39,3 @@ color14 #8daeeb ## white color7 #bebebe color15 #dedede - diff --git a/app-config/kitty/monobiome-light.active.theme b/app-config/kitty/monobiome-light.active.theme new file mode 100644 index 0000000..b658d0f --- /dev/null +++ b/app-config/kitty/monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #dedede +foreground #222222 + +selection_background #cecece +selection_foreground #2e2e2e + +cursor #2e2e2e +cursor_text #cecece + +# black +color0 #dedede +color8 #bebebe + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #3a3a3a +color15 #222222 diff --git a/app-config/kitty/savanna-monobiome-dark.active.theme b/app-config/kitty/savanna-monobiome-dark.active.theme new file mode 100644 index 0000000..90487b6 --- /dev/null +++ b/app-config/kitty/savanna-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #22221c +foreground #dfded6 + +selection_background #2f2e28 +selection_foreground #cfcec6 + +cursor #cfcec6 +cursor_text #2f2e28 + +# black +color0 #22221c +color8 #3b3b34 + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #bfbeb6 +color15 #dfded6 diff --git a/app-config/kitty/savanna-monobiome-light.active.theme b/app-config/kitty/savanna-monobiome-light.active.theme new file mode 100644 index 0000000..08f8c93 --- /dev/null +++ b/app-config/kitty/savanna-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #dfded6 +foreground #22221c + +selection_background #cfcec6 +selection_foreground #2f2e28 + +cursor #2f2e28 +cursor_text #cfcec6 + +# black +color0 #dfded6 +color8 #bfbeb6 + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #3b3b34 +color15 #22221c diff --git a/apps/kitty/soft-grassland-monobiome-dark.theme b/app-config/kitty/soft-grassland-monobiome-dark.active.theme similarity index 54% rename from apps/kitty/soft-grassland-monobiome-dark.theme rename to app-config/kitty/soft-grassland-monobiome-dark.active.theme index 32e9b18..2046c60 100644 --- a/apps/kitty/soft-grassland-monobiome-dark.theme +++ b/app-config/kitty/soft-grassland-monobiome-dark.active.theme @@ -1,16 +1,16 @@ # base settings -background #29302d -foreground #e8f1ed +background #2a2f2b +foreground #eaf1ea -selection_background #353c3a -selection_foreground #d7e0dd +selection_background #373c37 +selection_foreground #d9e0da -cursor #d7e0dd -cursor_text_color #353c3a +cursor #d9e0da +cursor_text #373c37 # black -color0 #29302d -color8 #424a47 +color0 #2a2f2b +color8 #444944 # red color1 #f37060 @@ -28,8 +28,8 @@ color11 #c6c182 color4 #799ee3 color12 #a2bef2 -# purple (red) -color5 #da8934 +# magenta (red) +color5 #d98937 color13 #f1ad6f # cyan (blue) @@ -37,6 +37,5 @@ color6 #799ee3 color14 #a2bef2 ## white -color7 #c7d0cc -color15 #e8f1ed - +color7 #c9d0ca +color15 #eaf1ea diff --git a/app-config/kitty/soft-grassland-monobiome-light.active.theme b/app-config/kitty/soft-grassland-monobiome-light.active.theme new file mode 100644 index 0000000..926b2c1 --- /dev/null +++ b/app-config/kitty/soft-grassland-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #c9d0ca +foreground #131713 + +selection_background #b9c0ba +selection_foreground #1e231f + +cursor #1e231f +cursor_text #b9c0ba + +# black +color0 #c9d0ca +color8 #a9b0aa + +# red +color1 #9d1a13 +color9 #6e110b + +# green +color2 #2e6337 +color10 #1c4524 + +# yellow +color3 #5b572e +color11 #3e3c20 + +# blue +color4 #2d5299 +color12 #1a3771 + +# magenta (red) +color5 #7c4706 +color13 #54310d + +# cyan (blue) +color6 #2d5299 +color14 #1a3771 + +## white +color7 #2a2f2b +color15 #1e231f diff --git a/apps/kitty/soft-monobiome-dark.theme b/app-config/kitty/soft-monobiome-dark.active.theme similarity index 90% rename from apps/kitty/soft-monobiome-dark.theme rename to app-config/kitty/soft-monobiome-dark.active.theme index 9276353..4cefa2f 100644 --- a/apps/kitty/soft-monobiome-dark.theme +++ b/app-config/kitty/soft-monobiome-dark.active.theme @@ -6,7 +6,7 @@ selection_background #3a3a3a selection_foreground #dedede cursor #dedede -cursor_text_color #3a3a3a +cursor_text #3a3a3a # black color0 #2e2e2e @@ -28,8 +28,8 @@ color11 #c6c182 color4 #799ee3 color12 #a2bef2 -# purple (red) -color5 #da8934 +# magenta (red) +color5 #d98937 color13 #f1ad6f # cyan (blue) @@ -39,4 +39,3 @@ color14 #a2bef2 ## white color7 #cecece color15 #eeeeee - diff --git a/app-config/kitty/soft-monobiome-light.active.theme b/app-config/kitty/soft-monobiome-light.active.theme new file mode 100644 index 0000000..d09f3e8 --- /dev/null +++ b/app-config/kitty/soft-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #cecece +foreground #161616 + +selection_background #bebebe +selection_foreground #222222 + +cursor #222222 +cursor_text #bebebe + +# black +color0 #cecece +color8 #aeaeae + +# red +color1 #9d1a13 +color9 #6e110b + +# green +color2 #2e6337 +color10 #1c4524 + +# yellow +color3 #5b572e +color11 #3e3c20 + +# blue +color4 #2d5299 +color12 #1a3771 + +# magenta (red) +color5 #7c4706 +color13 #54310d + +# cyan (blue) +color6 #2d5299 +color14 #1a3771 + +## white +color7 #2e2e2e +color15 #222222 diff --git a/apps/kitty/soft-tundra-monobiome-dark.theme b/app-config/kitty/soft-savanna-monobiome-dark.active.theme similarity index 54% rename from apps/kitty/soft-tundra-monobiome-dark.theme rename to app-config/kitty/soft-savanna-monobiome-dark.active.theme index 7cc04ba..31fecda 100644 --- a/apps/kitty/soft-tundra-monobiome-dark.theme +++ b/app-config/kitty/soft-savanna-monobiome-dark.active.theme @@ -1,16 +1,16 @@ # base settings -background #2a2e33 -foreground #e9eff6 +background #2f2e28 +foreground #efefe7 -selection_background #363b40 -selection_foreground #d9dfe5 +selection_background #3b3b34 +selection_foreground #dfded6 -cursor #d9dfe5 -cursor_text_color #363b40 +cursor #dfded6 +cursor_text #3b3b34 # black -color0 #2a2e33 -color8 #43484e +color0 #2f2e28 +color8 #484841 # red color1 #f37060 @@ -28,8 +28,8 @@ color11 #c6c182 color4 #799ee3 color12 #a2bef2 -# purple (red) -color5 #da8934 +# magenta (red) +color5 #d98937 color13 #f1ad6f # cyan (blue) @@ -37,6 +37,5 @@ color6 #799ee3 color14 #a2bef2 ## white -color7 #c8ced5 -color15 #e9eff6 - +color7 #cfcec6 +color15 #efefe7 diff --git a/app-config/kitty/soft-savanna-monobiome-light.active.theme b/app-config/kitty/soft-savanna-monobiome-light.active.theme new file mode 100644 index 0000000..f206960 --- /dev/null +++ b/app-config/kitty/soft-savanna-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #cfcec6 +foreground #171611 + +selection_background #bfbeb6 +selection_foreground #22221c + +cursor #22221c +cursor_text #bfbeb6 + +# black +color0 #cfcec6 +color8 #afaea7 + +# red +color1 #9d1a13 +color9 #6e110b + +# green +color2 #2e6337 +color10 #1c4524 + +# yellow +color3 #5b572e +color11 #3e3c20 + +# blue +color4 #2d5299 +color12 #1a3771 + +# magenta (red) +color5 #7c4706 +color13 #54310d + +# cyan (blue) +color6 #2d5299 +color14 #1a3771 + +## white +color7 #2f2e28 +color15 #22221c diff --git a/apps/kitty/soft-savanna-monobiome-dark.theme b/app-config/kitty/soft-tundra-monobiome-dark.active.theme similarity index 54% rename from apps/kitty/soft-savanna-monobiome-dark.theme rename to app-config/kitty/soft-tundra-monobiome-dark.active.theme index 8bf1610..8206324 100644 --- a/apps/kitty/soft-savanna-monobiome-dark.theme +++ b/app-config/kitty/soft-tundra-monobiome-dark.active.theme @@ -1,16 +1,16 @@ # base settings -background #302e28 -foreground #f1eee6 +background #2b2e33 +foreground #eaeff6 -selection_background #3d3a34 -selection_foreground #e1ded6 +selection_background #373b40 +selection_foreground #dadee6 -cursor #e1ded6 -cursor_text_color #3d3a34 +cursor #dadee6 +cursor_text #373b40 # black -color0 #302e28 -color8 #4a4841 +color0 #2b2e33 +color8 #44484e # red color1 #f37060 @@ -28,8 +28,8 @@ color11 #c6c182 color4 #799ee3 color12 #a2bef2 -# purple (red) -color5 #da8934 +# magenta (red) +color5 #d98937 color13 #f1ad6f # cyan (blue) @@ -37,6 +37,5 @@ color6 #799ee3 color14 #a2bef2 ## white -color7 #d0cec6 -color15 #f1eee6 - +color7 #caced5 +color15 #eaeff6 diff --git a/app-config/kitty/soft-tundra-monobiome-light.active.theme b/app-config/kitty/soft-tundra-monobiome-light.active.theme new file mode 100644 index 0000000..cdba2a4 --- /dev/null +++ b/app-config/kitty/soft-tundra-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #caced5 +foreground #13161b + +selection_background #babec5 +selection_foreground #1f2227 + +cursor #1f2227 +cursor_text #babec5 + +# black +color0 #caced5 +color8 #aaaeb5 + +# red +color1 #9d1a13 +color9 #6e110b + +# green +color2 #2e6337 +color10 #1c4524 + +# yellow +color3 #5b572e +color11 #3e3c20 + +# blue +color4 #2d5299 +color12 #1a3771 + +# magenta (red) +color5 #7c4706 +color13 #54310d + +# cyan (blue) +color6 #2d5299 +color14 #1a3771 + +## white +color7 #2b2e33 +color15 #1f2227 diff --git a/app-config/kitty/tundra-monobiome-dark.active.theme b/app-config/kitty/tundra-monobiome-dark.active.theme new file mode 100644 index 0000000..ccb0e5c --- /dev/null +++ b/app-config/kitty/tundra-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #1f2227 +foreground #dadee6 + +selection_background #2b2e33 +selection_foreground #caced5 + +cursor #caced5 +cursor_text #2b2e33 + +# black +color0 #1f2227 +color8 #373b40 + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #babec5 +color15 #dadee6 diff --git a/app-config/kitty/tundra-monobiome-light.active.theme b/app-config/kitty/tundra-monobiome-light.active.theme new file mode 100644 index 0000000..ad465b5 --- /dev/null +++ b/app-config/kitty/tundra-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #dadee6 +foreground #1f2227 + +selection_background #caced5 +selection_foreground #2b2e33 + +cursor #2b2e33 +cursor_text #caced5 + +# black +color0 #dadee6 +color8 #babec5 + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #373b40 +color15 #1f2227 diff --git a/apps/nvim/savanna-monobiome-dark.vim b/app-config/nvim/badlands-monobiome-dark.theme.vim similarity index 75% rename from apps/nvim/savanna-monobiome-dark.vim rename to app-config/nvim/badlands-monobiome-dark.theme.vim index 837c290..07f49bf 100644 --- a/apps/nvim/savanna-monobiome-dark.vim +++ b/app-config/nvim/badlands-monobiome-dark.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#24211c" -let g:base16_gui00 = "#24211c" -let s:gui01 = "#302e28" -let g:base16_gui01 = "#302e28" -let s:gui02 = "#3d3a34" -let g:base16_gui02 = "#3d3a34" -let s:gui03 = "#4a4841" -let g:base16_gui03 = "#4a4841" -let s:gui04 = "#b0aea6" -let g:base16_gui04 = "#b0aea6" -let s:gui05 = "#c0bdb6" -let g:base16_gui05 = "#c0bdb6" -let s:gui06 = "#d0cec6" -let g:base16_gui06 = "#d0cec6" -let s:gui07 = "#e1ded6" -let g:base16_gui07 = "#e1ded6" +let s:gui00 = "#27201f" +let g:base16_gui00 = "#27201f" +let s:gui01 = "#332c2b" +let g:base16_gui01 = "#332c2b" +let s:gui02 = "#403837" +let g:base16_gui02 = "#403837" +let s:gui03 = "#4d4644" +let g:base16_gui03 = "#4d4644" +let s:gui04 = "#b5abaa" +let g:base16_gui04 = "#b5abaa" +let s:gui05 = "#c5bbba" +let g:base16_gui05 = "#c5bbba" +let s:gui06 = "#d5cbca" +let g:base16_gui06 = "#d5cbca" +let s:gui07 = "#e5dbda" +let g:base16_gui07 = "#e5dbda" let s:gui08 = "#e95949" let g:base16_gui08 = "#e95949" -let s:gui09 = "#ca791c" -let g:base16_gui09 = "#ca791c" +let s:gui09 = "#c97920" +let g:base16_gui09 = "#c97920" let s:gui0A = "#989250" let g:base16_gui0A = "#989250" let s:gui0B = "#5da268" @@ -42,7 +64,7 @@ let g:base16_gui0E = "#658ed9" let s:gui0F = "#e95949" let g:base16_gui0F = "#e95949" -let s:grey = "#838079" +let s:grey = "#786f6e" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#24211c" + let g:terminal_color_0 = "#27201f" let g:terminal_color_1 = "#e95949" let g:terminal_color_2 = "#5da268" let g:terminal_color_3 = "#989250" let g:terminal_color_4 = "#658ed9" let g:terminal_color_5 = "#658ed9" let g:terminal_color_6 = "#5da268" - let g:terminal_color_7 = "#c0bdb6" - let g:terminal_color_8 = "#4a4841" + let g:terminal_color_7 = "#c5bbba" + let g:terminal_color_8 = "#4d4644" let g:terminal_color_9 = "#e95949" let g:terminal_color_10 = "#5da268" let g:terminal_color_11 = "#989250" let g:terminal_color_12 = "#658ed9" let g:terminal_color_13 = "#658ed9" let g:terminal_color_14 = "#5da268" - let g:terminal_color_15 = "#e1ded6" + let g:terminal_color_15 = "#e5dbda" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#24211c", + \ "#27201f", \ "#e95949", \ "#5da268", \ "#989250", \ "#658ed9", \ "#658ed9", \ "#5da268", - \ "#c0bdb6", - \ "#4a4841", + \ "#c5bbba", + \ "#4d4644", \ "#e95949", \ "#5da268", \ "#989250", \ "#658ed9", \ "#658ed9", \ "#5da268", - \ "#e1ded6", + \ "#e5dbda", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/savanna-monobiome-light.vim b/app-config/nvim/badlands-monobiome-light.theme.vim similarity index 74% rename from apps/nvim/savanna-monobiome-light.vim rename to app-config/nvim/badlands-monobiome-light.theme.vim index c3da421..85245dd 100644 --- a/apps/nvim/savanna-monobiome-light.vim +++ b/app-config/nvim/badlands-monobiome-light.theme.vim @@ -7,26 +7,48 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#d0cec6" -let g:base16_gui00 = "#d0cec6" -let s:gui01 = "#c0bdb6" -let g:base16_gui01 = "#c0bdb6" -let s:gui02 = "#b0aea6" -let g:base16_gui02 = "#b0aea6" -let s:gui03 = "#a19e97" -let g:base16_gui03 = "#a19e97" -let s:gui04 = "#3d3a34" -let g:base16_gui04 = "#3d3a34" -let s:gui05 = "#302e28" -let g:base16_gui05 = "#302e28" -let s:gui06 = "#24211c" -let g:base16_gui06 = "#24211c" -let s:gui07 = "#181610" -let g:base16_gui07 = "#181610" -let s:gui08 = "#b52119" -let g:base16_gui08 = "#b52119" +let s:gui00 = "#e5dbda" +let g:base16_gui00 = "#e5dbda" +let s:gui01 = "#d5cbca" +let g:base16_gui01 = "#d5cbca" +let s:gui02 = "#c5bbba" +let g:base16_gui02 = "#c5bbba" +let s:gui03 = "#b5abaa" +let g:base16_gui03 = "#b5abaa" +let s:gui04 = "#4d4644" +let g:base16_gui04 = "#4d4644" +let s:gui05 = "#403837" +let g:base16_gui05 = "#403837" +let s:gui06 = "#332c2b" +let g:base16_gui06 = "#332c2b" +let s:gui07 = "#27201f" +let g:base16_gui07 = "#27201f" +let s:gui08 = "#b42219" +let g:base16_gui08 = "#b42219" let s:gui09 = "#905201" let g:base16_gui09 = "#905201" let s:gui0A = "#6a6535" @@ -39,10 +61,10 @@ let s:gui0D = "#3860ac" let g:base16_gui0D = "#3860ac" let s:gui0E = "#3860ac" let g:base16_gui0E = "#3860ac" -let s:gui0F = "#b52119" -let g:base16_gui0F = "#b52119" +let s:gui0F = "#b42219" +let g:base16_gui0F = "#b42219" -let s:grey = "#66635c" +let s:grey = "#877e7c" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#d0cec6" - let g:terminal_color_1 = "#b52119" + let g:terminal_color_0 = "#e5dbda" + let g:terminal_color_1 = "#b42219" let g:terminal_color_2 = "#377242" let g:terminal_color_3 = "#6a6535" let g:terminal_color_4 = "#3860ac" let g:terminal_color_5 = "#3860ac" let g:terminal_color_6 = "#377242" - let g:terminal_color_7 = "#302e28" - let g:terminal_color_8 = "#a19e97" - let g:terminal_color_9 = "#b52119" + let g:terminal_color_7 = "#403837" + let g:terminal_color_8 = "#b5abaa" + let g:terminal_color_9 = "#b42219" let g:terminal_color_10 = "#377242" let g:terminal_color_11 = "#6a6535" let g:terminal_color_12 = "#3860ac" let g:terminal_color_13 = "#3860ac" let g:terminal_color_14 = "#377242" - let g:terminal_color_15 = "#181610" + let g:terminal_color_15 = "#27201f" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#d0cec6", - \ "#b52119", + \ "#e5dbda", + \ "#b42219", \ "#377242", \ "#6a6535", \ "#3860ac", \ "#3860ac", \ "#377242", - \ "#302e28", - \ "#a19e97", - \ "#b52119", + \ "#403837", + \ "#b5abaa", + \ "#b42219", \ "#377242", \ "#6a6535", \ "#3860ac", \ "#3860ac", \ "#377242", - \ "#181610", + \ "#27201f", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/tundra-monobiome-dark.vim b/app-config/nvim/chaparral-monobiome-dark.theme.vim similarity index 75% rename from apps/nvim/tundra-monobiome-dark.vim rename to app-config/nvim/chaparral-monobiome-dark.theme.vim index bc9f79e..ebeecb2 100644 --- a/apps/nvim/tundra-monobiome-dark.vim +++ b/app-config/nvim/chaparral-monobiome-dark.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#1e2227" -let g:base16_gui00 = "#1e2227" -let s:gui01 = "#2a2e33" -let g:base16_gui01 = "#2a2e33" -let s:gui02 = "#363b40" -let g:base16_gui02 = "#363b40" -let s:gui03 = "#43484e" -let g:base16_gui03 = "#43484e" -let s:gui04 = "#a9afb5" -let g:base16_gui04 = "#a9afb5" -let s:gui05 = "#b9bec5" -let g:base16_gui05 = "#b9bec5" -let s:gui06 = "#c8ced5" -let g:base16_gui06 = "#c8ced5" -let s:gui07 = "#d9dfe5" -let g:base16_gui07 = "#d9dfe5" +let s:gui00 = "#26211c" +let g:base16_gui00 = "#26211c" +let s:gui01 = "#322d28" +let g:base16_gui01 = "#322d28" +let s:gui02 = "#3f3935" +let g:base16_gui02 = "#3f3935" +let s:gui03 = "#4c4642" +let g:base16_gui03 = "#4c4642" +let s:gui04 = "#b3ada7" +let g:base16_gui04 = "#b3ada7" +let s:gui05 = "#c3bcb7" +let g:base16_gui05 = "#c3bcb7" +let s:gui06 = "#d3ccc7" +let g:base16_gui06 = "#d3ccc7" +let s:gui07 = "#e4ddd7" +let g:base16_gui07 = "#e4ddd7" let s:gui08 = "#e95949" let g:base16_gui08 = "#e95949" -let s:gui09 = "#ca791c" -let g:base16_gui09 = "#ca791c" +let s:gui09 = "#c97920" +let g:base16_gui09 = "#c97920" let s:gui0A = "#989250" let g:base16_gui0A = "#989250" let s:gui0B = "#5da268" @@ -42,7 +64,7 @@ let g:base16_gui0E = "#658ed9" let s:gui0F = "#e95949" let g:base16_gui0F = "#e95949" -let s:grey = "#7b8187" +let s:grey = "#76706b" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#1e2227" + let g:terminal_color_0 = "#26211c" let g:terminal_color_1 = "#e95949" let g:terminal_color_2 = "#5da268" let g:terminal_color_3 = "#989250" let g:terminal_color_4 = "#658ed9" let g:terminal_color_5 = "#658ed9" let g:terminal_color_6 = "#5da268" - let g:terminal_color_7 = "#b9bec5" - let g:terminal_color_8 = "#43484e" + let g:terminal_color_7 = "#c3bcb7" + let g:terminal_color_8 = "#4c4642" let g:terminal_color_9 = "#e95949" let g:terminal_color_10 = "#5da268" let g:terminal_color_11 = "#989250" let g:terminal_color_12 = "#658ed9" let g:terminal_color_13 = "#658ed9" let g:terminal_color_14 = "#5da268" - let g:terminal_color_15 = "#d9dfe5" + let g:terminal_color_15 = "#e4ddd7" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#1e2227", + \ "#26211c", \ "#e95949", \ "#5da268", \ "#989250", \ "#658ed9", \ "#658ed9", \ "#5da268", - \ "#b9bec5", - \ "#43484e", + \ "#c3bcb7", + \ "#4c4642", \ "#e95949", \ "#5da268", \ "#989250", \ "#658ed9", \ "#658ed9", \ "#5da268", - \ "#d9dfe5", + \ "#e4ddd7", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/grassland-monobiome-light.vim b/app-config/nvim/chaparral-monobiome-light.theme.vim similarity index 74% rename from apps/nvim/grassland-monobiome-light.vim rename to app-config/nvim/chaparral-monobiome-light.theme.vim index aa4a3f5..5b6cc3a 100644 --- a/apps/nvim/grassland-monobiome-light.vim +++ b/app-config/nvim/chaparral-monobiome-light.theme.vim @@ -7,26 +7,48 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#c7d0cc" -let g:base16_gui00 = "#c7d0cc" -let s:gui01 = "#b7c0bc" -let g:base16_gui01 = "#b7c0bc" -let s:gui02 = "#a8b0ad" -let g:base16_gui02 = "#a8b0ad" -let s:gui03 = "#98a19d" -let g:base16_gui03 = "#98a19d" -let s:gui04 = "#353c3a" -let g:base16_gui04 = "#353c3a" -let s:gui05 = "#29302d" -let g:base16_gui05 = "#29302d" -let s:gui06 = "#1d2321" -let g:base16_gui06 = "#1d2321" -let s:gui07 = "#111815" -let g:base16_gui07 = "#111815" -let s:gui08 = "#b52119" -let g:base16_gui08 = "#b52119" +let s:gui00 = "#e4ddd7" +let g:base16_gui00 = "#e4ddd7" +let s:gui01 = "#d3ccc7" +let g:base16_gui01 = "#d3ccc7" +let s:gui02 = "#c3bcb7" +let g:base16_gui02 = "#c3bcb7" +let s:gui03 = "#b3ada7" +let g:base16_gui03 = "#b3ada7" +let s:gui04 = "#4c4642" +let g:base16_gui04 = "#4c4642" +let s:gui05 = "#3f3935" +let g:base16_gui05 = "#3f3935" +let s:gui06 = "#322d28" +let g:base16_gui06 = "#322d28" +let s:gui07 = "#26211c" +let g:base16_gui07 = "#26211c" +let s:gui08 = "#b42219" +let g:base16_gui08 = "#b42219" let s:gui09 = "#905201" let g:base16_gui09 = "#905201" let s:gui0A = "#6a6535" @@ -39,10 +61,10 @@ let s:gui0D = "#3860ac" let g:base16_gui0D = "#3860ac" let s:gui0E = "#3860ac" let g:base16_gui0E = "#3860ac" -let s:gui0F = "#b52119" -let g:base16_gui0F = "#b52119" +let s:gui0F = "#b42219" +let g:base16_gui0F = "#b42219" -let s:grey = "#5d6562" +let s:grey = "#857f7a" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#c7d0cc" - let g:terminal_color_1 = "#b52119" + let g:terminal_color_0 = "#e4ddd7" + let g:terminal_color_1 = "#b42219" let g:terminal_color_2 = "#377242" let g:terminal_color_3 = "#6a6535" let g:terminal_color_4 = "#3860ac" let g:terminal_color_5 = "#3860ac" let g:terminal_color_6 = "#377242" - let g:terminal_color_7 = "#29302d" - let g:terminal_color_8 = "#98a19d" - let g:terminal_color_9 = "#b52119" + let g:terminal_color_7 = "#3f3935" + let g:terminal_color_8 = "#b3ada7" + let g:terminal_color_9 = "#b42219" let g:terminal_color_10 = "#377242" let g:terminal_color_11 = "#6a6535" let g:terminal_color_12 = "#3860ac" let g:terminal_color_13 = "#3860ac" let g:terminal_color_14 = "#377242" - let g:terminal_color_15 = "#111815" + let g:terminal_color_15 = "#26211c" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#c7d0cc", - \ "#b52119", + \ "#e4ddd7", + \ "#b42219", \ "#377242", \ "#6a6535", \ "#3860ac", \ "#3860ac", \ "#377242", - \ "#29302d", - \ "#98a19d", - \ "#b52119", + \ "#3f3935", + \ "#b3ada7", + \ "#b42219", \ "#377242", \ "#6a6535", \ "#3860ac", \ "#3860ac", \ "#377242", - \ "#111815", + \ "#26211c", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/app-config/nvim/grassland-monobiome-dark.theme.vim b/app-config/nvim/grassland-monobiome-dark.theme.vim new file mode 100644 index 0000000..1cc51fe --- /dev/null +++ b/app-config/nvim/grassland-monobiome-dark.theme.vim @@ -0,0 +1,995 @@ +" vi:syntax=vim +" +" Top-level remarks: +" +" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors +" for GUI and terminal Vim. +" - `link` allows for linking one syntax group to another, reusing the same color +" settings. Language-specific groups can then point to one of the base color highlight +" groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. + +" GUI color definitions +let s:gui00 = "#1e231f" +let g:base16_gui00 = "#1e231f" +let s:gui01 = "#2a2f2b" +let g:base16_gui01 = "#2a2f2b" +let s:gui02 = "#373c37" +let g:base16_gui02 = "#373c37" +let s:gui03 = "#444944" +let g:base16_gui03 = "#444944" +let s:gui04 = "#a9b0aa" +let g:base16_gui04 = "#a9b0aa" +let s:gui05 = "#b9c0ba" +let g:base16_gui05 = "#b9c0ba" +let s:gui06 = "#c9d0ca" +let g:base16_gui06 = "#c9d0ca" +let s:gui07 = "#d9e0da" +let g:base16_gui07 = "#d9e0da" +let s:gui08 = "#e95949" +let g:base16_gui08 = "#e95949" +let s:gui09 = "#c97920" +let g:base16_gui09 = "#c97920" +let s:gui0A = "#989250" +let g:base16_gui0A = "#989250" +let s:gui0B = "#5da268" +let g:base16_gui0B = "#5da268" +let s:gui0C = "#5da268" +let g:base16_gui0C = "#5da268" +let s:gui0D = "#658ed9" +let g:base16_gui0D = "#658ed9" +let s:gui0E = "#658ed9" +let g:base16_gui0E = "#658ed9" +let s:gui0F = "#e95949" +let g:base16_gui0F = "#e95949" + +let s:grey = "#6d736e" + +" Terminal color definitions +let s:cterm00 = "00" +let g:base16_cterm00 = "00" +let s:cterm03 = "08" +let g:base16_cterm03 = "08" +let s:cterm05 = "07" +let g:base16_cterm05 = "07" +let s:cterm07 = "15" +let g:base16_cterm07 = "15" +let s:cterm08 = "01" +let g:base16_cterm08 = "01" +let s:cterm0A = "03" +let g:base16_cterm0A = "03" +let s:cterm0B = "02" +let g:base16_cterm0B = "02" +let s:cterm0C = "06" +let g:base16_cterm0C = "06" +let s:cterm0D = "04" +let g:base16_cterm0D = "04" +let s:cterm0E = "05" +let g:base16_cterm0E = "05" + +let s:cterm01 = "10" +let g:base16_cterm01 = "10" +let s:cterm02 = "11" +let g:base16_cterm02 = "11" +let s:cterm04 = "12" +let g:base16_cterm04 = "12" +let s:cterm06 = "13" +let g:base16_cterm06 = "13" +let s:cterm09 = "09" +let g:base16_cterm09 = "09" +let s:cterm0F = "14" +let g:base16_cterm0F = "14" + +" Neovim terminal colours +if has("nvim") + let g:terminal_color_0 = "#1e231f" + let g:terminal_color_1 = "#e95949" + let g:terminal_color_2 = "#5da268" + let g:terminal_color_3 = "#989250" + let g:terminal_color_4 = "#658ed9" + let g:terminal_color_5 = "#658ed9" + let g:terminal_color_6 = "#5da268" + let g:terminal_color_7 = "#b9c0ba" + let g:terminal_color_8 = "#444944" + let g:terminal_color_9 = "#e95949" + let g:terminal_color_10 = "#5da268" + let g:terminal_color_11 = "#989250" + let g:terminal_color_12 = "#658ed9" + let g:terminal_color_13 = "#658ed9" + let g:terminal_color_14 = "#5da268" + let g:terminal_color_15 = "#d9e0da" + let g:terminal_color_background = g:terminal_color_0 + let g:terminal_color_foreground = g:terminal_color_5 + + if &background == "light" + let g:terminal_color_background = g:terminal_color_7 + let g:terminal_color_foreground = g:terminal_color_2 + endif + +elseif has("terminal") + let g:terminal_ansi_colors = [ + \ "#1e231f", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#b9c0ba", + \ "#444944", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#d9e0da", + \ ] +endif + +let s:guibg = s:gui00 +let s:ctermbg = s:cterm00 + +" Theme setup +hi clear +syntax reset +let g:colors_name = "active" + +" Highlighting function +" Optional variables are attributes and guisp +function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) + " For a given syntax group, sets the GUI and terminal foreground and backgrounds + " Optional parameters are interpreted as `attr` and `guisp`, the first of which appears + " to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be + " 'special' colors used for underlines in the GUI. + let l:attr = get(a:, 1, "") + let l:guisp = get(a:, 2, "") + + " See :help highlight-guifg + let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"] + + if a:guifg != "" + if index(l:gui_special_names, a:guifg) >= 0 + exec "hi " . a:group . " guifg=" . a:guifg + else + exec "hi " . a:group . " guifg=" . a:guifg + endif + endif + + if a:guibg != "" + if index(l:gui_special_names, a:guibg) >= 0 + exec "hi " . a:group . " guibg=" . a:guibg + else + exec "hi " . a:group . " guibg=" . a:guibg + endif + endif + + if a:ctermfg != "" + exec "hi " . a:group . " ctermfg=" . a:ctermfg + endif + + if a:ctermbg != "" + exec "hi " . a:group . " ctermbg=" . a:ctermbg + endif + + if l:attr != "" + exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr + endif + + if l:guisp != "" + if index(l:gui_special_names, l:guisp) >= 0 + exec "hi " . a:group . " guisp=" . l:guisp + else + exec "hi " . a:group . " guisp=" . l:guisp + endif + endif +endfunction + + +fun hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) +endfun + + +" color groups for interpretability +call hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + +hi! link Boolean ThemeOrange +hi! link Character ThemeRed +hi! link Comment ThemeGreyItalic +hi! link Conditional ThemeRed +hi! link Constant ThemeOrange +hi! link Delimiter ThemeFg1 +hi! link Float ThemeOrange +hi! link Function ThemeBlue +hi! link Include ThemeBlue +hi! link Constant ThemeOrange +hi! link Label ThemeOrange +hi! link Number ThemeOrange +hi! link Operator ThemeYellow +hi! link PreProc ThemeOrange +hi! link Repeat ThemeViolet +hi! link Special ThemeYellow +hi! link SpecialChar ThemeMagenta +hi! link Statement ThemeRed +hi! link StorageClass ThemeOrange +hi! link String ThemeGreen +hi! link Structure ThemeOrange +hi! link Tag ThemeOrange +hi! link Type ThemeYellow +hi! link Typedef ThemeOrange + + +" Treesitter +if has("nvim-0.8.0") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue + + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed + + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue + + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment + + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue + + hi! link @constant.macro ThemeRed + + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed + + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed + + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue + + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed + + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet + + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen + + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") + +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + +" C +call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") + +" Clap +hi! link ClapInput ColorColumn +hi! link ClapSpinner ColorColumn +hi! link ClapDisplay Default +hi! link ClapPreview ColorColumn +hi! link ClapCurrentSelection CursorLine +hi! link ClapNoMatchesFound ErrorFloat + +" Coc +hi! link CocErrorSign ErrorSign +hi! link CocWarningSign WarningSign +hi! link CocInfoSign InfoSign +hi! link CocHintSign HintSign + +hi! link CocErrorFloat ErrorFloat +hi! link CocWarningFloat WarningFloat +hi! link CocInfoFloat InfoFloat +hi! link CocHintFloat HintFloat + +hi! link CocErrorHighlight ErrorHighlight +hi! link CocWarningHighlight WarningHighlight +hi! link CocInfoHighlight InfoHighlight +hi! link CocHintHighlight HintHighlight + +hi! link CocSem_angle Keyword +hi! link CocSem_annotation Keyword +hi! link CocSem_attribute Type +hi! link CocSem_bitwise Keyword +hi! link CocSem_boolean Boolean +hi! link CocSem_brace Normal +hi! link CocSem_bracket Normal +hi! link CocSem_builtinAttribute Type +hi! link CocSem_builtinType Type +hi! link CocSem_character String +hi! link CocSem_class Structure +hi! link CocSem_colon Normal +hi! link CocSem_comma Normal +hi! link CocSem_comment Comment +hi! link CocSem_comparison Keyword +hi! link CocSem_concept Keyword +hi! link CocSem_constParameter Identifier +hi! link CocSem_dependent Keyword +hi! link CocSem_dot Keyword +hi! link CocSem_enum Structure +hi! link CocSem_enumMember Constant +hi! link CocSem_escapeSequence Type +hi! link CocSem_event Identifier +hi! link CocSem_formatSpecifier Type +hi! link CocSem_function Function +hi! link CocSem_interface Type +hi! link CocSem_keyword Keyword +hi! link CocSem_label Keyword +hi! link CocSem_logical Keyword +hi! link CocSem_macro Macro +hi! link CocSem_method Function +hi! link CocSem_modifier Keyword +hi! link CocSem_namespace Identifier +hi! link CocSem_number Number +hi! link CocSem_operator Operator +hi! link CocSem_parameter Identifier +hi! link CocSem_parenthesis Normal +hi! link CocSem_property Identifier +hi! link CocSem_punctuation Keyword +hi! link CocSem_regexp Type +hi! link CocSem_selfKeyword Constant +hi! link CocSem_semicolon Normal +hi! link CocSem_string String +hi! link CocSem_struct Structure +hi! link CocSem_type Type +hi! link CocSem_typeAlias Type +hi! link CocSem_typeParameter Type +hi! link CocSem_unknown Normal +hi! link CocSem_variable Identifier + +call hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "") + +" CSS +hi! link cssBraces ThemeBlue +hi! link cssFunctionName ThemeYellow +hi! link cssIdentifier ThemeOrange +hi! link cssClassName ThemeGreen +hi! link cssColor ThemeBlue +hi! link cssSelectorOp ThemeBlue +hi! link cssSelectorOp2 ThemeBlue +hi! link cssImportant ThemeGreen +hi! link cssVendor ThemeFg1 + +hi! link cssTextProp ThemeCyan +hi! link cssAnimationProp ThemeCyan +hi! link cssUIProp ThemeYellow +hi! link cssTransformProp ThemeCyan +hi! link cssTransitionProp ThemeCyan +hi! link cssPrintProp ThemeCyan +hi! link cssPositioningProp ThemeYellow +hi! link cssBoxProp ThemeCyan +hi! link cssFontDescriptorProp ThemeCyan +hi! link cssFlexibleBoxProp ThemeCyan +hi! link cssBorderOutlineProp ThemeCyan +hi! link cssBackgroundProp ThemeCyan +hi! link cssMarginProp ThemeCyan +hi! link cssListProp ThemeCyan +hi! link cssTableProp ThemeCyan +hi! link cssFontProp ThemeCyan +hi! link cssPaddingProp ThemeCyan +hi! link cssDimensionProp ThemeCyan +hi! link cssRenderProp ThemeCyan +hi! link cssColorProp ThemeCyan +hi! link cssGeneratedContentProp ThemeCyan + + +" CMP +hi! link CmpItemAbbrDeprecated Deprecated +hi! link CmpItemAbbrMatch SearchMatch +hi! link CmpItemAbbrMatchFuzzy SearchMatch +hi! link CmpItemKindClass Type +hi! link CmpItemKindColor Keyword +hi! link CmpItemKindConstant Constant +hi! link CmpItemKindConstructor Special +hi! link CmpItemKindEnum Type +hi! link CmpItemKindEnumMember Constant +hi! link CmpItemKindEvent Identifier +hi! link CmpItemKindField Character +hi! link CmpItemKindFile Directory +hi! link CmpItemKindFolder Directory +hi! link CmpItemKindFunction Function +hi! link CmpItemKindInterface Type +hi! link CmpItemKindKeyword Keyword +hi! link CmpItemKindMethod Function +hi! link CmpItemKindModule Namespace +hi! link CmpItemKindOperator Operator +hi! link CmpItemKindProperty Identifier +hi! link CmpItemKindReference Character +hi! link CmpItemKindSnippet String +hi! link CmpItemKindStruct Type +hi! link CmpItemKindText Text +hi! link CmpItemKindUnit Namespace +hi! link CmpItemKindValue Comment +hi! link CmpItemKindVariable Identifier + +if has("nvim-0.8.0") + hi! link CmpItemKindField @field + hi! link CmpItemKindProperty @property +endif + +" Diff +call hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") + +" GitGutter +hi! link GitGutterAdd GitAddSign +hi! link GitGutterChange GitChangeSign +hi! link GitGutterDelete GitDeleteSign +hi! link GitGutterChangeDelete GitChangeDeleteSign + +" indent-blankline (nvim) +if has("nvim") + call hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "") + +" Netrw +hi! link netrwDir ThemeCyan +hi! link netrwClassify ThemeCyan +hi! link netrwLink ThemeBg3 +hi! link netrwSymLink ThemeFg1 +hi! link netrwExe ThemeYellow +hi! link netrwComment ThemeBg3 +hi! link netrwList ThemeBlue +hi! link netrwHelpCmd ThemeCyan +hi! link netrwCmdSep ThemeFg3 +hi! link netrwVersion ThemeGreen + +" PHP +call hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") + +" hi! link pythonBuiltin ThemeCyan +" hi! link pythonBuiltinObj ThemeCyan +" hi! link pythonBuiltinFunc ThemeGreen +" hi! link pythonFunction Function +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow +" hi! link pythonTripleQuotes ThemeGreenItalic +" hi! link pythonInclude ThemeBlue +" hi! link pythonImport ThemeBlue +" hi! link pythonRun ThemeBlue +" hi! link pythonCoding ThemeBlue +" hi! link pythonOperator ThemeRed +" hi! link pythonException ThemeRed +" hi! link pythonExceptions ThemeYellow +" hi! link pythonBoolean ThemeYellow +" hi! link pythonDot ThemeFg3 +" hi! link pythonConditional ThemeCyan +" hi! link pythonRepeat ThemeRed +" hi! link pythonDottedName ThemeGreen + + +" Ruby +call hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") + +" JSON +hi! link jsonKeyword ThemeGreen +hi! link jsonQuote ThemeGreen +hi! link jsonBraces ThemeFg1 +hi! link jsonString ThemeFg1 + +" Markdown +hi! link markdownH1 ThemeRedBold +hi! link markdownH2 ThemeRed +hi! link markdownH3 ThemeRed +hi! link markdownH4 ThemeRed +hi! link markdownH5 ThemeRed +hi! link markdownH6 ThemeRed + +hi! link markdownCode ThemeYellow +hi! link markdownCodeBlock ThemeYellow +hi! link markdownCodeDelimiter ThemeYellow + +hi! link markdownBlockquote ThemeGrey +hi! link markdownListMarker ThemeBlue +hi! link markdownOrderedListMarker ThemeBlue +hi! link markdownRule ThemeGrey +hi! link markdownHeadingRule ThemeGrey + +hi! link markdownUrlDelimiter ThemeFg3 +hi! link markdownLinkDelimiter ThemeFg3 +hi! link markdownLinkTextDelimiter ThemeFg3 +hi! link markdownHeadingDelimiter ThemeOrange +hi! link markdownUrlTitleDelimiter ThemeGreen + +hi! link markdownLink ThemeGreen +hi! link markdownWikiLink ThemeViolet +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic +hi! link markdownInlineUrl ThemeOrange + +hi! link markdownLinkText ThemeViolet +hi! link markdownIdDeclaration markdownLinkText + +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + +"call s:HL('markdownItalic', s:fg3, s:none, s:italic) +"call s:HL('markdownLinkText', s:gray, s:none, s:underline) + + +" Remove functions +delf hi + +" Remove color variables +unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg +unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/monobiome-light.vim b/app-config/nvim/grassland-monobiome-light.theme.vim similarity index 74% rename from apps/nvim/monobiome-light.vim rename to app-config/nvim/grassland-monobiome-light.theme.vim index cbe752c..e40240d 100644 --- a/apps/nvim/monobiome-light.vim +++ b/app-config/nvim/grassland-monobiome-light.theme.vim @@ -7,26 +7,48 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#cecece" -let g:base16_gui00 = "#cecece" -let s:gui01 = "#bebebe" -let g:base16_gui01 = "#bebebe" -let s:gui02 = "#aeaeae" -let g:base16_gui02 = "#aeaeae" -let s:gui03 = "#9e9e9e" -let g:base16_gui03 = "#9e9e9e" -let s:gui04 = "#3a3a3a" -let g:base16_gui04 = "#3a3a3a" -let s:gui05 = "#2e2e2e" -let g:base16_gui05 = "#2e2e2e" -let s:gui06 = "#222222" -let g:base16_gui06 = "#222222" -let s:gui07 = "#161616" -let g:base16_gui07 = "#161616" -let s:gui08 = "#b52119" -let g:base16_gui08 = "#b52119" +let s:gui00 = "#d9e0da" +let g:base16_gui00 = "#d9e0da" +let s:gui01 = "#c9d0ca" +let g:base16_gui01 = "#c9d0ca" +let s:gui02 = "#b9c0ba" +let g:base16_gui02 = "#b9c0ba" +let s:gui03 = "#a9b0aa" +let g:base16_gui03 = "#a9b0aa" +let s:gui04 = "#444944" +let g:base16_gui04 = "#444944" +let s:gui05 = "#373c37" +let g:base16_gui05 = "#373c37" +let s:gui06 = "#2a2f2b" +let g:base16_gui06 = "#2a2f2b" +let s:gui07 = "#1e231f" +let g:base16_gui07 = "#1e231f" +let s:gui08 = "#b42219" +let g:base16_gui08 = "#b42219" let s:gui09 = "#905201" let g:base16_gui09 = "#905201" let s:gui0A = "#6a6535" @@ -39,10 +61,10 @@ let s:gui0D = "#3860ac" let g:base16_gui0D = "#3860ac" let s:gui0E = "#3860ac" let g:base16_gui0E = "#3860ac" -let s:gui0F = "#b52119" -let g:base16_gui0F = "#b52119" +let s:gui0F = "#b42219" +let g:base16_gui0F = "#b42219" -let s:grey = "#636363" +let s:grey = "#7c827d" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#cecece" - let g:terminal_color_1 = "#b52119" + let g:terminal_color_0 = "#d9e0da" + let g:terminal_color_1 = "#b42219" let g:terminal_color_2 = "#377242" let g:terminal_color_3 = "#6a6535" let g:terminal_color_4 = "#3860ac" let g:terminal_color_5 = "#3860ac" let g:terminal_color_6 = "#377242" - let g:terminal_color_7 = "#2e2e2e" - let g:terminal_color_8 = "#9e9e9e" - let g:terminal_color_9 = "#b52119" + let g:terminal_color_7 = "#373c37" + let g:terminal_color_8 = "#a9b0aa" + let g:terminal_color_9 = "#b42219" let g:terminal_color_10 = "#377242" let g:terminal_color_11 = "#6a6535" let g:terminal_color_12 = "#3860ac" let g:terminal_color_13 = "#3860ac" let g:terminal_color_14 = "#377242" - let g:terminal_color_15 = "#161616" + let g:terminal_color_15 = "#1e231f" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#cecece", - \ "#b52119", + \ "#d9e0da", + \ "#b42219", \ "#377242", \ "#6a6535", \ "#3860ac", \ "#3860ac", \ "#377242", - \ "#2e2e2e", - \ "#9e9e9e", - \ "#b52119", + \ "#373c37", + \ "#a9b0aa", + \ "#b42219", \ "#377242", \ "#6a6535", \ "#3860ac", \ "#3860ac", \ "#377242", - \ "#161616", + \ "#1e231f", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/hard-savanna-monobiome-dark.vim b/app-config/nvim/hard-grassland-monobiome-dark.theme.vim similarity index 74% rename from apps/nvim/hard-savanna-monobiome-dark.vim rename to app-config/nvim/hard-grassland-monobiome-dark.theme.vim index 21dfa75..2e36fff 100644 --- a/apps/nvim/hard-savanna-monobiome-dark.vim +++ b/app-config/nvim/hard-grassland-monobiome-dark.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#181610" -let g:base16_gui00 = "#181610" -let s:gui01 = "#24211c" -let g:base16_gui01 = "#24211c" -let s:gui02 = "#302e28" -let g:base16_gui02 = "#302e28" -let s:gui03 = "#3d3a34" -let g:base16_gui03 = "#3d3a34" -let s:gui04 = "#a19e97" -let g:base16_gui04 = "#a19e97" -let s:gui05 = "#b0aea6" -let g:base16_gui05 = "#b0aea6" -let s:gui06 = "#c0bdb6" -let g:base16_gui06 = "#c0bdb6" -let s:gui07 = "#d0cec6" -let g:base16_gui07 = "#d0cec6" -let s:gui08 = "#dc4134" -let g:base16_gui08 = "#dc4134" -let s:gui09 = "#b86b05" -let g:base16_gui09 = "#b86b05" +let s:gui00 = "#131713" +let g:base16_gui00 = "#131713" +let s:gui01 = "#1e231f" +let g:base16_gui01 = "#1e231f" +let s:gui02 = "#2a2f2b" +let g:base16_gui02 = "#2a2f2b" +let s:gui03 = "#373c37" +let g:base16_gui03 = "#373c37" +let s:gui04 = "#9aa09b" +let g:base16_gui04 = "#9aa09b" +let s:gui05 = "#a9b0aa" +let g:base16_gui05 = "#a9b0aa" +let s:gui06 = "#b9c0ba" +let g:base16_gui06 = "#b9c0ba" +let s:gui07 = "#c9d0ca" +let g:base16_gui07 = "#c9d0ca" +let s:gui08 = "#dc4234" +let g:base16_gui08 = "#dc4234" +let s:gui09 = "#b76b0c" +let g:base16_gui09 = "#b76b0c" let s:gui0A = "#888346" let g:base16_gui0A = "#888346" let s:gui0B = "#4f925a" @@ -39,10 +61,10 @@ let s:gui0D = "#557ecc" let g:base16_gui0D = "#557ecc" let s:gui0E = "#557ecc" let g:base16_gui0E = "#557ecc" -let s:gui0F = "#dc4134" -let g:base16_gui0F = "#dc4134" +let s:gui0F = "#dc4234" +let g:base16_gui0F = "#dc4234" -let s:grey = "#74716a" +let s:grey = "#5f6560" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#181610" - let g:terminal_color_1 = "#dc4134" + let g:terminal_color_0 = "#131713" + let g:terminal_color_1 = "#dc4234" let g:terminal_color_2 = "#4f925a" let g:terminal_color_3 = "#888346" let g:terminal_color_4 = "#557ecc" let g:terminal_color_5 = "#557ecc" let g:terminal_color_6 = "#4f925a" - let g:terminal_color_7 = "#b0aea6" - let g:terminal_color_8 = "#3d3a34" - let g:terminal_color_9 = "#dc4134" + let g:terminal_color_7 = "#a9b0aa" + let g:terminal_color_8 = "#373c37" + let g:terminal_color_9 = "#dc4234" let g:terminal_color_10 = "#4f925a" let g:terminal_color_11 = "#888346" let g:terminal_color_12 = "#557ecc" let g:terminal_color_13 = "#557ecc" let g:terminal_color_14 = "#4f925a" - let g:terminal_color_15 = "#d0cec6" + let g:terminal_color_15 = "#c9d0ca" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#181610", - \ "#dc4134", + \ "#131713", + \ "#dc4234", \ "#4f925a", \ "#888346", \ "#557ecc", \ "#557ecc", \ "#4f925a", - \ "#b0aea6", - \ "#3d3a34", - \ "#dc4134", + \ "#a9b0aa", + \ "#373c37", + \ "#dc4234", \ "#4f925a", \ "#888346", \ "#557ecc", \ "#557ecc", \ "#4f925a", - \ "#d0cec6", + \ "#c9d0ca", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/hard-grassland-monobiome-light.vim b/app-config/nvim/hard-grassland-monobiome-light.theme.vim similarity index 74% rename from apps/nvim/hard-grassland-monobiome-light.vim rename to app-config/nvim/hard-grassland-monobiome-light.theme.vim index 5df9a68..fdf3b84 100644 --- a/apps/nvim/hard-grassland-monobiome-light.vim +++ b/app-config/nvim/hard-grassland-monobiome-light.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#d7e0dd" -let g:base16_gui00 = "#d7e0dd" -let s:gui01 = "#c7d0cc" -let g:base16_gui01 = "#c7d0cc" -let s:gui02 = "#b7c0bc" -let g:base16_gui02 = "#b7c0bc" -let s:gui03 = "#a8b0ad" -let g:base16_gui03 = "#a8b0ad" -let s:gui04 = "#424a47" -let g:base16_gui04 = "#424a47" -let s:gui05 = "#353c3a" -let g:base16_gui05 = "#353c3a" -let s:gui06 = "#29302d" -let g:base16_gui06 = "#29302d" -let s:gui07 = "#1d2321" -let g:base16_gui07 = "#1d2321" -let s:gui08 = "#ca2e23" -let g:base16_gui08 = "#ca2e23" -let s:gui09 = "#a45e00" -let g:base16_gui09 = "#a45e00" +let s:gui00 = "#eaf1ea" +let g:base16_gui00 = "#eaf1ea" +let s:gui01 = "#d9e0da" +let g:base16_gui01 = "#d9e0da" +let s:gui02 = "#c9d0ca" +let g:base16_gui02 = "#c9d0ca" +let s:gui03 = "#b9c0ba" +let g:base16_gui03 = "#b9c0ba" +let s:gui04 = "#515752" +let g:base16_gui04 = "#515752" +let s:gui05 = "#444944" +let g:base16_gui05 = "#444944" +let s:gui06 = "#373c37" +let g:base16_gui06 = "#373c37" +let s:gui07 = "#2a2f2b" +let g:base16_gui07 = "#2a2f2b" +let s:gui08 = "#ca2f24" +let g:base16_gui08 = "#ca2f24" +let s:gui09 = "#a45e03" +let g:base16_gui09 = "#a45e03" let s:gui0A = "#79743d" let g:base16_gui0A = "#79743d" let s:gui0B = "#42824e" @@ -39,10 +61,10 @@ let s:gui0D = "#456fbe" let g:base16_gui0D = "#456fbe" let s:gui0E = "#456fbe" let g:base16_gui0E = "#456fbe" -let s:gui0F = "#ca2e23" -let g:base16_gui0F = "#ca2e23" +let s:gui0F = "#ca2f24" +let g:base16_gui0F = "#ca2f24" -let s:grey = "#6c7470" +let s:grey = "#8b918b" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#d7e0dd" - let g:terminal_color_1 = "#ca2e23" + let g:terminal_color_0 = "#eaf1ea" + let g:terminal_color_1 = "#ca2f24" let g:terminal_color_2 = "#42824e" let g:terminal_color_3 = "#79743d" let g:terminal_color_4 = "#456fbe" let g:terminal_color_5 = "#456fbe" let g:terminal_color_6 = "#42824e" - let g:terminal_color_7 = "#353c3a" - let g:terminal_color_8 = "#a8b0ad" - let g:terminal_color_9 = "#ca2e23" + let g:terminal_color_7 = "#444944" + let g:terminal_color_8 = "#b9c0ba" + let g:terminal_color_9 = "#ca2f24" let g:terminal_color_10 = "#42824e" let g:terminal_color_11 = "#79743d" let g:terminal_color_12 = "#456fbe" let g:terminal_color_13 = "#456fbe" let g:terminal_color_14 = "#42824e" - let g:terminal_color_15 = "#1d2321" + let g:terminal_color_15 = "#2a2f2b" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#d7e0dd", - \ "#ca2e23", + \ "#eaf1ea", + \ "#ca2f24", \ "#42824e", \ "#79743d", \ "#456fbe", \ "#456fbe", \ "#42824e", - \ "#353c3a", - \ "#a8b0ad", - \ "#ca2e23", + \ "#444944", + \ "#b9c0ba", + \ "#ca2f24", \ "#42824e", \ "#79743d", \ "#456fbe", \ "#456fbe", \ "#42824e", - \ "#1d2321", + \ "#2a2f2b", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/hard-monobiome-dark.vim b/app-config/nvim/hard-monobiome-dark.theme.vim similarity index 76% rename from apps/nvim/hard-monobiome-dark.vim rename to app-config/nvim/hard-monobiome-dark.theme.vim index f2df12f..5231756 100644 --- a/apps/nvim/hard-monobiome-dark.vim +++ b/app-config/nvim/hard-monobiome-dark.theme.vim @@ -7,6 +7,28 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions let s:gui00 = "#161616" @@ -25,10 +47,10 @@ let s:gui06 = "#bebebe" let g:base16_gui06 = "#bebebe" let s:gui07 = "#cecece" let g:base16_gui07 = "#cecece" -let s:gui08 = "#dc4134" -let g:base16_gui08 = "#dc4134" -let s:gui09 = "#b86b05" -let g:base16_gui09 = "#b86b05" +let s:gui08 = "#dc4234" +let g:base16_gui08 = "#dc4234" +let s:gui09 = "#b76b0c" +let g:base16_gui09 = "#b76b0c" let s:gui0A = "#888346" let g:base16_gui0A = "#888346" let s:gui0B = "#4f925a" @@ -39,10 +61,10 @@ let s:gui0D = "#557ecc" let g:base16_gui0D = "#557ecc" let s:gui0E = "#557ecc" let g:base16_gui0E = "#557ecc" -let s:gui0F = "#dc4134" -let g:base16_gui0F = "#dc4134" +let s:gui0F = "#dc4234" +let g:base16_gui0F = "#dc4234" -let s:grey = "#717171" +let s:grey = "#636363" " Terminal color definitions let s:cterm00 = "00" @@ -82,7 +104,7 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") let g:terminal_color_0 = "#161616" - let g:terminal_color_1 = "#dc4134" + let g:terminal_color_1 = "#dc4234" let g:terminal_color_2 = "#4f925a" let g:terminal_color_3 = "#888346" let g:terminal_color_4 = "#557ecc" @@ -90,7 +112,7 @@ if has("nvim") let g:terminal_color_6 = "#4f925a" let g:terminal_color_7 = "#aeaeae" let g:terminal_color_8 = "#3a3a3a" - let g:terminal_color_9 = "#dc4134" + let g:terminal_color_9 = "#dc4234" let g:terminal_color_10 = "#4f925a" let g:terminal_color_11 = "#888346" let g:terminal_color_12 = "#557ecc" @@ -108,7 +130,7 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ \ "#161616", - \ "#dc4134", + \ "#dc4234", \ "#4f925a", \ "#888346", \ "#557ecc", @@ -116,7 +138,7 @@ elseif has("terminal") \ "#4f925a", \ "#aeaeae", \ "#3a3a3a", - \ "#dc4134", + \ "#dc4234", \ "#4f925a", \ "#888346", \ "#557ecc", @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/hard-monobiome-light.vim b/app-config/nvim/hard-monobiome-light.theme.vim similarity index 74% rename from apps/nvim/hard-monobiome-light.vim rename to app-config/nvim/hard-monobiome-light.theme.vim index f3386dc..8fca035 100644 --- a/apps/nvim/hard-monobiome-light.vim +++ b/app-config/nvim/hard-monobiome-light.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#dedede" -let g:base16_gui00 = "#dedede" -let s:gui01 = "#cecece" -let g:base16_gui01 = "#cecece" -let s:gui02 = "#bebebe" -let g:base16_gui02 = "#bebebe" -let s:gui03 = "#aeaeae" -let g:base16_gui03 = "#aeaeae" -let s:gui04 = "#484848" -let g:base16_gui04 = "#484848" -let s:gui05 = "#3a3a3a" -let g:base16_gui05 = "#3a3a3a" -let s:gui06 = "#2e2e2e" -let g:base16_gui06 = "#2e2e2e" -let s:gui07 = "#222222" -let g:base16_gui07 = "#222222" -let s:gui08 = "#ca2e23" -let g:base16_gui08 = "#ca2e23" -let s:gui09 = "#a45e00" -let g:base16_gui09 = "#a45e00" +let s:gui00 = "#eeeeee" +let g:base16_gui00 = "#eeeeee" +let s:gui01 = "#dedede" +let g:base16_gui01 = "#dedede" +let s:gui02 = "#cecece" +let g:base16_gui02 = "#cecece" +let s:gui03 = "#bebebe" +let g:base16_gui03 = "#bebebe" +let s:gui04 = "#555555" +let g:base16_gui04 = "#555555" +let s:gui05 = "#484848" +let g:base16_gui05 = "#484848" +let s:gui06 = "#3a3a3a" +let g:base16_gui06 = "#3a3a3a" +let s:gui07 = "#2e2e2e" +let g:base16_gui07 = "#2e2e2e" +let s:gui08 = "#ca2f24" +let g:base16_gui08 = "#ca2f24" +let s:gui09 = "#a45e03" +let g:base16_gui09 = "#a45e03" let s:gui0A = "#79743d" let g:base16_gui0A = "#79743d" let s:gui0B = "#42824e" @@ -39,10 +61,10 @@ let s:gui0D = "#456fbe" let g:base16_gui0D = "#456fbe" let s:gui0E = "#456fbe" let g:base16_gui0E = "#456fbe" -let s:gui0F = "#ca2e23" -let g:base16_gui0F = "#ca2e23" +let s:gui0F = "#ca2f24" +let g:base16_gui0F = "#ca2f24" -let s:grey = "#717171" +let s:grey = "#8f8f8f" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#dedede" - let g:terminal_color_1 = "#ca2e23" + let g:terminal_color_0 = "#eeeeee" + let g:terminal_color_1 = "#ca2f24" let g:terminal_color_2 = "#42824e" let g:terminal_color_3 = "#79743d" let g:terminal_color_4 = "#456fbe" let g:terminal_color_5 = "#456fbe" let g:terminal_color_6 = "#42824e" - let g:terminal_color_7 = "#3a3a3a" - let g:terminal_color_8 = "#aeaeae" - let g:terminal_color_9 = "#ca2e23" + let g:terminal_color_7 = "#484848" + let g:terminal_color_8 = "#bebebe" + let g:terminal_color_9 = "#ca2f24" let g:terminal_color_10 = "#42824e" let g:terminal_color_11 = "#79743d" let g:terminal_color_12 = "#456fbe" let g:terminal_color_13 = "#456fbe" let g:terminal_color_14 = "#42824e" - let g:terminal_color_15 = "#222222" + let g:terminal_color_15 = "#2e2e2e" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#dedede", - \ "#ca2e23", + \ "#eeeeee", + \ "#ca2f24", \ "#42824e", \ "#79743d", \ "#456fbe", \ "#456fbe", \ "#42824e", - \ "#3a3a3a", - \ "#aeaeae", - \ "#ca2e23", + \ "#484848", + \ "#bebebe", + \ "#ca2f24", \ "#42824e", \ "#79743d", \ "#456fbe", \ "#456fbe", \ "#42824e", - \ "#222222", + \ "#2e2e2e", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/hard-grassland-monobiome-dark.vim b/app-config/nvim/hard-savanna-monobiome-dark.theme.vim similarity index 74% rename from apps/nvim/hard-grassland-monobiome-dark.vim rename to app-config/nvim/hard-savanna-monobiome-dark.theme.vim index 2aa0641..ed95a7f 100644 --- a/apps/nvim/hard-grassland-monobiome-dark.vim +++ b/app-config/nvim/hard-savanna-monobiome-dark.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#111815" -let g:base16_gui00 = "#111815" -let s:gui01 = "#1d2321" -let g:base16_gui01 = "#1d2321" -let s:gui02 = "#29302d" -let g:base16_gui02 = "#29302d" -let s:gui03 = "#353c3a" -let g:base16_gui03 = "#353c3a" -let s:gui04 = "#98a19d" -let g:base16_gui04 = "#98a19d" -let s:gui05 = "#a8b0ad" -let g:base16_gui05 = "#a8b0ad" -let s:gui06 = "#b7c0bc" -let g:base16_gui06 = "#b7c0bc" -let s:gui07 = "#c7d0cc" -let g:base16_gui07 = "#c7d0cc" -let s:gui08 = "#dc4134" -let g:base16_gui08 = "#dc4134" -let s:gui09 = "#b86b05" -let g:base16_gui09 = "#b86b05" +let s:gui00 = "#171611" +let g:base16_gui00 = "#171611" +let s:gui01 = "#22221c" +let g:base16_gui01 = "#22221c" +let s:gui02 = "#2f2e28" +let g:base16_gui02 = "#2f2e28" +let s:gui03 = "#3b3b34" +let g:base16_gui03 = "#3b3b34" +let s:gui04 = "#9f9f97" +let g:base16_gui04 = "#9f9f97" +let s:gui05 = "#afaea7" +let g:base16_gui05 = "#afaea7" +let s:gui06 = "#bfbeb6" +let g:base16_gui06 = "#bfbeb6" +let s:gui07 = "#cfcec6" +let g:base16_gui07 = "#cfcec6" +let s:gui08 = "#dc4234" +let g:base16_gui08 = "#dc4234" +let s:gui09 = "#b76b0c" +let g:base16_gui09 = "#b76b0c" let s:gui0A = "#888346" let g:base16_gui0A = "#888346" let s:gui0B = "#4f925a" @@ -39,10 +61,10 @@ let s:gui0D = "#557ecc" let g:base16_gui0D = "#557ecc" let s:gui0E = "#557ecc" let g:base16_gui0E = "#557ecc" -let s:gui0F = "#dc4134" -let g:base16_gui0F = "#dc4134" +let s:gui0F = "#dc4234" +let g:base16_gui0F = "#dc4234" -let s:grey = "#6c7470" +let s:grey = "#64645d" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#111815" - let g:terminal_color_1 = "#dc4134" + let g:terminal_color_0 = "#171611" + let g:terminal_color_1 = "#dc4234" let g:terminal_color_2 = "#4f925a" let g:terminal_color_3 = "#888346" let g:terminal_color_4 = "#557ecc" let g:terminal_color_5 = "#557ecc" let g:terminal_color_6 = "#4f925a" - let g:terminal_color_7 = "#a8b0ad" - let g:terminal_color_8 = "#353c3a" - let g:terminal_color_9 = "#dc4134" + let g:terminal_color_7 = "#afaea7" + let g:terminal_color_8 = "#3b3b34" + let g:terminal_color_9 = "#dc4234" let g:terminal_color_10 = "#4f925a" let g:terminal_color_11 = "#888346" let g:terminal_color_12 = "#557ecc" let g:terminal_color_13 = "#557ecc" let g:terminal_color_14 = "#4f925a" - let g:terminal_color_15 = "#c7d0cc" + let g:terminal_color_15 = "#cfcec6" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#111815", - \ "#dc4134", + \ "#171611", + \ "#dc4234", \ "#4f925a", \ "#888346", \ "#557ecc", \ "#557ecc", \ "#4f925a", - \ "#a8b0ad", - \ "#353c3a", - \ "#dc4134", + \ "#afaea7", + \ "#3b3b34", + \ "#dc4234", \ "#4f925a", \ "#888346", \ "#557ecc", \ "#557ecc", \ "#4f925a", - \ "#c7d0cc", + \ "#cfcec6", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/hard-savanna-monobiome-light.vim b/app-config/nvim/hard-savanna-monobiome-light.theme.vim similarity index 74% rename from apps/nvim/hard-savanna-monobiome-light.vim rename to app-config/nvim/hard-savanna-monobiome-light.theme.vim index 283b0a2..8ef5c4a 100644 --- a/apps/nvim/hard-savanna-monobiome-light.vim +++ b/app-config/nvim/hard-savanna-monobiome-light.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#e1ded6" -let g:base16_gui00 = "#e1ded6" -let s:gui01 = "#d0cec6" -let g:base16_gui01 = "#d0cec6" -let s:gui02 = "#c0bdb6" -let g:base16_gui02 = "#c0bdb6" -let s:gui03 = "#b0aea6" -let g:base16_gui03 = "#b0aea6" -let s:gui04 = "#4a4841" -let g:base16_gui04 = "#4a4841" -let s:gui05 = "#3d3a34" -let g:base16_gui05 = "#3d3a34" -let s:gui06 = "#302e28" -let g:base16_gui06 = "#302e28" -let s:gui07 = "#24211c" -let g:base16_gui07 = "#24211c" -let s:gui08 = "#ca2e23" -let g:base16_gui08 = "#ca2e23" -let s:gui09 = "#a45e00" -let g:base16_gui09 = "#a45e00" +let s:gui00 = "#efefe7" +let g:base16_gui00 = "#efefe7" +let s:gui01 = "#dfded6" +let g:base16_gui01 = "#dfded6" +let s:gui02 = "#cfcec6" +let g:base16_gui02 = "#cfcec6" +let s:gui03 = "#bfbeb6" +let g:base16_gui03 = "#bfbeb6" +let s:gui04 = "#56564f" +let g:base16_gui04 = "#56564f" +let s:gui05 = "#484841" +let g:base16_gui05 = "#484841" +let s:gui06 = "#3b3b34" +let g:base16_gui06 = "#3b3b34" +let s:gui07 = "#2f2e28" +let g:base16_gui07 = "#2f2e28" +let s:gui08 = "#ca2f24" +let g:base16_gui08 = "#ca2f24" +let s:gui09 = "#a45e03" +let g:base16_gui09 = "#a45e03" let s:gui0A = "#79743d" let g:base16_gui0A = "#79743d" let s:gui0B = "#42824e" @@ -39,10 +61,10 @@ let s:gui0D = "#456fbe" let g:base16_gui0D = "#456fbe" let s:gui0E = "#456fbe" let g:base16_gui0E = "#456fbe" -let s:gui0F = "#ca2e23" -let g:base16_gui0F = "#ca2e23" +let s:gui0F = "#ca2f24" +let g:base16_gui0F = "#ca2f24" -let s:grey = "#74716a" +let s:grey = "#909088" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#e1ded6" - let g:terminal_color_1 = "#ca2e23" + let g:terminal_color_0 = "#efefe7" + let g:terminal_color_1 = "#ca2f24" let g:terminal_color_2 = "#42824e" let g:terminal_color_3 = "#79743d" let g:terminal_color_4 = "#456fbe" let g:terminal_color_5 = "#456fbe" let g:terminal_color_6 = "#42824e" - let g:terminal_color_7 = "#3d3a34" - let g:terminal_color_8 = "#b0aea6" - let g:terminal_color_9 = "#ca2e23" + let g:terminal_color_7 = "#484841" + let g:terminal_color_8 = "#bfbeb6" + let g:terminal_color_9 = "#ca2f24" let g:terminal_color_10 = "#42824e" let g:terminal_color_11 = "#79743d" let g:terminal_color_12 = "#456fbe" let g:terminal_color_13 = "#456fbe" let g:terminal_color_14 = "#42824e" - let g:terminal_color_15 = "#24211c" + let g:terminal_color_15 = "#2f2e28" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#e1ded6", - \ "#ca2e23", + \ "#efefe7", + \ "#ca2f24", \ "#42824e", \ "#79743d", \ "#456fbe", \ "#456fbe", \ "#42824e", - \ "#3d3a34", - \ "#b0aea6", - \ "#ca2e23", + \ "#484841", + \ "#bfbeb6", + \ "#ca2f24", \ "#42824e", \ "#79743d", \ "#456fbe", \ "#456fbe", \ "#42824e", - \ "#24211c", + \ "#2f2e28", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/hard-tundra-monobiome-dark.vim b/app-config/nvim/hard-tundra-monobiome-dark.theme.vim similarity index 74% rename from apps/nvim/hard-tundra-monobiome-dark.vim rename to app-config/nvim/hard-tundra-monobiome-dark.theme.vim index d23c2a0..facb1f3 100644 --- a/apps/nvim/hard-tundra-monobiome-dark.vim +++ b/app-config/nvim/hard-tundra-monobiome-dark.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#12161b" -let g:base16_gui00 = "#12161b" -let s:gui01 = "#1e2227" -let g:base16_gui01 = "#1e2227" -let s:gui02 = "#2a2e33" -let g:base16_gui02 = "#2a2e33" -let s:gui03 = "#363b40" -let g:base16_gui03 = "#363b40" -let s:gui04 = "#999fa5" -let g:base16_gui04 = "#999fa5" -let s:gui05 = "#a9afb5" -let g:base16_gui05 = "#a9afb5" -let s:gui06 = "#b9bec5" -let g:base16_gui06 = "#b9bec5" -let s:gui07 = "#c8ced5" -let g:base16_gui07 = "#c8ced5" -let s:gui08 = "#dc4134" -let g:base16_gui08 = "#dc4134" -let s:gui09 = "#b86b05" -let g:base16_gui09 = "#b86b05" +let s:gui00 = "#13161b" +let g:base16_gui00 = "#13161b" +let s:gui01 = "#1f2227" +let g:base16_gui01 = "#1f2227" +let s:gui02 = "#2b2e33" +let g:base16_gui02 = "#2b2e33" +let s:gui03 = "#373b40" +let g:base16_gui03 = "#373b40" +let s:gui04 = "#9b9fa5" +let g:base16_gui04 = "#9b9fa5" +let s:gui05 = "#aaaeb5" +let g:base16_gui05 = "#aaaeb5" +let s:gui06 = "#babec5" +let g:base16_gui06 = "#babec5" +let s:gui07 = "#caced5" +let g:base16_gui07 = "#caced5" +let s:gui08 = "#dc4234" +let g:base16_gui08 = "#dc4234" +let s:gui09 = "#b76b0c" +let g:base16_gui09 = "#b76b0c" let s:gui0A = "#888346" let g:base16_gui0A = "#888346" let s:gui0B = "#4f925a" @@ -39,10 +61,10 @@ let s:gui0D = "#557ecc" let g:base16_gui0D = "#557ecc" let s:gui0E = "#557ecc" let g:base16_gui0E = "#557ecc" -let s:gui0F = "#dc4134" -let g:base16_gui0F = "#dc4134" +let s:gui0F = "#dc4234" +let g:base16_gui0F = "#dc4234" -let s:grey = "#6d7278" +let s:grey = "#60636a" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#12161b" - let g:terminal_color_1 = "#dc4134" + let g:terminal_color_0 = "#13161b" + let g:terminal_color_1 = "#dc4234" let g:terminal_color_2 = "#4f925a" let g:terminal_color_3 = "#888346" let g:terminal_color_4 = "#557ecc" let g:terminal_color_5 = "#557ecc" let g:terminal_color_6 = "#4f925a" - let g:terminal_color_7 = "#a9afb5" - let g:terminal_color_8 = "#363b40" - let g:terminal_color_9 = "#dc4134" + let g:terminal_color_7 = "#aaaeb5" + let g:terminal_color_8 = "#373b40" + let g:terminal_color_9 = "#dc4234" let g:terminal_color_10 = "#4f925a" let g:terminal_color_11 = "#888346" let g:terminal_color_12 = "#557ecc" let g:terminal_color_13 = "#557ecc" let g:terminal_color_14 = "#4f925a" - let g:terminal_color_15 = "#c8ced5" + let g:terminal_color_15 = "#caced5" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#12161b", - \ "#dc4134", + \ "#13161b", + \ "#dc4234", \ "#4f925a", \ "#888346", \ "#557ecc", \ "#557ecc", \ "#4f925a", - \ "#a9afb5", - \ "#363b40", - \ "#dc4134", + \ "#aaaeb5", + \ "#373b40", + \ "#dc4234", \ "#4f925a", \ "#888346", \ "#557ecc", \ "#557ecc", \ "#4f925a", - \ "#c8ced5", + \ "#caced5", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/hard-tundra-monobiome-light.vim b/app-config/nvim/hard-tundra-monobiome-light.theme.vim similarity index 74% rename from apps/nvim/hard-tundra-monobiome-light.vim rename to app-config/nvim/hard-tundra-monobiome-light.theme.vim index 4b67a77..f37fb9f 100644 --- a/apps/nvim/hard-tundra-monobiome-light.vim +++ b/app-config/nvim/hard-tundra-monobiome-light.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#d9dfe5" -let g:base16_gui00 = "#d9dfe5" -let s:gui01 = "#c8ced5" -let g:base16_gui01 = "#c8ced5" -let s:gui02 = "#b9bec5" -let g:base16_gui02 = "#b9bec5" -let s:gui03 = "#a9afb5" -let g:base16_gui03 = "#a9afb5" -let s:gui04 = "#43484e" -let g:base16_gui04 = "#43484e" -let s:gui05 = "#363b40" -let g:base16_gui05 = "#363b40" -let s:gui06 = "#2a2e33" -let g:base16_gui06 = "#2a2e33" -let s:gui07 = "#1e2227" -let g:base16_gui07 = "#1e2227" -let s:gui08 = "#ca2e23" -let g:base16_gui08 = "#ca2e23" -let s:gui09 = "#a45e00" -let g:base16_gui09 = "#a45e00" +let s:gui00 = "#eaeff6" +let g:base16_gui00 = "#eaeff6" +let s:gui01 = "#dadee6" +let g:base16_gui01 = "#dadee6" +let s:gui02 = "#caced5" +let g:base16_gui02 = "#caced5" +let s:gui03 = "#babec5" +let g:base16_gui03 = "#babec5" +let s:gui04 = "#52555c" +let g:base16_gui04 = "#52555c" +let s:gui05 = "#44484e" +let g:base16_gui05 = "#44484e" +let s:gui06 = "#373b40" +let g:base16_gui06 = "#373b40" +let s:gui07 = "#2b2e33" +let g:base16_gui07 = "#2b2e33" +let s:gui08 = "#ca2f24" +let g:base16_gui08 = "#ca2f24" +let s:gui09 = "#a45e03" +let g:base16_gui09 = "#a45e03" let s:gui0A = "#79743d" let g:base16_gui0A = "#79743d" let s:gui0B = "#42824e" @@ -39,10 +61,10 @@ let s:gui0D = "#456fbe" let g:base16_gui0D = "#456fbe" let s:gui0E = "#456fbe" let g:base16_gui0E = "#456fbe" -let s:gui0F = "#ca2e23" -let g:base16_gui0F = "#ca2e23" +let s:gui0F = "#ca2f24" +let g:base16_gui0F = "#ca2f24" -let s:grey = "#6d7278" +let s:grey = "#8b8f96" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#d9dfe5" - let g:terminal_color_1 = "#ca2e23" + let g:terminal_color_0 = "#eaeff6" + let g:terminal_color_1 = "#ca2f24" let g:terminal_color_2 = "#42824e" let g:terminal_color_3 = "#79743d" let g:terminal_color_4 = "#456fbe" let g:terminal_color_5 = "#456fbe" let g:terminal_color_6 = "#42824e" - let g:terminal_color_7 = "#363b40" - let g:terminal_color_8 = "#a9afb5" - let g:terminal_color_9 = "#ca2e23" + let g:terminal_color_7 = "#44484e" + let g:terminal_color_8 = "#babec5" + let g:terminal_color_9 = "#ca2f24" let g:terminal_color_10 = "#42824e" let g:terminal_color_11 = "#79743d" let g:terminal_color_12 = "#456fbe" let g:terminal_color_13 = "#456fbe" let g:terminal_color_14 = "#42824e" - let g:terminal_color_15 = "#1e2227" + let g:terminal_color_15 = "#2b2e33" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#d9dfe5", - \ "#ca2e23", + \ "#eaeff6", + \ "#ca2f24", \ "#42824e", \ "#79743d", \ "#456fbe", \ "#456fbe", \ "#42824e", - \ "#363b40", - \ "#a9afb5", - \ "#ca2e23", + \ "#44484e", + \ "#babec5", + \ "#ca2f24", \ "#42824e", \ "#79743d", \ "#456fbe", \ "#456fbe", \ "#42824e", - \ "#1e2227", + \ "#2b2e33", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/monobiome-dark.vim b/app-config/nvim/monobiome-dark.theme.vim similarity index 76% rename from apps/nvim/monobiome-dark.vim rename to app-config/nvim/monobiome-dark.theme.vim index fa9b798..e63375b 100644 --- a/apps/nvim/monobiome-dark.vim +++ b/app-config/nvim/monobiome-dark.theme.vim @@ -7,6 +7,28 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions let s:gui00 = "#222222" @@ -27,8 +49,8 @@ let s:gui07 = "#dedede" let g:base16_gui07 = "#dedede" let s:gui08 = "#e95949" let g:base16_gui08 = "#e95949" -let s:gui09 = "#ca791c" -let g:base16_gui09 = "#ca791c" +let s:gui09 = "#c97920" +let g:base16_gui09 = "#c97920" let s:gui0A = "#989250" let g:base16_gui0A = "#989250" let s:gui0B = "#5da268" @@ -42,7 +64,7 @@ let g:base16_gui0E = "#658ed9" let s:gui0F = "#e95949" let g:base16_gui0F = "#e95949" -let s:grey = "#808080" +let s:grey = "#717171" " Terminal color definitions let s:cterm00 = "00" @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/tundra-monobiome-light.vim b/app-config/nvim/monobiome-light.theme.vim similarity index 74% rename from apps/nvim/tundra-monobiome-light.vim rename to app-config/nvim/monobiome-light.theme.vim index 993c27d..4bafcd7 100644 --- a/apps/nvim/tundra-monobiome-light.vim +++ b/app-config/nvim/monobiome-light.theme.vim @@ -7,26 +7,48 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#c8ced5" -let g:base16_gui00 = "#c8ced5" -let s:gui01 = "#b9bec5" -let g:base16_gui01 = "#b9bec5" -let s:gui02 = "#a9afb5" -let g:base16_gui02 = "#a9afb5" -let s:gui03 = "#999fa5" -let g:base16_gui03 = "#999fa5" -let s:gui04 = "#363b40" -let g:base16_gui04 = "#363b40" -let s:gui05 = "#2a2e33" -let g:base16_gui05 = "#2a2e33" -let s:gui06 = "#1e2227" -let g:base16_gui06 = "#1e2227" -let s:gui07 = "#12161b" -let g:base16_gui07 = "#12161b" -let s:gui08 = "#b52119" -let g:base16_gui08 = "#b52119" +let s:gui00 = "#dedede" +let g:base16_gui00 = "#dedede" +let s:gui01 = "#cecece" +let g:base16_gui01 = "#cecece" +let s:gui02 = "#bebebe" +let g:base16_gui02 = "#bebebe" +let s:gui03 = "#aeaeae" +let g:base16_gui03 = "#aeaeae" +let s:gui04 = "#484848" +let g:base16_gui04 = "#484848" +let s:gui05 = "#3a3a3a" +let g:base16_gui05 = "#3a3a3a" +let s:gui06 = "#2e2e2e" +let g:base16_gui06 = "#2e2e2e" +let s:gui07 = "#222222" +let g:base16_gui07 = "#222222" +let s:gui08 = "#b42219" +let g:base16_gui08 = "#b42219" let s:gui09 = "#905201" let g:base16_gui09 = "#905201" let s:gui0A = "#6a6535" @@ -39,10 +61,10 @@ let s:gui0D = "#3860ac" let g:base16_gui0D = "#3860ac" let s:gui0E = "#3860ac" let g:base16_gui0E = "#3860ac" -let s:gui0F = "#b52119" -let g:base16_gui0F = "#b52119" +let s:gui0F = "#b42219" +let g:base16_gui0F = "#b42219" -let s:grey = "#5f6469" +let s:grey = "#808080" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#c8ced5" - let g:terminal_color_1 = "#b52119" + let g:terminal_color_0 = "#dedede" + let g:terminal_color_1 = "#b42219" let g:terminal_color_2 = "#377242" let g:terminal_color_3 = "#6a6535" let g:terminal_color_4 = "#3860ac" let g:terminal_color_5 = "#3860ac" let g:terminal_color_6 = "#377242" - let g:terminal_color_7 = "#2a2e33" - let g:terminal_color_8 = "#999fa5" - let g:terminal_color_9 = "#b52119" + let g:terminal_color_7 = "#3a3a3a" + let g:terminal_color_8 = "#aeaeae" + let g:terminal_color_9 = "#b42219" let g:terminal_color_10 = "#377242" let g:terminal_color_11 = "#6a6535" let g:terminal_color_12 = "#3860ac" let g:terminal_color_13 = "#3860ac" let g:terminal_color_14 = "#377242" - let g:terminal_color_15 = "#12161b" + let g:terminal_color_15 = "#222222" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#c8ced5", - \ "#b52119", + \ "#dedede", + \ "#b42219", \ "#377242", \ "#6a6535", \ "#3860ac", \ "#3860ac", \ "#377242", - \ "#2a2e33", - \ "#999fa5", - \ "#b52119", + \ "#3a3a3a", + \ "#aeaeae", + \ "#b42219", \ "#377242", \ "#6a6535", \ "#3860ac", \ "#3860ac", \ "#377242", - \ "#12161b", + \ "#222222", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/grassland-monobiome-dark.vim b/app-config/nvim/savanna-monobiome-dark.theme.vim similarity index 75% rename from apps/nvim/grassland-monobiome-dark.vim rename to app-config/nvim/savanna-monobiome-dark.theme.vim index 65a4292..f684252 100644 --- a/apps/nvim/grassland-monobiome-dark.vim +++ b/app-config/nvim/savanna-monobiome-dark.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#1d2321" -let g:base16_gui00 = "#1d2321" -let s:gui01 = "#29302d" -let g:base16_gui01 = "#29302d" -let s:gui02 = "#353c3a" -let g:base16_gui02 = "#353c3a" -let s:gui03 = "#424a47" -let g:base16_gui03 = "#424a47" -let s:gui04 = "#a8b0ad" -let g:base16_gui04 = "#a8b0ad" -let s:gui05 = "#b7c0bc" -let g:base16_gui05 = "#b7c0bc" -let s:gui06 = "#c7d0cc" -let g:base16_gui06 = "#c7d0cc" -let s:gui07 = "#d7e0dd" -let g:base16_gui07 = "#d7e0dd" +let s:gui00 = "#22221c" +let g:base16_gui00 = "#22221c" +let s:gui01 = "#2f2e28" +let g:base16_gui01 = "#2f2e28" +let s:gui02 = "#3b3b34" +let g:base16_gui02 = "#3b3b34" +let s:gui03 = "#484841" +let g:base16_gui03 = "#484841" +let s:gui04 = "#afaea7" +let g:base16_gui04 = "#afaea7" +let s:gui05 = "#bfbeb6" +let g:base16_gui05 = "#bfbeb6" +let s:gui06 = "#cfcec6" +let g:base16_gui06 = "#cfcec6" +let s:gui07 = "#dfded6" +let g:base16_gui07 = "#dfded6" let s:gui08 = "#e95949" let g:base16_gui08 = "#e95949" -let s:gui09 = "#ca791c" -let g:base16_gui09 = "#ca791c" +let s:gui09 = "#c97920" +let g:base16_gui09 = "#c97920" let s:gui0A = "#989250" let g:base16_gui0A = "#989250" let s:gui0B = "#5da268" @@ -42,7 +64,7 @@ let g:base16_gui0E = "#658ed9" let s:gui0F = "#e95949" let g:base16_gui0F = "#e95949" -let s:grey = "#7a827f" +let s:grey = "#72726b" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#1d2321" + let g:terminal_color_0 = "#22221c" let g:terminal_color_1 = "#e95949" let g:terminal_color_2 = "#5da268" let g:terminal_color_3 = "#989250" let g:terminal_color_4 = "#658ed9" let g:terminal_color_5 = "#658ed9" let g:terminal_color_6 = "#5da268" - let g:terminal_color_7 = "#b7c0bc" - let g:terminal_color_8 = "#424a47" + let g:terminal_color_7 = "#bfbeb6" + let g:terminal_color_8 = "#484841" let g:terminal_color_9 = "#e95949" let g:terminal_color_10 = "#5da268" let g:terminal_color_11 = "#989250" let g:terminal_color_12 = "#658ed9" let g:terminal_color_13 = "#658ed9" let g:terminal_color_14 = "#5da268" - let g:terminal_color_15 = "#d7e0dd" + let g:terminal_color_15 = "#dfded6" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#1d2321", + \ "#22221c", \ "#e95949", \ "#5da268", \ "#989250", \ "#658ed9", \ "#658ed9", \ "#5da268", - \ "#b7c0bc", - \ "#424a47", + \ "#bfbeb6", + \ "#484841", \ "#e95949", \ "#5da268", \ "#989250", \ "#658ed9", \ "#658ed9", \ "#5da268", - \ "#d7e0dd", + \ "#dfded6", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/app-config/nvim/savanna-monobiome-light.theme.vim b/app-config/nvim/savanna-monobiome-light.theme.vim new file mode 100644 index 0000000..93005d9 --- /dev/null +++ b/app-config/nvim/savanna-monobiome-light.theme.vim @@ -0,0 +1,995 @@ +" vi:syntax=vim +" +" Top-level remarks: +" +" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors +" for GUI and terminal Vim. +" - `link` allows for linking one syntax group to another, reusing the same color +" settings. Language-specific groups can then point to one of the base color highlight +" groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. + +" GUI color definitions +let s:gui00 = "#dfded6" +let g:base16_gui00 = "#dfded6" +let s:gui01 = "#cfcec6" +let g:base16_gui01 = "#cfcec6" +let s:gui02 = "#bfbeb6" +let g:base16_gui02 = "#bfbeb6" +let s:gui03 = "#afaea7" +let g:base16_gui03 = "#afaea7" +let s:gui04 = "#484841" +let g:base16_gui04 = "#484841" +let s:gui05 = "#3b3b34" +let g:base16_gui05 = "#3b3b34" +let s:gui06 = "#2f2e28" +let g:base16_gui06 = "#2f2e28" +let s:gui07 = "#22221c" +let g:base16_gui07 = "#22221c" +let s:gui08 = "#b42219" +let g:base16_gui08 = "#b42219" +let s:gui09 = "#905201" +let g:base16_gui09 = "#905201" +let s:gui0A = "#6a6535" +let g:base16_gui0A = "#6a6535" +let s:gui0B = "#377242" +let g:base16_gui0B = "#377242" +let s:gui0C = "#377242" +let g:base16_gui0C = "#377242" +let s:gui0D = "#3860ac" +let g:base16_gui0D = "#3860ac" +let s:gui0E = "#3860ac" +let g:base16_gui0E = "#3860ac" +let s:gui0F = "#b42219" +let g:base16_gui0F = "#b42219" + +let s:grey = "#818179" + +" Terminal color definitions +let s:cterm00 = "00" +let g:base16_cterm00 = "00" +let s:cterm03 = "08" +let g:base16_cterm03 = "08" +let s:cterm05 = "07" +let g:base16_cterm05 = "07" +let s:cterm07 = "15" +let g:base16_cterm07 = "15" +let s:cterm08 = "01" +let g:base16_cterm08 = "01" +let s:cterm0A = "03" +let g:base16_cterm0A = "03" +let s:cterm0B = "02" +let g:base16_cterm0B = "02" +let s:cterm0C = "06" +let g:base16_cterm0C = "06" +let s:cterm0D = "04" +let g:base16_cterm0D = "04" +let s:cterm0E = "05" +let g:base16_cterm0E = "05" + +let s:cterm01 = "10" +let g:base16_cterm01 = "10" +let s:cterm02 = "11" +let g:base16_cterm02 = "11" +let s:cterm04 = "12" +let g:base16_cterm04 = "12" +let s:cterm06 = "13" +let g:base16_cterm06 = "13" +let s:cterm09 = "09" +let g:base16_cterm09 = "09" +let s:cterm0F = "14" +let g:base16_cterm0F = "14" + +" Neovim terminal colours +if has("nvim") + let g:terminal_color_0 = "#dfded6" + let g:terminal_color_1 = "#b42219" + let g:terminal_color_2 = "#377242" + let g:terminal_color_3 = "#6a6535" + let g:terminal_color_4 = "#3860ac" + let g:terminal_color_5 = "#3860ac" + let g:terminal_color_6 = "#377242" + let g:terminal_color_7 = "#3b3b34" + let g:terminal_color_8 = "#afaea7" + let g:terminal_color_9 = "#b42219" + let g:terminal_color_10 = "#377242" + let g:terminal_color_11 = "#6a6535" + let g:terminal_color_12 = "#3860ac" + let g:terminal_color_13 = "#3860ac" + let g:terminal_color_14 = "#377242" + let g:terminal_color_15 = "#22221c" + let g:terminal_color_background = g:terminal_color_0 + let g:terminal_color_foreground = g:terminal_color_5 + + if &background == "light" + let g:terminal_color_background = g:terminal_color_7 + let g:terminal_color_foreground = g:terminal_color_2 + endif + +elseif has("terminal") + let g:terminal_ansi_colors = [ + \ "#dfded6", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#3b3b34", + \ "#afaea7", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#22221c", + \ ] +endif + +let s:guibg = s:gui00 +let s:ctermbg = s:cterm00 + +" Theme setup +hi clear +syntax reset +let g:colors_name = "active" + +" Highlighting function +" Optional variables are attributes and guisp +function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) + " For a given syntax group, sets the GUI and terminal foreground and backgrounds + " Optional parameters are interpreted as `attr` and `guisp`, the first of which appears + " to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be + " 'special' colors used for underlines in the GUI. + let l:attr = get(a:, 1, "") + let l:guisp = get(a:, 2, "") + + " See :help highlight-guifg + let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"] + + if a:guifg != "" + if index(l:gui_special_names, a:guifg) >= 0 + exec "hi " . a:group . " guifg=" . a:guifg + else + exec "hi " . a:group . " guifg=" . a:guifg + endif + endif + + if a:guibg != "" + if index(l:gui_special_names, a:guibg) >= 0 + exec "hi " . a:group . " guibg=" . a:guibg + else + exec "hi " . a:group . " guibg=" . a:guibg + endif + endif + + if a:ctermfg != "" + exec "hi " . a:group . " ctermfg=" . a:ctermfg + endif + + if a:ctermbg != "" + exec "hi " . a:group . " ctermbg=" . a:ctermbg + endif + + if l:attr != "" + exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr + endif + + if l:guisp != "" + if index(l:gui_special_names, l:guisp) >= 0 + exec "hi " . a:group . " guisp=" . l:guisp + else + exec "hi " . a:group . " guisp=" . l:guisp + endif + endif +endfunction + + +fun hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) +endfun + + +" color groups for interpretability +call hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + +hi! link Boolean ThemeOrange +hi! link Character ThemeRed +hi! link Comment ThemeGreyItalic +hi! link Conditional ThemeRed +hi! link Constant ThemeOrange +hi! link Delimiter ThemeFg1 +hi! link Float ThemeOrange +hi! link Function ThemeBlue +hi! link Include ThemeBlue +hi! link Constant ThemeOrange +hi! link Label ThemeOrange +hi! link Number ThemeOrange +hi! link Operator ThemeYellow +hi! link PreProc ThemeOrange +hi! link Repeat ThemeViolet +hi! link Special ThemeYellow +hi! link SpecialChar ThemeMagenta +hi! link Statement ThemeRed +hi! link StorageClass ThemeOrange +hi! link String ThemeGreen +hi! link Structure ThemeOrange +hi! link Tag ThemeOrange +hi! link Type ThemeYellow +hi! link Typedef ThemeOrange + + +" Treesitter +if has("nvim-0.8.0") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue + + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed + + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue + + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment + + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue + + hi! link @constant.macro ThemeRed + + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed + + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed + + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue + + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed + + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet + + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen + + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") + +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + +" C +call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") + +" Clap +hi! link ClapInput ColorColumn +hi! link ClapSpinner ColorColumn +hi! link ClapDisplay Default +hi! link ClapPreview ColorColumn +hi! link ClapCurrentSelection CursorLine +hi! link ClapNoMatchesFound ErrorFloat + +" Coc +hi! link CocErrorSign ErrorSign +hi! link CocWarningSign WarningSign +hi! link CocInfoSign InfoSign +hi! link CocHintSign HintSign + +hi! link CocErrorFloat ErrorFloat +hi! link CocWarningFloat WarningFloat +hi! link CocInfoFloat InfoFloat +hi! link CocHintFloat HintFloat + +hi! link CocErrorHighlight ErrorHighlight +hi! link CocWarningHighlight WarningHighlight +hi! link CocInfoHighlight InfoHighlight +hi! link CocHintHighlight HintHighlight + +hi! link CocSem_angle Keyword +hi! link CocSem_annotation Keyword +hi! link CocSem_attribute Type +hi! link CocSem_bitwise Keyword +hi! link CocSem_boolean Boolean +hi! link CocSem_brace Normal +hi! link CocSem_bracket Normal +hi! link CocSem_builtinAttribute Type +hi! link CocSem_builtinType Type +hi! link CocSem_character String +hi! link CocSem_class Structure +hi! link CocSem_colon Normal +hi! link CocSem_comma Normal +hi! link CocSem_comment Comment +hi! link CocSem_comparison Keyword +hi! link CocSem_concept Keyword +hi! link CocSem_constParameter Identifier +hi! link CocSem_dependent Keyword +hi! link CocSem_dot Keyword +hi! link CocSem_enum Structure +hi! link CocSem_enumMember Constant +hi! link CocSem_escapeSequence Type +hi! link CocSem_event Identifier +hi! link CocSem_formatSpecifier Type +hi! link CocSem_function Function +hi! link CocSem_interface Type +hi! link CocSem_keyword Keyword +hi! link CocSem_label Keyword +hi! link CocSem_logical Keyword +hi! link CocSem_macro Macro +hi! link CocSem_method Function +hi! link CocSem_modifier Keyword +hi! link CocSem_namespace Identifier +hi! link CocSem_number Number +hi! link CocSem_operator Operator +hi! link CocSem_parameter Identifier +hi! link CocSem_parenthesis Normal +hi! link CocSem_property Identifier +hi! link CocSem_punctuation Keyword +hi! link CocSem_regexp Type +hi! link CocSem_selfKeyword Constant +hi! link CocSem_semicolon Normal +hi! link CocSem_string String +hi! link CocSem_struct Structure +hi! link CocSem_type Type +hi! link CocSem_typeAlias Type +hi! link CocSem_typeParameter Type +hi! link CocSem_unknown Normal +hi! link CocSem_variable Identifier + +call hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "") + +" CSS +hi! link cssBraces ThemeBlue +hi! link cssFunctionName ThemeYellow +hi! link cssIdentifier ThemeOrange +hi! link cssClassName ThemeGreen +hi! link cssColor ThemeBlue +hi! link cssSelectorOp ThemeBlue +hi! link cssSelectorOp2 ThemeBlue +hi! link cssImportant ThemeGreen +hi! link cssVendor ThemeFg1 + +hi! link cssTextProp ThemeCyan +hi! link cssAnimationProp ThemeCyan +hi! link cssUIProp ThemeYellow +hi! link cssTransformProp ThemeCyan +hi! link cssTransitionProp ThemeCyan +hi! link cssPrintProp ThemeCyan +hi! link cssPositioningProp ThemeYellow +hi! link cssBoxProp ThemeCyan +hi! link cssFontDescriptorProp ThemeCyan +hi! link cssFlexibleBoxProp ThemeCyan +hi! link cssBorderOutlineProp ThemeCyan +hi! link cssBackgroundProp ThemeCyan +hi! link cssMarginProp ThemeCyan +hi! link cssListProp ThemeCyan +hi! link cssTableProp ThemeCyan +hi! link cssFontProp ThemeCyan +hi! link cssPaddingProp ThemeCyan +hi! link cssDimensionProp ThemeCyan +hi! link cssRenderProp ThemeCyan +hi! link cssColorProp ThemeCyan +hi! link cssGeneratedContentProp ThemeCyan + + +" CMP +hi! link CmpItemAbbrDeprecated Deprecated +hi! link CmpItemAbbrMatch SearchMatch +hi! link CmpItemAbbrMatchFuzzy SearchMatch +hi! link CmpItemKindClass Type +hi! link CmpItemKindColor Keyword +hi! link CmpItemKindConstant Constant +hi! link CmpItemKindConstructor Special +hi! link CmpItemKindEnum Type +hi! link CmpItemKindEnumMember Constant +hi! link CmpItemKindEvent Identifier +hi! link CmpItemKindField Character +hi! link CmpItemKindFile Directory +hi! link CmpItemKindFolder Directory +hi! link CmpItemKindFunction Function +hi! link CmpItemKindInterface Type +hi! link CmpItemKindKeyword Keyword +hi! link CmpItemKindMethod Function +hi! link CmpItemKindModule Namespace +hi! link CmpItemKindOperator Operator +hi! link CmpItemKindProperty Identifier +hi! link CmpItemKindReference Character +hi! link CmpItemKindSnippet String +hi! link CmpItemKindStruct Type +hi! link CmpItemKindText Text +hi! link CmpItemKindUnit Namespace +hi! link CmpItemKindValue Comment +hi! link CmpItemKindVariable Identifier + +if has("nvim-0.8.0") + hi! link CmpItemKindField @field + hi! link CmpItemKindProperty @property +endif + +" Diff +call hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") + +" GitGutter +hi! link GitGutterAdd GitAddSign +hi! link GitGutterChange GitChangeSign +hi! link GitGutterDelete GitDeleteSign +hi! link GitGutterChangeDelete GitChangeDeleteSign + +" indent-blankline (nvim) +if has("nvim") + call hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "") + +" Netrw +hi! link netrwDir ThemeCyan +hi! link netrwClassify ThemeCyan +hi! link netrwLink ThemeBg3 +hi! link netrwSymLink ThemeFg1 +hi! link netrwExe ThemeYellow +hi! link netrwComment ThemeBg3 +hi! link netrwList ThemeBlue +hi! link netrwHelpCmd ThemeCyan +hi! link netrwCmdSep ThemeFg3 +hi! link netrwVersion ThemeGreen + +" PHP +call hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") + +" hi! link pythonBuiltin ThemeCyan +" hi! link pythonBuiltinObj ThemeCyan +" hi! link pythonBuiltinFunc ThemeGreen +" hi! link pythonFunction Function +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow +" hi! link pythonTripleQuotes ThemeGreenItalic +" hi! link pythonInclude ThemeBlue +" hi! link pythonImport ThemeBlue +" hi! link pythonRun ThemeBlue +" hi! link pythonCoding ThemeBlue +" hi! link pythonOperator ThemeRed +" hi! link pythonException ThemeRed +" hi! link pythonExceptions ThemeYellow +" hi! link pythonBoolean ThemeYellow +" hi! link pythonDot ThemeFg3 +" hi! link pythonConditional ThemeCyan +" hi! link pythonRepeat ThemeRed +" hi! link pythonDottedName ThemeGreen + + +" Ruby +call hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") + +" JSON +hi! link jsonKeyword ThemeGreen +hi! link jsonQuote ThemeGreen +hi! link jsonBraces ThemeFg1 +hi! link jsonString ThemeFg1 + +" Markdown +hi! link markdownH1 ThemeRedBold +hi! link markdownH2 ThemeRed +hi! link markdownH3 ThemeRed +hi! link markdownH4 ThemeRed +hi! link markdownH5 ThemeRed +hi! link markdownH6 ThemeRed + +hi! link markdownCode ThemeYellow +hi! link markdownCodeBlock ThemeYellow +hi! link markdownCodeDelimiter ThemeYellow + +hi! link markdownBlockquote ThemeGrey +hi! link markdownListMarker ThemeBlue +hi! link markdownOrderedListMarker ThemeBlue +hi! link markdownRule ThemeGrey +hi! link markdownHeadingRule ThemeGrey + +hi! link markdownUrlDelimiter ThemeFg3 +hi! link markdownLinkDelimiter ThemeFg3 +hi! link markdownLinkTextDelimiter ThemeFg3 +hi! link markdownHeadingDelimiter ThemeOrange +hi! link markdownUrlTitleDelimiter ThemeGreen + +hi! link markdownLink ThemeGreen +hi! link markdownWikiLink ThemeViolet +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic +hi! link markdownInlineUrl ThemeOrange + +hi! link markdownLinkText ThemeViolet +hi! link markdownIdDeclaration markdownLinkText + +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + +"call s:HL('markdownItalic', s:fg3, s:none, s:italic) +"call s:HL('markdownLinkText', s:gray, s:none, s:underline) + + +" Remove functions +delf hi + +" Remove color variables +unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg +unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/soft-grassland-monobiome-dark.vim b/app-config/nvim/soft-grassland-monobiome-dark.theme.vim similarity index 75% rename from apps/nvim/soft-grassland-monobiome-dark.vim rename to app-config/nvim/soft-grassland-monobiome-dark.theme.vim index 0317314..44eb002 100644 --- a/apps/nvim/soft-grassland-monobiome-dark.vim +++ b/app-config/nvim/soft-grassland-monobiome-dark.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#29302d" -let g:base16_gui00 = "#29302d" -let s:gui01 = "#353c3a" -let g:base16_gui01 = "#353c3a" -let s:gui02 = "#424a47" -let g:base16_gui02 = "#424a47" -let s:gui03 = "#505754" -let g:base16_gui03 = "#505754" -let s:gui04 = "#b7c0bc" -let g:base16_gui04 = "#b7c0bc" -let s:gui05 = "#c7d0cc" -let g:base16_gui05 = "#c7d0cc" -let s:gui06 = "#d7e0dd" -let g:base16_gui06 = "#d7e0dd" -let s:gui07 = "#e8f1ed" -let g:base16_gui07 = "#e8f1ed" +let s:gui00 = "#2a2f2b" +let g:base16_gui00 = "#2a2f2b" +let s:gui01 = "#373c37" +let g:base16_gui01 = "#373c37" +let s:gui02 = "#444944" +let g:base16_gui02 = "#444944" +let s:gui03 = "#515752" +let g:base16_gui03 = "#515752" +let s:gui04 = "#b9c0ba" +let g:base16_gui04 = "#b9c0ba" +let s:gui05 = "#c9d0ca" +let g:base16_gui05 = "#c9d0ca" +let s:gui06 = "#d9e0da" +let g:base16_gui06 = "#d9e0da" +let s:gui07 = "#eaf1ea" +let g:base16_gui07 = "#eaf1ea" let s:gui08 = "#f37060" let g:base16_gui08 = "#f37060" -let s:gui09 = "#da8934" -let g:base16_gui09 = "#da8934" +let s:gui09 = "#d98937" +let g:base16_gui09 = "#d98937" let s:gui0A = "#a7a15f" let g:base16_gui0A = "#a7a15f" let s:gui0B = "#6eb178" @@ -42,7 +64,7 @@ let g:base16_gui0E = "#799ee3" let s:gui0F = "#f37060" let g:base16_gui0F = "#f37060" -let s:grey = "#89918e" +let s:grey = "#7c827d" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#29302d" + let g:terminal_color_0 = "#2a2f2b" let g:terminal_color_1 = "#f37060" let g:terminal_color_2 = "#6eb178" let g:terminal_color_3 = "#a7a15f" let g:terminal_color_4 = "#799ee3" let g:terminal_color_5 = "#799ee3" let g:terminal_color_6 = "#6eb178" - let g:terminal_color_7 = "#c7d0cc" - let g:terminal_color_8 = "#505754" + let g:terminal_color_7 = "#c9d0ca" + let g:terminal_color_8 = "#515752" let g:terminal_color_9 = "#f37060" let g:terminal_color_10 = "#6eb178" let g:terminal_color_11 = "#a7a15f" let g:terminal_color_12 = "#799ee3" let g:terminal_color_13 = "#799ee3" let g:terminal_color_14 = "#6eb178" - let g:terminal_color_15 = "#e8f1ed" + let g:terminal_color_15 = "#eaf1ea" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#29302d", + \ "#2a2f2b", \ "#f37060", \ "#6eb178", \ "#a7a15f", \ "#799ee3", \ "#799ee3", \ "#6eb178", - \ "#c7d0cc", - \ "#505754", + \ "#c9d0ca", + \ "#515752", \ "#f37060", \ "#6eb178", \ "#a7a15f", \ "#799ee3", \ "#799ee3", \ "#6eb178", - \ "#e8f1ed", + \ "#eaf1ea", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/soft-savanna-monobiome-light.vim b/app-config/nvim/soft-grassland-monobiome-light.theme.vim similarity index 74% rename from apps/nvim/soft-savanna-monobiome-light.vim rename to app-config/nvim/soft-grassland-monobiome-light.theme.vim index cf9754e..989c7a8 100644 --- a/apps/nvim/soft-savanna-monobiome-light.vim +++ b/app-config/nvim/soft-grassland-monobiome-light.theme.vim @@ -7,26 +7,48 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#c0bdb6" -let g:base16_gui00 = "#c0bdb6" -let s:gui01 = "#b0aea6" -let g:base16_gui01 = "#b0aea6" -let s:gui02 = "#a19e97" -let g:base16_gui02 = "#a19e97" -let s:gui03 = "#928f88" -let g:base16_gui03 = "#928f88" -let s:gui04 = "#302e28" -let g:base16_gui04 = "#302e28" -let s:gui05 = "#24211c" -let g:base16_gui05 = "#24211c" -let s:gui06 = "#181610" -let g:base16_gui06 = "#181610" -let s:gui07 = "#0d0b06" -let g:base16_gui07 = "#0d0b06" -let s:gui08 = "#9d1912" -let g:base16_gui08 = "#9d1912" +let s:gui00 = "#c9d0ca" +let g:base16_gui00 = "#c9d0ca" +let s:gui01 = "#b9c0ba" +let g:base16_gui01 = "#b9c0ba" +let s:gui02 = "#a9b0aa" +let g:base16_gui02 = "#a9b0aa" +let s:gui03 = "#9aa09b" +let g:base16_gui03 = "#9aa09b" +let s:gui04 = "#373c37" +let g:base16_gui04 = "#373c37" +let s:gui05 = "#2a2f2b" +let g:base16_gui05 = "#2a2f2b" +let s:gui06 = "#1e231f" +let g:base16_gui06 = "#1e231f" +let s:gui07 = "#131713" +let g:base16_gui07 = "#131713" +let s:gui08 = "#9d1a13" +let g:base16_gui08 = "#9d1a13" let s:gui09 = "#7c4706" let g:base16_gui09 = "#7c4706" let s:gui0A = "#5b572e" @@ -39,10 +61,10 @@ let s:gui0D = "#2d5299" let g:base16_gui0D = "#2d5299" let s:gui0E = "#2d5299" let g:base16_gui0E = "#2d5299" -let s:gui0F = "#9d1912" -let g:base16_gui0F = "#9d1912" +let s:gui0F = "#9d1a13" +let g:base16_gui0F = "#9d1a13" -let s:grey = "#58554e" +let s:grey = "#6d736e" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#c0bdb6" - let g:terminal_color_1 = "#9d1912" + let g:terminal_color_0 = "#c9d0ca" + let g:terminal_color_1 = "#9d1a13" let g:terminal_color_2 = "#2e6337" let g:terminal_color_3 = "#5b572e" let g:terminal_color_4 = "#2d5299" let g:terminal_color_5 = "#2d5299" let g:terminal_color_6 = "#2e6337" - let g:terminal_color_7 = "#24211c" - let g:terminal_color_8 = "#928f88" - let g:terminal_color_9 = "#9d1912" + let g:terminal_color_7 = "#2a2f2b" + let g:terminal_color_8 = "#9aa09b" + let g:terminal_color_9 = "#9d1a13" let g:terminal_color_10 = "#2e6337" let g:terminal_color_11 = "#5b572e" let g:terminal_color_12 = "#2d5299" let g:terminal_color_13 = "#2d5299" let g:terminal_color_14 = "#2e6337" - let g:terminal_color_15 = "#0d0b06" + let g:terminal_color_15 = "#131713" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#c0bdb6", - \ "#9d1912", + \ "#c9d0ca", + \ "#9d1a13", \ "#2e6337", \ "#5b572e", \ "#2d5299", \ "#2d5299", \ "#2e6337", - \ "#24211c", - \ "#928f88", - \ "#9d1912", + \ "#2a2f2b", + \ "#9aa09b", + \ "#9d1a13", \ "#2e6337", \ "#5b572e", \ "#2d5299", \ "#2d5299", \ "#2e6337", - \ "#0d0b06", + \ "#131713", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/soft-monobiome-dark.vim b/app-config/nvim/soft-monobiome-dark.theme.vim similarity index 76% rename from apps/nvim/soft-monobiome-dark.vim rename to app-config/nvim/soft-monobiome-dark.theme.vim index 12a15ad..4063286 100644 --- a/apps/nvim/soft-monobiome-dark.vim +++ b/app-config/nvim/soft-monobiome-dark.theme.vim @@ -7,6 +7,28 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions let s:gui00 = "#2e2e2e" @@ -27,8 +49,8 @@ let s:gui07 = "#eeeeee" let g:base16_gui07 = "#eeeeee" let s:gui08 = "#f37060" let g:base16_gui08 = "#f37060" -let s:gui09 = "#da8934" -let g:base16_gui09 = "#da8934" +let s:gui09 = "#d98937" +let g:base16_gui09 = "#d98937" let s:gui0A = "#a7a15f" let g:base16_gui0A = "#a7a15f" let s:gui0B = "#6eb178" @@ -42,7 +64,7 @@ let g:base16_gui0E = "#799ee3" let s:gui0F = "#f37060" let g:base16_gui0F = "#f37060" -let s:grey = "#8f8f8f" +let s:grey = "#808080" " Terminal color definitions let s:cterm00 = "00" @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/soft-monobiome-light.vim b/app-config/nvim/soft-monobiome-light.theme.vim similarity index 74% rename from apps/nvim/soft-monobiome-light.vim rename to app-config/nvim/soft-monobiome-light.theme.vim index affea3e..5626c55 100644 --- a/apps/nvim/soft-monobiome-light.vim +++ b/app-config/nvim/soft-monobiome-light.theme.vim @@ -7,26 +7,48 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#bebebe" -let g:base16_gui00 = "#bebebe" -let s:gui01 = "#aeaeae" -let g:base16_gui01 = "#aeaeae" -let s:gui02 = "#9e9e9e" -let g:base16_gui02 = "#9e9e9e" -let s:gui03 = "#8f8f8f" -let g:base16_gui03 = "#8f8f8f" -let s:gui04 = "#2e2e2e" -let g:base16_gui04 = "#2e2e2e" -let s:gui05 = "#222222" -let g:base16_gui05 = "#222222" -let s:gui06 = "#161616" -let g:base16_gui06 = "#161616" -let s:gui07 = "#0b0b0b" -let g:base16_gui07 = "#0b0b0b" -let s:gui08 = "#9d1912" -let g:base16_gui08 = "#9d1912" +let s:gui00 = "#cecece" +let g:base16_gui00 = "#cecece" +let s:gui01 = "#bebebe" +let g:base16_gui01 = "#bebebe" +let s:gui02 = "#aeaeae" +let g:base16_gui02 = "#aeaeae" +let s:gui03 = "#9e9e9e" +let g:base16_gui03 = "#9e9e9e" +let s:gui04 = "#3a3a3a" +let g:base16_gui04 = "#3a3a3a" +let s:gui05 = "#2e2e2e" +let g:base16_gui05 = "#2e2e2e" +let s:gui06 = "#222222" +let g:base16_gui06 = "#222222" +let s:gui07 = "#161616" +let g:base16_gui07 = "#161616" +let s:gui08 = "#9d1a13" +let g:base16_gui08 = "#9d1a13" let s:gui09 = "#7c4706" let g:base16_gui09 = "#7c4706" let s:gui0A = "#5b572e" @@ -39,10 +61,10 @@ let s:gui0D = "#2d5299" let g:base16_gui0D = "#2d5299" let s:gui0E = "#2d5299" let g:base16_gui0E = "#2d5299" -let s:gui0F = "#9d1912" -let g:base16_gui0F = "#9d1912" +let s:gui0F = "#9d1a13" +let g:base16_gui0F = "#9d1a13" -let s:grey = "#555555" +let s:grey = "#717171" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#bebebe" - let g:terminal_color_1 = "#9d1912" + let g:terminal_color_0 = "#cecece" + let g:terminal_color_1 = "#9d1a13" let g:terminal_color_2 = "#2e6337" let g:terminal_color_3 = "#5b572e" let g:terminal_color_4 = "#2d5299" let g:terminal_color_5 = "#2d5299" let g:terminal_color_6 = "#2e6337" - let g:terminal_color_7 = "#222222" - let g:terminal_color_8 = "#8f8f8f" - let g:terminal_color_9 = "#9d1912" + let g:terminal_color_7 = "#2e2e2e" + let g:terminal_color_8 = "#9e9e9e" + let g:terminal_color_9 = "#9d1a13" let g:terminal_color_10 = "#2e6337" let g:terminal_color_11 = "#5b572e" let g:terminal_color_12 = "#2d5299" let g:terminal_color_13 = "#2d5299" let g:terminal_color_14 = "#2e6337" - let g:terminal_color_15 = "#0b0b0b" + let g:terminal_color_15 = "#161616" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#bebebe", - \ "#9d1912", + \ "#cecece", + \ "#9d1a13", \ "#2e6337", \ "#5b572e", \ "#2d5299", \ "#2d5299", \ "#2e6337", - \ "#222222", - \ "#8f8f8f", - \ "#9d1912", + \ "#2e2e2e", + \ "#9e9e9e", + \ "#9d1a13", \ "#2e6337", \ "#5b572e", \ "#2d5299", \ "#2d5299", \ "#2e6337", - \ "#0b0b0b", + \ "#161616", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/soft-savanna-monobiome-dark.vim b/app-config/nvim/soft-savanna-monobiome-dark.theme.vim similarity index 75% rename from apps/nvim/soft-savanna-monobiome-dark.vim rename to app-config/nvim/soft-savanna-monobiome-dark.theme.vim index ec13ef0..c531f9c 100644 --- a/apps/nvim/soft-savanna-monobiome-dark.vim +++ b/app-config/nvim/soft-savanna-monobiome-dark.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#302e28" -let g:base16_gui00 = "#302e28" -let s:gui01 = "#3d3a34" -let g:base16_gui01 = "#3d3a34" -let s:gui02 = "#4a4841" -let g:base16_gui02 = "#4a4841" -let s:gui03 = "#58554e" -let g:base16_gui03 = "#58554e" -let s:gui04 = "#c0bdb6" -let g:base16_gui04 = "#c0bdb6" -let s:gui05 = "#d0cec6" -let g:base16_gui05 = "#d0cec6" -let s:gui06 = "#e1ded6" -let g:base16_gui06 = "#e1ded6" -let s:gui07 = "#f1eee6" -let g:base16_gui07 = "#f1eee6" +let s:gui00 = "#2f2e28" +let g:base16_gui00 = "#2f2e28" +let s:gui01 = "#3b3b34" +let g:base16_gui01 = "#3b3b34" +let s:gui02 = "#484841" +let g:base16_gui02 = "#484841" +let s:gui03 = "#56564f" +let g:base16_gui03 = "#56564f" +let s:gui04 = "#bfbeb6" +let g:base16_gui04 = "#bfbeb6" +let s:gui05 = "#cfcec6" +let g:base16_gui05 = "#cfcec6" +let s:gui06 = "#dfded6" +let g:base16_gui06 = "#dfded6" +let s:gui07 = "#efefe7" +let g:base16_gui07 = "#efefe7" let s:gui08 = "#f37060" let g:base16_gui08 = "#f37060" -let s:gui09 = "#da8934" -let g:base16_gui09 = "#da8934" +let s:gui09 = "#d98937" +let g:base16_gui09 = "#d98937" let s:gui0A = "#a7a15f" let g:base16_gui0A = "#a7a15f" let s:gui0B = "#6eb178" @@ -42,7 +64,7 @@ let g:base16_gui0E = "#799ee3" let s:gui0F = "#f37060" let g:base16_gui0F = "#f37060" -let s:grey = "#928f88" +let s:grey = "#818179" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#302e28" + let g:terminal_color_0 = "#2f2e28" let g:terminal_color_1 = "#f37060" let g:terminal_color_2 = "#6eb178" let g:terminal_color_3 = "#a7a15f" let g:terminal_color_4 = "#799ee3" let g:terminal_color_5 = "#799ee3" let g:terminal_color_6 = "#6eb178" - let g:terminal_color_7 = "#d0cec6" - let g:terminal_color_8 = "#58554e" + let g:terminal_color_7 = "#cfcec6" + let g:terminal_color_8 = "#56564f" let g:terminal_color_9 = "#f37060" let g:terminal_color_10 = "#6eb178" let g:terminal_color_11 = "#a7a15f" let g:terminal_color_12 = "#799ee3" let g:terminal_color_13 = "#799ee3" let g:terminal_color_14 = "#6eb178" - let g:terminal_color_15 = "#f1eee6" + let g:terminal_color_15 = "#efefe7" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#302e28", + \ "#2f2e28", \ "#f37060", \ "#6eb178", \ "#a7a15f", \ "#799ee3", \ "#799ee3", \ "#6eb178", - \ "#d0cec6", - \ "#58554e", + \ "#cfcec6", + \ "#56564f", \ "#f37060", \ "#6eb178", \ "#a7a15f", \ "#799ee3", \ "#799ee3", \ "#6eb178", - \ "#f1eee6", + \ "#efefe7", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/soft-grassland-monobiome-light.vim b/app-config/nvim/soft-savanna-monobiome-light.theme.vim similarity index 74% rename from apps/nvim/soft-grassland-monobiome-light.vim rename to app-config/nvim/soft-savanna-monobiome-light.theme.vim index ae3dbb7..8329df1 100644 --- a/apps/nvim/soft-grassland-monobiome-light.vim +++ b/app-config/nvim/soft-savanna-monobiome-light.theme.vim @@ -7,26 +7,48 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#b7c0bc" -let g:base16_gui00 = "#b7c0bc" -let s:gui01 = "#a8b0ad" -let g:base16_gui01 = "#a8b0ad" -let s:gui02 = "#98a19d" -let g:base16_gui02 = "#98a19d" -let s:gui03 = "#89918e" -let g:base16_gui03 = "#89918e" -let s:gui04 = "#29302d" -let g:base16_gui04 = "#29302d" -let s:gui05 = "#1d2321" -let g:base16_gui05 = "#1d2321" -let s:gui06 = "#111815" -let g:base16_gui06 = "#111815" -let s:gui07 = "#070d0a" -let g:base16_gui07 = "#070d0a" -let s:gui08 = "#9d1912" -let g:base16_gui08 = "#9d1912" +let s:gui00 = "#cfcec6" +let g:base16_gui00 = "#cfcec6" +let s:gui01 = "#bfbeb6" +let g:base16_gui01 = "#bfbeb6" +let s:gui02 = "#afaea7" +let g:base16_gui02 = "#afaea7" +let s:gui03 = "#9f9f97" +let g:base16_gui03 = "#9f9f97" +let s:gui04 = "#3b3b34" +let g:base16_gui04 = "#3b3b34" +let s:gui05 = "#2f2e28" +let g:base16_gui05 = "#2f2e28" +let s:gui06 = "#22221c" +let g:base16_gui06 = "#22221c" +let s:gui07 = "#171611" +let g:base16_gui07 = "#171611" +let s:gui08 = "#9d1a13" +let g:base16_gui08 = "#9d1a13" let s:gui09 = "#7c4706" let g:base16_gui09 = "#7c4706" let s:gui0A = "#5b572e" @@ -39,10 +61,10 @@ let s:gui0D = "#2d5299" let g:base16_gui0D = "#2d5299" let s:gui0E = "#2d5299" let g:base16_gui0E = "#2d5299" -let s:gui0F = "#9d1912" -let g:base16_gui0F = "#9d1912" +let s:gui0F = "#9d1a13" +let g:base16_gui0F = "#9d1a13" -let s:grey = "#505754" +let s:grey = "#72726b" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#b7c0bc" - let g:terminal_color_1 = "#9d1912" + let g:terminal_color_0 = "#cfcec6" + let g:terminal_color_1 = "#9d1a13" let g:terminal_color_2 = "#2e6337" let g:terminal_color_3 = "#5b572e" let g:terminal_color_4 = "#2d5299" let g:terminal_color_5 = "#2d5299" let g:terminal_color_6 = "#2e6337" - let g:terminal_color_7 = "#1d2321" - let g:terminal_color_8 = "#89918e" - let g:terminal_color_9 = "#9d1912" + let g:terminal_color_7 = "#2f2e28" + let g:terminal_color_8 = "#9f9f97" + let g:terminal_color_9 = "#9d1a13" let g:terminal_color_10 = "#2e6337" let g:terminal_color_11 = "#5b572e" let g:terminal_color_12 = "#2d5299" let g:terminal_color_13 = "#2d5299" let g:terminal_color_14 = "#2e6337" - let g:terminal_color_15 = "#070d0a" + let g:terminal_color_15 = "#171611" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#b7c0bc", - \ "#9d1912", + \ "#cfcec6", + \ "#9d1a13", \ "#2e6337", \ "#5b572e", \ "#2d5299", \ "#2d5299", \ "#2e6337", - \ "#1d2321", - \ "#89918e", - \ "#9d1912", + \ "#2f2e28", + \ "#9f9f97", + \ "#9d1a13", \ "#2e6337", \ "#5b572e", \ "#2d5299", \ "#2d5299", \ "#2e6337", - \ "#070d0a", + \ "#171611", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/soft-tundra-monobiome-dark.vim b/app-config/nvim/soft-tundra-monobiome-dark.theme.vim similarity index 75% rename from apps/nvim/soft-tundra-monobiome-dark.vim rename to app-config/nvim/soft-tundra-monobiome-dark.theme.vim index 650732a..1bed5c8 100644 --- a/apps/nvim/soft-tundra-monobiome-dark.vim +++ b/app-config/nvim/soft-tundra-monobiome-dark.theme.vim @@ -7,28 +7,50 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#2a2e33" -let g:base16_gui00 = "#2a2e33" -let s:gui01 = "#363b40" -let g:base16_gui01 = "#363b40" -let s:gui02 = "#43484e" -let g:base16_gui02 = "#43484e" -let s:gui03 = "#51565b" -let g:base16_gui03 = "#51565b" -let s:gui04 = "#b9bec5" -let g:base16_gui04 = "#b9bec5" -let s:gui05 = "#c8ced5" -let g:base16_gui05 = "#c8ced5" -let s:gui06 = "#d9dfe5" -let g:base16_gui06 = "#d9dfe5" -let s:gui07 = "#e9eff6" -let g:base16_gui07 = "#e9eff6" +let s:gui00 = "#2b2e33" +let g:base16_gui00 = "#2b2e33" +let s:gui01 = "#373b40" +let g:base16_gui01 = "#373b40" +let s:gui02 = "#44484e" +let g:base16_gui02 = "#44484e" +let s:gui03 = "#52555c" +let g:base16_gui03 = "#52555c" +let s:gui04 = "#babec5" +let g:base16_gui04 = "#babec5" +let s:gui05 = "#caced5" +let g:base16_gui05 = "#caced5" +let s:gui06 = "#dadee6" +let g:base16_gui06 = "#dadee6" +let s:gui07 = "#eaeff6" +let g:base16_gui07 = "#eaeff6" let s:gui08 = "#f37060" let g:base16_gui08 = "#f37060" -let s:gui09 = "#da8934" -let g:base16_gui09 = "#da8934" +let s:gui09 = "#d98937" +let g:base16_gui09 = "#d98937" let s:gui0A = "#a7a15f" let g:base16_gui0A = "#a7a15f" let s:gui0B = "#6eb178" @@ -42,7 +64,7 @@ let g:base16_gui0E = "#799ee3" let s:gui0F = "#f37060" let g:base16_gui0F = "#f37060" -let s:grey = "#8a9096" +let s:grey = "#7d8087" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#2a2e33" + let g:terminal_color_0 = "#2b2e33" let g:terminal_color_1 = "#f37060" let g:terminal_color_2 = "#6eb178" let g:terminal_color_3 = "#a7a15f" let g:terminal_color_4 = "#799ee3" let g:terminal_color_5 = "#799ee3" let g:terminal_color_6 = "#6eb178" - let g:terminal_color_7 = "#c8ced5" - let g:terminal_color_8 = "#51565b" + let g:terminal_color_7 = "#caced5" + let g:terminal_color_8 = "#52555c" let g:terminal_color_9 = "#f37060" let g:terminal_color_10 = "#6eb178" let g:terminal_color_11 = "#a7a15f" let g:terminal_color_12 = "#799ee3" let g:terminal_color_13 = "#799ee3" let g:terminal_color_14 = "#6eb178" - let g:terminal_color_15 = "#e9eff6" + let g:terminal_color_15 = "#eaeff6" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#2a2e33", + \ "#2b2e33", \ "#f37060", \ "#6eb178", \ "#a7a15f", \ "#799ee3", \ "#799ee3", \ "#6eb178", - \ "#c8ced5", - \ "#51565b", + \ "#caced5", + \ "#52555c", \ "#f37060", \ "#6eb178", \ "#a7a15f", \ "#799ee3", \ "#799ee3", \ "#6eb178", - \ "#e9eff6", + \ "#eaeff6", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/nvim/soft-tundra-monobiome-light.vim b/app-config/nvim/soft-tundra-monobiome-light.theme.vim similarity index 74% rename from apps/nvim/soft-tundra-monobiome-light.vim rename to app-config/nvim/soft-tundra-monobiome-light.theme.vim index a4bbf69..8e33336 100644 --- a/apps/nvim/soft-tundra-monobiome-light.vim +++ b/app-config/nvim/soft-tundra-monobiome-light.theme.vim @@ -7,26 +7,48 @@ " - `link` allows for linking one syntax group to another, reusing the same color " settings. Language-specific groups can then point to one of the base color highlight " groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. " GUI color definitions -let s:gui00 = "#b9bec5" -let g:base16_gui00 = "#b9bec5" -let s:gui01 = "#a9afb5" -let g:base16_gui01 = "#a9afb5" -let s:gui02 = "#999fa5" -let g:base16_gui02 = "#999fa5" -let s:gui03 = "#8a9096" -let g:base16_gui03 = "#8a9096" -let s:gui04 = "#2a2e33" -let g:base16_gui04 = "#2a2e33" -let s:gui05 = "#1e2227" -let g:base16_gui05 = "#1e2227" -let s:gui06 = "#12161b" -let g:base16_gui06 = "#12161b" -let s:gui07 = "#080c10" -let g:base16_gui07 = "#080c10" -let s:gui08 = "#9d1912" -let g:base16_gui08 = "#9d1912" +let s:gui00 = "#caced5" +let g:base16_gui00 = "#caced5" +let s:gui01 = "#babec5" +let g:base16_gui01 = "#babec5" +let s:gui02 = "#aaaeb5" +let g:base16_gui02 = "#aaaeb5" +let s:gui03 = "#9b9fa5" +let g:base16_gui03 = "#9b9fa5" +let s:gui04 = "#373b40" +let g:base16_gui04 = "#373b40" +let s:gui05 = "#2b2e33" +let g:base16_gui05 = "#2b2e33" +let s:gui06 = "#1f2227" +let g:base16_gui06 = "#1f2227" +let s:gui07 = "#13161b" +let g:base16_gui07 = "#13161b" +let s:gui08 = "#9d1a13" +let g:base16_gui08 = "#9d1a13" let s:gui09 = "#7c4706" let g:base16_gui09 = "#7c4706" let s:gui0A = "#5b572e" @@ -39,10 +61,10 @@ let s:gui0D = "#2d5299" let g:base16_gui0D = "#2d5299" let s:gui0E = "#2d5299" let g:base16_gui0E = "#2d5299" -let s:gui0F = "#9d1912" -let g:base16_gui0F = "#9d1912" +let s:gui0F = "#9d1a13" +let g:base16_gui0F = "#9d1a13" -let s:grey = "#51565b" +let s:grey = "#6e7278" " Terminal color definitions let s:cterm00 = "00" @@ -81,22 +103,22 @@ let g:base16_cterm0F = "14" " Neovim terminal colours if has("nvim") - let g:terminal_color_0 = "#b9bec5" - let g:terminal_color_1 = "#9d1912" + let g:terminal_color_0 = "#caced5" + let g:terminal_color_1 = "#9d1a13" let g:terminal_color_2 = "#2e6337" let g:terminal_color_3 = "#5b572e" let g:terminal_color_4 = "#2d5299" let g:terminal_color_5 = "#2d5299" let g:terminal_color_6 = "#2e6337" - let g:terminal_color_7 = "#1e2227" - let g:terminal_color_8 = "#8a9096" - let g:terminal_color_9 = "#9d1912" + let g:terminal_color_7 = "#2b2e33" + let g:terminal_color_8 = "#9b9fa5" + let g:terminal_color_9 = "#9d1a13" let g:terminal_color_10 = "#2e6337" let g:terminal_color_11 = "#5b572e" let g:terminal_color_12 = "#2d5299" let g:terminal_color_13 = "#2d5299" let g:terminal_color_14 = "#2e6337" - let g:terminal_color_15 = "#080c10" + let g:terminal_color_15 = "#13161b" let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_foreground = g:terminal_color_5 @@ -107,22 +129,22 @@ if has("nvim") elseif has("terminal") let g:terminal_ansi_colors = [ - \ "#b9bec5", - \ "#9d1912", + \ "#caced5", + \ "#9d1a13", \ "#2e6337", \ "#5b572e", \ "#2d5299", \ "#2d5299", \ "#2e6337", - \ "#1e2227", - \ "#8a9096", - \ "#9d1912", + \ "#2b2e33", + \ "#9b9fa5", + \ "#9d1a13", \ "#2e6337", \ "#5b572e", \ "#2d5299", \ "#2d5299", \ "#2e6337", - \ "#080c10", + \ "#13161b", \ ] endif @@ -199,7 +221,25 @@ call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") -" + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") @@ -209,6 +249,15 @@ call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") @@ -227,22 +276,33 @@ call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") " Vim editor colors -call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") call hi("Debug", s:gui08, "", s:cterm08, "", "", "") call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") call hi("Exception", s:gui08, "", s:cterm08, "", "", "") call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") -call hi("Folded", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call hi("Italic", "", "", "", "", "italic", "") call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -258,7 +318,10 @@ call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") -call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") call hi("NonText", s:gui03, "", s:cterm03, "", "", "") call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") @@ -270,7 +333,7 @@ call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "" call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") -call hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") @@ -281,27 +344,21 @@ call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "" call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") " Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + hi! link Boolean ThemeOrange hi! link Character ThemeRed - -"call hi("Comment", s:gui03, "", s:cterm03, "", "italic", "") hi! link Comment ThemeGreyItalic - hi! link Conditional ThemeRed hi! link Constant ThemeOrange -call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Delimiter ThemeFg1 - -if has("patch-8.0.1038") - call hi("Deprecated", "", "", "", "", "strikethrough", "") -endif - hi! link Float ThemeOrange hi! link Function ThemeBlue -call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") hi! link Include ThemeBlue hi! link Constant ThemeOrange -call hi("Keyword", s:gui0E, "", s:cterm0E, "", "none", "") hi! link Label ThemeOrange hi! link Number ThemeOrange hi! link Operator ThemeYellow @@ -314,101 +371,145 @@ hi! link StorageClass ThemeOrange hi! link String ThemeGreen hi! link Structure ThemeOrange hi! link Tag ThemeOrange - -call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") -call hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") - +hi! link Type ThemeYellow hi! link Typedef ThemeOrange " Treesitter if has("nvim-0.8.0") - call hi("@field", s:gui08, "", s:cterm08, "", "", "") - call hi("@property", s:gui08, "", s:cterm08, "", "", "") - call hi("@namespace", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@variable.builtin", s:gui06, "", s:cterm05, "", "italic", "") - call hi("@text.reference", s:gui08, "", s:cterm08, "", "", "") - call hi("@text.uri", s:gui08, "", s:cterm08, "", "italic", "") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue - " Annotations & Attributes - call hi("@annotation", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@attribute", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed - " Booleans, Characters & Comments - call hi("@boolean", s:gui09, "", s:cterm09, "", "", "") - call hi("@character", s:gui08, "", s:cterm08, "", "", "") - call hi("@character.special", s:gui0F, "", s:cterm0F, "", "", "") - call hi("@comment", s:gui03, "", s:cterm03, "", "", "") + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue - " Conditionals, Constants & Debugging - call hi("@keyword.conditional", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@constant", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.builtin", s:gui09, "", s:cterm09, "", "", "") - call hi("@constant.macro", s:gui08, "", s:cterm08, "", "", "") - call hi("@keyword.debug", s:gui08, "", s:cterm08, "", "", "") + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment - " Directives & Exceptions - call hi("@keyword.directive.define", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.exception", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue - " Floats & Functions - call hi("@number.float", s:gui09, "", s:cterm09, "", "", "") - call hi("@function", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.builtin", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.macro", s:gui08, "", s:cterm08, "", "", "") + hi! link @constant.macro ThemeRed - " Imports, Operators & Returns - call hi("@keyword.import", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.coroutine", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.operator", s:gui06, "", s:cterm05, "", "", "") - call hi("@keyword.return", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed - " Methods & Namespaces - call hi("@function.method", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@function.method.call", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@namespace.builtin", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed - " Numbers & Directives - call hi("@none", s:gui06, "", s:cterm05, "", "", "") - call hi("@number", s:gui09, "", s:cterm09, "", "", "") - call hi("@keyword.directive", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue - " Repeats, Storage & Strings - call hi("@keyword.repeat", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@keyword.storage", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@string", s:gui0B, "", s:cterm0B, "", "", "") + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed - " Tags & Markup - call hi("@markup.link.label", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.label.symbol", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag", s:gui08, "", s:cterm08, "", "", "") - call hi("@tag.attribute", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@tag.delimiter", s:gui0F, "", s:cterm0F, "", "", "") + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet - " More Markup - call hi("@markup", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.environment.name", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.raw", s:gui09, "", s:cterm09, "", "", "") - call hi("@markup.math", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strong", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.emphasis", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.strikethrough", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.underline", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.heading", s:gui0D, "", s:cterm0D, "", "", "") + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen - " Comments & Types - call hi("@comment.note", s:gui03, "", s:cterm03, "", "", "") - call hi("@comment.error", s:gui08, "", s:cterm08, "", "", "") - call hi("@comment.hint", s:gui0B, "", s:cterm0B, "", "", "") - call hi("@comment.info", s:gui0D, "", s:cterm0D, "", "", "") - call hi("@comment.warning", s:gui09, "", s:cterm09, "", "", "") - call hi("@comment.todo", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@markup.link.url", s:gui09, "", s:cterm09, "", "", "") - call hi("@type", s:gui0A, "", s:cterm0A, "", "", "") - call hi("@type.definition", s:gui0E, "", s:cterm0E, "", "", "") - call hi("@type.qualifier", s:gui0E, "", s:cterm0E, "", "", "") + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) endif " Standard highlights to be used by plugins @@ -433,6 +534,7 @@ call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) @@ -449,6 +551,62 @@ call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + " C call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -728,8 +886,8 @@ call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") " hi! link pythonBuiltinObj ThemeCyan " hi! link pythonBuiltinFunc ThemeGreen " hi! link pythonFunction Function -hi! link pythonDecorator ThemeYellow -hi! link pythonDecoratorName ThemeYellow +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow " hi! link pythonTripleQuotes ThemeGreenItalic " hi! link pythonInclude ThemeBlue " hi! link pythonImport ThemeBlue @@ -777,58 +935,6 @@ call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") -" LSP -if has("nvim") - hi! link DiagnosticError ErrorSign - hi! link DiagnosticWarn WarningSign - hi! link DiagnosticInfo InfoSign - hi! link DiagnosticHint HintSign - hi! link DiagnosticOk OkSign - - hi! link DiagnosticFloatingError ErrorFloat - hi! link DiagnosticFloatingWarn WarningFloat - hi! link DiagnosticFloatingInfo InfoFloat - hi! link DiagnosticFloatingHint HintFloat - hi! link DiagnosticFloatingOk OkFloat - - hi! link DiagnosticUnderlineError ErrorHighlight - hi! link DiagnosticUnderlineWarn WarningHighlight - hi! link DiagnosticUnderlineInfo InfoHighlight - hi! link DiagnosticUnderlineHint HintHighlight - hi! link DiagnosticUnderlineOk OkHighlight - - hi! link DiagnosticsVirtualTextError ErrorSign - hi! link DiagnosticsVirtualTextWarning WarningSign - hi! link DiagnosticsVirtualTextInfo InfoSign - hi! link DiagnosticsVirtualTextHint HintSign - hi! link DiagnosticsVirtualTextOk OkSign - - " Remove untill endif on next nvim release - hi! link LspDiagnosticsSignError ErrorSign - hi! link LspDiagnosticsSignWarning WarningSign - hi! link LspDiagnosticsSignInfo InfoSign - hi! link LspDiagnosticsSignHint HintSign - - hi! link LspDiagnosticsVirtualTextError ErrorSign - hi! link LspDiagnosticsVirtualTextWarning WarningSign - hi! link LspDiagnosticsVirtualTextInfo InfoSign - hi! link LspDiagnosticsVirtualTextHint HintSign - - hi! link LspDiagnosticsFloatingError ErrorFloat - hi! link LspDiagnosticsFloatingWarning WarningFloat - hi! link LspDiagnosticsFloatingInfo InfoFloat - hi! link LspDiagnosticsFloatingHint HintFloat - - hi! link LspDiagnosticsUnderlineError ErrorHighlight - hi! link LspDiagnosticsUnderlineWarning WarningHighlight - hi! link LspDiagnosticsUnderlineInfo InfoHighlight - hi! link LspDiagnosticsUnderlineHint HintHighlight - - hi! link LspReferenceText ReferenceText - hi! link LspReferenceRead ReferenceRead - hi! link LspReferenceWrite ReferenceWrite -endif - " Java call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") @@ -864,12 +970,18 @@ hi! link markdownUrlTitleDelimiter ThemeGreen hi! link markdownLink ThemeGreen hi! link markdownWikiLink ThemeViolet -hi! link markdownUrl ThemeOrange +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic hi! link markdownInlineUrl ThemeOrange hi! link markdownLinkText ThemeViolet hi! link markdownIdDeclaration markdownLinkText +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + "call s:HL('markdownItalic', s:fg3, s:none, s:italic) "call s:HL('markdownLinkText', s:gray, s:none, s:underline) @@ -880,3 +992,4 @@ delf hi " Remove color variables unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/app-config/nvim/tundra-monobiome-dark.theme.vim b/app-config/nvim/tundra-monobiome-dark.theme.vim new file mode 100644 index 0000000..7c8e781 --- /dev/null +++ b/app-config/nvim/tundra-monobiome-dark.theme.vim @@ -0,0 +1,995 @@ +" vi:syntax=vim +" +" Top-level remarks: +" +" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors +" for GUI and terminal Vim. +" - `link` allows for linking one syntax group to another, reusing the same color +" settings. Language-specific groups can then point to one of the base color highlight +" groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. + +" GUI color definitions +let s:gui00 = "#1f2227" +let g:base16_gui00 = "#1f2227" +let s:gui01 = "#2b2e33" +let g:base16_gui01 = "#2b2e33" +let s:gui02 = "#373b40" +let g:base16_gui02 = "#373b40" +let s:gui03 = "#44484e" +let g:base16_gui03 = "#44484e" +let s:gui04 = "#aaaeb5" +let g:base16_gui04 = "#aaaeb5" +let s:gui05 = "#babec5" +let g:base16_gui05 = "#babec5" +let s:gui06 = "#caced5" +let g:base16_gui06 = "#caced5" +let s:gui07 = "#dadee6" +let g:base16_gui07 = "#dadee6" +let s:gui08 = "#e95949" +let g:base16_gui08 = "#e95949" +let s:gui09 = "#c97920" +let g:base16_gui09 = "#c97920" +let s:gui0A = "#989250" +let g:base16_gui0A = "#989250" +let s:gui0B = "#5da268" +let g:base16_gui0B = "#5da268" +let s:gui0C = "#5da268" +let g:base16_gui0C = "#5da268" +let s:gui0D = "#658ed9" +let g:base16_gui0D = "#658ed9" +let s:gui0E = "#658ed9" +let g:base16_gui0E = "#658ed9" +let s:gui0F = "#e95949" +let g:base16_gui0F = "#e95949" + +let s:grey = "#6e7278" + +" Terminal color definitions +let s:cterm00 = "00" +let g:base16_cterm00 = "00" +let s:cterm03 = "08" +let g:base16_cterm03 = "08" +let s:cterm05 = "07" +let g:base16_cterm05 = "07" +let s:cterm07 = "15" +let g:base16_cterm07 = "15" +let s:cterm08 = "01" +let g:base16_cterm08 = "01" +let s:cterm0A = "03" +let g:base16_cterm0A = "03" +let s:cterm0B = "02" +let g:base16_cterm0B = "02" +let s:cterm0C = "06" +let g:base16_cterm0C = "06" +let s:cterm0D = "04" +let g:base16_cterm0D = "04" +let s:cterm0E = "05" +let g:base16_cterm0E = "05" + +let s:cterm01 = "10" +let g:base16_cterm01 = "10" +let s:cterm02 = "11" +let g:base16_cterm02 = "11" +let s:cterm04 = "12" +let g:base16_cterm04 = "12" +let s:cterm06 = "13" +let g:base16_cterm06 = "13" +let s:cterm09 = "09" +let g:base16_cterm09 = "09" +let s:cterm0F = "14" +let g:base16_cterm0F = "14" + +" Neovim terminal colours +if has("nvim") + let g:terminal_color_0 = "#1f2227" + let g:terminal_color_1 = "#e95949" + let g:terminal_color_2 = "#5da268" + let g:terminal_color_3 = "#989250" + let g:terminal_color_4 = "#658ed9" + let g:terminal_color_5 = "#658ed9" + let g:terminal_color_6 = "#5da268" + let g:terminal_color_7 = "#babec5" + let g:terminal_color_8 = "#44484e" + let g:terminal_color_9 = "#e95949" + let g:terminal_color_10 = "#5da268" + let g:terminal_color_11 = "#989250" + let g:terminal_color_12 = "#658ed9" + let g:terminal_color_13 = "#658ed9" + let g:terminal_color_14 = "#5da268" + let g:terminal_color_15 = "#dadee6" + let g:terminal_color_background = g:terminal_color_0 + let g:terminal_color_foreground = g:terminal_color_5 + + if &background == "light" + let g:terminal_color_background = g:terminal_color_7 + let g:terminal_color_foreground = g:terminal_color_2 + endif + +elseif has("terminal") + let g:terminal_ansi_colors = [ + \ "#1f2227", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#babec5", + \ "#44484e", + \ "#e95949", + \ "#5da268", + \ "#989250", + \ "#658ed9", + \ "#658ed9", + \ "#5da268", + \ "#dadee6", + \ ] +endif + +let s:guibg = s:gui00 +let s:ctermbg = s:cterm00 + +" Theme setup +hi clear +syntax reset +let g:colors_name = "active" + +" Highlighting function +" Optional variables are attributes and guisp +function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) + " For a given syntax group, sets the GUI and terminal foreground and backgrounds + " Optional parameters are interpreted as `attr` and `guisp`, the first of which appears + " to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be + " 'special' colors used for underlines in the GUI. + let l:attr = get(a:, 1, "") + let l:guisp = get(a:, 2, "") + + " See :help highlight-guifg + let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"] + + if a:guifg != "" + if index(l:gui_special_names, a:guifg) >= 0 + exec "hi " . a:group . " guifg=" . a:guifg + else + exec "hi " . a:group . " guifg=" . a:guifg + endif + endif + + if a:guibg != "" + if index(l:gui_special_names, a:guibg) >= 0 + exec "hi " . a:group . " guibg=" . a:guibg + else + exec "hi " . a:group . " guibg=" . a:guibg + endif + endif + + if a:ctermfg != "" + exec "hi " . a:group . " ctermfg=" . a:ctermfg + endif + + if a:ctermbg != "" + exec "hi " . a:group . " ctermbg=" . a:ctermbg + endif + + if l:attr != "" + exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr + endif + + if l:guisp != "" + if index(l:gui_special_names, l:guisp) >= 0 + exec "hi " . a:group . " guisp=" . l:guisp + else + exec "hi " . a:group . " guisp=" . l:guisp + endif + endif +endfunction + + +fun hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) +endfun + + +" color groups for interpretability +call hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + +hi! link Boolean ThemeOrange +hi! link Character ThemeRed +hi! link Comment ThemeGreyItalic +hi! link Conditional ThemeRed +hi! link Constant ThemeOrange +hi! link Delimiter ThemeFg1 +hi! link Float ThemeOrange +hi! link Function ThemeBlue +hi! link Include ThemeBlue +hi! link Constant ThemeOrange +hi! link Label ThemeOrange +hi! link Number ThemeOrange +hi! link Operator ThemeYellow +hi! link PreProc ThemeOrange +hi! link Repeat ThemeViolet +hi! link Special ThemeYellow +hi! link SpecialChar ThemeMagenta +hi! link Statement ThemeRed +hi! link StorageClass ThemeOrange +hi! link String ThemeGreen +hi! link Structure ThemeOrange +hi! link Tag ThemeOrange +hi! link Type ThemeYellow +hi! link Typedef ThemeOrange + + +" Treesitter +if has("nvim-0.8.0") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue + + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed + + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue + + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment + + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue + + hi! link @constant.macro ThemeRed + + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed + + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed + + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue + + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed + + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet + + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen + + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") + +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + +" C +call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") + +" Clap +hi! link ClapInput ColorColumn +hi! link ClapSpinner ColorColumn +hi! link ClapDisplay Default +hi! link ClapPreview ColorColumn +hi! link ClapCurrentSelection CursorLine +hi! link ClapNoMatchesFound ErrorFloat + +" Coc +hi! link CocErrorSign ErrorSign +hi! link CocWarningSign WarningSign +hi! link CocInfoSign InfoSign +hi! link CocHintSign HintSign + +hi! link CocErrorFloat ErrorFloat +hi! link CocWarningFloat WarningFloat +hi! link CocInfoFloat InfoFloat +hi! link CocHintFloat HintFloat + +hi! link CocErrorHighlight ErrorHighlight +hi! link CocWarningHighlight WarningHighlight +hi! link CocInfoHighlight InfoHighlight +hi! link CocHintHighlight HintHighlight + +hi! link CocSem_angle Keyword +hi! link CocSem_annotation Keyword +hi! link CocSem_attribute Type +hi! link CocSem_bitwise Keyword +hi! link CocSem_boolean Boolean +hi! link CocSem_brace Normal +hi! link CocSem_bracket Normal +hi! link CocSem_builtinAttribute Type +hi! link CocSem_builtinType Type +hi! link CocSem_character String +hi! link CocSem_class Structure +hi! link CocSem_colon Normal +hi! link CocSem_comma Normal +hi! link CocSem_comment Comment +hi! link CocSem_comparison Keyword +hi! link CocSem_concept Keyword +hi! link CocSem_constParameter Identifier +hi! link CocSem_dependent Keyword +hi! link CocSem_dot Keyword +hi! link CocSem_enum Structure +hi! link CocSem_enumMember Constant +hi! link CocSem_escapeSequence Type +hi! link CocSem_event Identifier +hi! link CocSem_formatSpecifier Type +hi! link CocSem_function Function +hi! link CocSem_interface Type +hi! link CocSem_keyword Keyword +hi! link CocSem_label Keyword +hi! link CocSem_logical Keyword +hi! link CocSem_macro Macro +hi! link CocSem_method Function +hi! link CocSem_modifier Keyword +hi! link CocSem_namespace Identifier +hi! link CocSem_number Number +hi! link CocSem_operator Operator +hi! link CocSem_parameter Identifier +hi! link CocSem_parenthesis Normal +hi! link CocSem_property Identifier +hi! link CocSem_punctuation Keyword +hi! link CocSem_regexp Type +hi! link CocSem_selfKeyword Constant +hi! link CocSem_semicolon Normal +hi! link CocSem_string String +hi! link CocSem_struct Structure +hi! link CocSem_type Type +hi! link CocSem_typeAlias Type +hi! link CocSem_typeParameter Type +hi! link CocSem_unknown Normal +hi! link CocSem_variable Identifier + +call hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "") + +" CSS +hi! link cssBraces ThemeBlue +hi! link cssFunctionName ThemeYellow +hi! link cssIdentifier ThemeOrange +hi! link cssClassName ThemeGreen +hi! link cssColor ThemeBlue +hi! link cssSelectorOp ThemeBlue +hi! link cssSelectorOp2 ThemeBlue +hi! link cssImportant ThemeGreen +hi! link cssVendor ThemeFg1 + +hi! link cssTextProp ThemeCyan +hi! link cssAnimationProp ThemeCyan +hi! link cssUIProp ThemeYellow +hi! link cssTransformProp ThemeCyan +hi! link cssTransitionProp ThemeCyan +hi! link cssPrintProp ThemeCyan +hi! link cssPositioningProp ThemeYellow +hi! link cssBoxProp ThemeCyan +hi! link cssFontDescriptorProp ThemeCyan +hi! link cssFlexibleBoxProp ThemeCyan +hi! link cssBorderOutlineProp ThemeCyan +hi! link cssBackgroundProp ThemeCyan +hi! link cssMarginProp ThemeCyan +hi! link cssListProp ThemeCyan +hi! link cssTableProp ThemeCyan +hi! link cssFontProp ThemeCyan +hi! link cssPaddingProp ThemeCyan +hi! link cssDimensionProp ThemeCyan +hi! link cssRenderProp ThemeCyan +hi! link cssColorProp ThemeCyan +hi! link cssGeneratedContentProp ThemeCyan + + +" CMP +hi! link CmpItemAbbrDeprecated Deprecated +hi! link CmpItemAbbrMatch SearchMatch +hi! link CmpItemAbbrMatchFuzzy SearchMatch +hi! link CmpItemKindClass Type +hi! link CmpItemKindColor Keyword +hi! link CmpItemKindConstant Constant +hi! link CmpItemKindConstructor Special +hi! link CmpItemKindEnum Type +hi! link CmpItemKindEnumMember Constant +hi! link CmpItemKindEvent Identifier +hi! link CmpItemKindField Character +hi! link CmpItemKindFile Directory +hi! link CmpItemKindFolder Directory +hi! link CmpItemKindFunction Function +hi! link CmpItemKindInterface Type +hi! link CmpItemKindKeyword Keyword +hi! link CmpItemKindMethod Function +hi! link CmpItemKindModule Namespace +hi! link CmpItemKindOperator Operator +hi! link CmpItemKindProperty Identifier +hi! link CmpItemKindReference Character +hi! link CmpItemKindSnippet String +hi! link CmpItemKindStruct Type +hi! link CmpItemKindText Text +hi! link CmpItemKindUnit Namespace +hi! link CmpItemKindValue Comment +hi! link CmpItemKindVariable Identifier + +if has("nvim-0.8.0") + hi! link CmpItemKindField @field + hi! link CmpItemKindProperty @property +endif + +" Diff +call hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") + +" GitGutter +hi! link GitGutterAdd GitAddSign +hi! link GitGutterChange GitChangeSign +hi! link GitGutterDelete GitDeleteSign +hi! link GitGutterChangeDelete GitChangeDeleteSign + +" indent-blankline (nvim) +if has("nvim") + call hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "") + +" Netrw +hi! link netrwDir ThemeCyan +hi! link netrwClassify ThemeCyan +hi! link netrwLink ThemeBg3 +hi! link netrwSymLink ThemeFg1 +hi! link netrwExe ThemeYellow +hi! link netrwComment ThemeBg3 +hi! link netrwList ThemeBlue +hi! link netrwHelpCmd ThemeCyan +hi! link netrwCmdSep ThemeFg3 +hi! link netrwVersion ThemeGreen + +" PHP +call hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") + +" hi! link pythonBuiltin ThemeCyan +" hi! link pythonBuiltinObj ThemeCyan +" hi! link pythonBuiltinFunc ThemeGreen +" hi! link pythonFunction Function +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow +" hi! link pythonTripleQuotes ThemeGreenItalic +" hi! link pythonInclude ThemeBlue +" hi! link pythonImport ThemeBlue +" hi! link pythonRun ThemeBlue +" hi! link pythonCoding ThemeBlue +" hi! link pythonOperator ThemeRed +" hi! link pythonException ThemeRed +" hi! link pythonExceptions ThemeYellow +" hi! link pythonBoolean ThemeYellow +" hi! link pythonDot ThemeFg3 +" hi! link pythonConditional ThemeCyan +" hi! link pythonRepeat ThemeRed +" hi! link pythonDottedName ThemeGreen + + +" Ruby +call hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") + +" JSON +hi! link jsonKeyword ThemeGreen +hi! link jsonQuote ThemeGreen +hi! link jsonBraces ThemeFg1 +hi! link jsonString ThemeFg1 + +" Markdown +hi! link markdownH1 ThemeRedBold +hi! link markdownH2 ThemeRed +hi! link markdownH3 ThemeRed +hi! link markdownH4 ThemeRed +hi! link markdownH5 ThemeRed +hi! link markdownH6 ThemeRed + +hi! link markdownCode ThemeYellow +hi! link markdownCodeBlock ThemeYellow +hi! link markdownCodeDelimiter ThemeYellow + +hi! link markdownBlockquote ThemeGrey +hi! link markdownListMarker ThemeBlue +hi! link markdownOrderedListMarker ThemeBlue +hi! link markdownRule ThemeGrey +hi! link markdownHeadingRule ThemeGrey + +hi! link markdownUrlDelimiter ThemeFg3 +hi! link markdownLinkDelimiter ThemeFg3 +hi! link markdownLinkTextDelimiter ThemeFg3 +hi! link markdownHeadingDelimiter ThemeOrange +hi! link markdownUrlTitleDelimiter ThemeGreen + +hi! link markdownLink ThemeGreen +hi! link markdownWikiLink ThemeViolet +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic +hi! link markdownInlineUrl ThemeOrange + +hi! link markdownLinkText ThemeViolet +hi! link markdownIdDeclaration markdownLinkText + +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + +"call s:HL('markdownItalic', s:fg3, s:none, s:italic) +"call s:HL('markdownLinkText', s:gray, s:none, s:underline) + + +" Remove functions +delf hi + +" Remove color variables +unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg +unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/app-config/nvim/tundra-monobiome-light.theme.vim b/app-config/nvim/tundra-monobiome-light.theme.vim new file mode 100644 index 0000000..9d4264a --- /dev/null +++ b/app-config/nvim/tundra-monobiome-light.theme.vim @@ -0,0 +1,995 @@ +" vi:syntax=vim +" +" Top-level remarks: +" +" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors +" for GUI and terminal Vim. +" - `link` allows for linking one syntax group to another, reusing the same color +" settings. Language-specific groups can then point to one of the base color highlight +" groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. + +" GUI color definitions +let s:gui00 = "#dadee6" +let g:base16_gui00 = "#dadee6" +let s:gui01 = "#caced5" +let g:base16_gui01 = "#caced5" +let s:gui02 = "#babec5" +let g:base16_gui02 = "#babec5" +let s:gui03 = "#aaaeb5" +let g:base16_gui03 = "#aaaeb5" +let s:gui04 = "#44484e" +let g:base16_gui04 = "#44484e" +let s:gui05 = "#373b40" +let g:base16_gui05 = "#373b40" +let s:gui06 = "#2b2e33" +let g:base16_gui06 = "#2b2e33" +let s:gui07 = "#1f2227" +let g:base16_gui07 = "#1f2227" +let s:gui08 = "#b42219" +let g:base16_gui08 = "#b42219" +let s:gui09 = "#905201" +let g:base16_gui09 = "#905201" +let s:gui0A = "#6a6535" +let g:base16_gui0A = "#6a6535" +let s:gui0B = "#377242" +let g:base16_gui0B = "#377242" +let s:gui0C = "#377242" +let g:base16_gui0C = "#377242" +let s:gui0D = "#3860ac" +let g:base16_gui0D = "#3860ac" +let s:gui0E = "#3860ac" +let g:base16_gui0E = "#3860ac" +let s:gui0F = "#b42219" +let g:base16_gui0F = "#b42219" + +let s:grey = "#7d8087" + +" Terminal color definitions +let s:cterm00 = "00" +let g:base16_cterm00 = "00" +let s:cterm03 = "08" +let g:base16_cterm03 = "08" +let s:cterm05 = "07" +let g:base16_cterm05 = "07" +let s:cterm07 = "15" +let g:base16_cterm07 = "15" +let s:cterm08 = "01" +let g:base16_cterm08 = "01" +let s:cterm0A = "03" +let g:base16_cterm0A = "03" +let s:cterm0B = "02" +let g:base16_cterm0B = "02" +let s:cterm0C = "06" +let g:base16_cterm0C = "06" +let s:cterm0D = "04" +let g:base16_cterm0D = "04" +let s:cterm0E = "05" +let g:base16_cterm0E = "05" + +let s:cterm01 = "10" +let g:base16_cterm01 = "10" +let s:cterm02 = "11" +let g:base16_cterm02 = "11" +let s:cterm04 = "12" +let g:base16_cterm04 = "12" +let s:cterm06 = "13" +let g:base16_cterm06 = "13" +let s:cterm09 = "09" +let g:base16_cterm09 = "09" +let s:cterm0F = "14" +let g:base16_cterm0F = "14" + +" Neovim terminal colours +if has("nvim") + let g:terminal_color_0 = "#dadee6" + let g:terminal_color_1 = "#b42219" + let g:terminal_color_2 = "#377242" + let g:terminal_color_3 = "#6a6535" + let g:terminal_color_4 = "#3860ac" + let g:terminal_color_5 = "#3860ac" + let g:terminal_color_6 = "#377242" + let g:terminal_color_7 = "#373b40" + let g:terminal_color_8 = "#aaaeb5" + let g:terminal_color_9 = "#b42219" + let g:terminal_color_10 = "#377242" + let g:terminal_color_11 = "#6a6535" + let g:terminal_color_12 = "#3860ac" + let g:terminal_color_13 = "#3860ac" + let g:terminal_color_14 = "#377242" + let g:terminal_color_15 = "#1f2227" + let g:terminal_color_background = g:terminal_color_0 + let g:terminal_color_foreground = g:terminal_color_5 + + if &background == "light" + let g:terminal_color_background = g:terminal_color_7 + let g:terminal_color_foreground = g:terminal_color_2 + endif + +elseif has("terminal") + let g:terminal_ansi_colors = [ + \ "#dadee6", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#373b40", + \ "#aaaeb5", + \ "#b42219", + \ "#377242", + \ "#6a6535", + \ "#3860ac", + \ "#3860ac", + \ "#377242", + \ "#1f2227", + \ ] +endif + +let s:guibg = s:gui00 +let s:ctermbg = s:cterm00 + +" Theme setup +hi clear +syntax reset +let g:colors_name = "active" + +" Highlighting function +" Optional variables are attributes and guisp +function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) + " For a given syntax group, sets the GUI and terminal foreground and backgrounds + " Optional parameters are interpreted as `attr` and `guisp`, the first of which appears + " to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be + " 'special' colors used for underlines in the GUI. + let l:attr = get(a:, 1, "") + let l:guisp = get(a:, 2, "") + + " See :help highlight-guifg + let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"] + + if a:guifg != "" + if index(l:gui_special_names, a:guifg) >= 0 + exec "hi " . a:group . " guifg=" . a:guifg + else + exec "hi " . a:group . " guifg=" . a:guifg + endif + endif + + if a:guibg != "" + if index(l:gui_special_names, a:guibg) >= 0 + exec "hi " . a:group . " guibg=" . a:guibg + else + exec "hi " . a:group . " guibg=" . a:guibg + endif + endif + + if a:ctermfg != "" + exec "hi " . a:group . " ctermfg=" . a:ctermfg + endif + + if a:ctermbg != "" + exec "hi " . a:group . " ctermbg=" . a:ctermbg + endif + + if l:attr != "" + exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr + endif + + if l:guisp != "" + if index(l:gui_special_names, l:guisp) >= 0 + exec "hi " . a:group . " guisp=" . l:guisp + else + exec "hi " . a:group . " guisp=" . l:guisp + endif + endif +endfunction + + +fun hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) +endfun + + +" color groups for interpretability +call hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + +hi! link Boolean ThemeOrange +hi! link Character ThemeRed +hi! link Comment ThemeGreyItalic +hi! link Conditional ThemeRed +hi! link Constant ThemeOrange +hi! link Delimiter ThemeFg1 +hi! link Float ThemeOrange +hi! link Function ThemeBlue +hi! link Include ThemeBlue +hi! link Constant ThemeOrange +hi! link Label ThemeOrange +hi! link Number ThemeOrange +hi! link Operator ThemeYellow +hi! link PreProc ThemeOrange +hi! link Repeat ThemeViolet +hi! link Special ThemeYellow +hi! link SpecialChar ThemeMagenta +hi! link Statement ThemeRed +hi! link StorageClass ThemeOrange +hi! link String ThemeGreen +hi! link Structure ThemeOrange +hi! link Tag ThemeOrange +hi! link Type ThemeYellow +hi! link Typedef ThemeOrange + + +" Treesitter +if has("nvim-0.8.0") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue + + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed + + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue + + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment + + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue + + hi! link @constant.macro ThemeRed + + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed + + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed + + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue + + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed + + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet + + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen + + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") + +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + +" C +call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") + +" Clap +hi! link ClapInput ColorColumn +hi! link ClapSpinner ColorColumn +hi! link ClapDisplay Default +hi! link ClapPreview ColorColumn +hi! link ClapCurrentSelection CursorLine +hi! link ClapNoMatchesFound ErrorFloat + +" Coc +hi! link CocErrorSign ErrorSign +hi! link CocWarningSign WarningSign +hi! link CocInfoSign InfoSign +hi! link CocHintSign HintSign + +hi! link CocErrorFloat ErrorFloat +hi! link CocWarningFloat WarningFloat +hi! link CocInfoFloat InfoFloat +hi! link CocHintFloat HintFloat + +hi! link CocErrorHighlight ErrorHighlight +hi! link CocWarningHighlight WarningHighlight +hi! link CocInfoHighlight InfoHighlight +hi! link CocHintHighlight HintHighlight + +hi! link CocSem_angle Keyword +hi! link CocSem_annotation Keyword +hi! link CocSem_attribute Type +hi! link CocSem_bitwise Keyword +hi! link CocSem_boolean Boolean +hi! link CocSem_brace Normal +hi! link CocSem_bracket Normal +hi! link CocSem_builtinAttribute Type +hi! link CocSem_builtinType Type +hi! link CocSem_character String +hi! link CocSem_class Structure +hi! link CocSem_colon Normal +hi! link CocSem_comma Normal +hi! link CocSem_comment Comment +hi! link CocSem_comparison Keyword +hi! link CocSem_concept Keyword +hi! link CocSem_constParameter Identifier +hi! link CocSem_dependent Keyword +hi! link CocSem_dot Keyword +hi! link CocSem_enum Structure +hi! link CocSem_enumMember Constant +hi! link CocSem_escapeSequence Type +hi! link CocSem_event Identifier +hi! link CocSem_formatSpecifier Type +hi! link CocSem_function Function +hi! link CocSem_interface Type +hi! link CocSem_keyword Keyword +hi! link CocSem_label Keyword +hi! link CocSem_logical Keyword +hi! link CocSem_macro Macro +hi! link CocSem_method Function +hi! link CocSem_modifier Keyword +hi! link CocSem_namespace Identifier +hi! link CocSem_number Number +hi! link CocSem_operator Operator +hi! link CocSem_parameter Identifier +hi! link CocSem_parenthesis Normal +hi! link CocSem_property Identifier +hi! link CocSem_punctuation Keyword +hi! link CocSem_regexp Type +hi! link CocSem_selfKeyword Constant +hi! link CocSem_semicolon Normal +hi! link CocSem_string String +hi! link CocSem_struct Structure +hi! link CocSem_type Type +hi! link CocSem_typeAlias Type +hi! link CocSem_typeParameter Type +hi! link CocSem_unknown Normal +hi! link CocSem_variable Identifier + +call hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "") + +" CSS +hi! link cssBraces ThemeBlue +hi! link cssFunctionName ThemeYellow +hi! link cssIdentifier ThemeOrange +hi! link cssClassName ThemeGreen +hi! link cssColor ThemeBlue +hi! link cssSelectorOp ThemeBlue +hi! link cssSelectorOp2 ThemeBlue +hi! link cssImportant ThemeGreen +hi! link cssVendor ThemeFg1 + +hi! link cssTextProp ThemeCyan +hi! link cssAnimationProp ThemeCyan +hi! link cssUIProp ThemeYellow +hi! link cssTransformProp ThemeCyan +hi! link cssTransitionProp ThemeCyan +hi! link cssPrintProp ThemeCyan +hi! link cssPositioningProp ThemeYellow +hi! link cssBoxProp ThemeCyan +hi! link cssFontDescriptorProp ThemeCyan +hi! link cssFlexibleBoxProp ThemeCyan +hi! link cssBorderOutlineProp ThemeCyan +hi! link cssBackgroundProp ThemeCyan +hi! link cssMarginProp ThemeCyan +hi! link cssListProp ThemeCyan +hi! link cssTableProp ThemeCyan +hi! link cssFontProp ThemeCyan +hi! link cssPaddingProp ThemeCyan +hi! link cssDimensionProp ThemeCyan +hi! link cssRenderProp ThemeCyan +hi! link cssColorProp ThemeCyan +hi! link cssGeneratedContentProp ThemeCyan + + +" CMP +hi! link CmpItemAbbrDeprecated Deprecated +hi! link CmpItemAbbrMatch SearchMatch +hi! link CmpItemAbbrMatchFuzzy SearchMatch +hi! link CmpItemKindClass Type +hi! link CmpItemKindColor Keyword +hi! link CmpItemKindConstant Constant +hi! link CmpItemKindConstructor Special +hi! link CmpItemKindEnum Type +hi! link CmpItemKindEnumMember Constant +hi! link CmpItemKindEvent Identifier +hi! link CmpItemKindField Character +hi! link CmpItemKindFile Directory +hi! link CmpItemKindFolder Directory +hi! link CmpItemKindFunction Function +hi! link CmpItemKindInterface Type +hi! link CmpItemKindKeyword Keyword +hi! link CmpItemKindMethod Function +hi! link CmpItemKindModule Namespace +hi! link CmpItemKindOperator Operator +hi! link CmpItemKindProperty Identifier +hi! link CmpItemKindReference Character +hi! link CmpItemKindSnippet String +hi! link CmpItemKindStruct Type +hi! link CmpItemKindText Text +hi! link CmpItemKindUnit Namespace +hi! link CmpItemKindValue Comment +hi! link CmpItemKindVariable Identifier + +if has("nvim-0.8.0") + hi! link CmpItemKindField @field + hi! link CmpItemKindProperty @property +endif + +" Diff +call hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") + +" GitGutter +hi! link GitGutterAdd GitAddSign +hi! link GitGutterChange GitChangeSign +hi! link GitGutterDelete GitDeleteSign +hi! link GitGutterChangeDelete GitChangeDeleteSign + +" indent-blankline (nvim) +if has("nvim") + call hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "") + +" Netrw +hi! link netrwDir ThemeCyan +hi! link netrwClassify ThemeCyan +hi! link netrwLink ThemeBg3 +hi! link netrwSymLink ThemeFg1 +hi! link netrwExe ThemeYellow +hi! link netrwComment ThemeBg3 +hi! link netrwList ThemeBlue +hi! link netrwHelpCmd ThemeCyan +hi! link netrwCmdSep ThemeFg3 +hi! link netrwVersion ThemeGreen + +" PHP +call hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") + +" hi! link pythonBuiltin ThemeCyan +" hi! link pythonBuiltinObj ThemeCyan +" hi! link pythonBuiltinFunc ThemeGreen +" hi! link pythonFunction Function +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow +" hi! link pythonTripleQuotes ThemeGreenItalic +" hi! link pythonInclude ThemeBlue +" hi! link pythonImport ThemeBlue +" hi! link pythonRun ThemeBlue +" hi! link pythonCoding ThemeBlue +" hi! link pythonOperator ThemeRed +" hi! link pythonException ThemeRed +" hi! link pythonExceptions ThemeYellow +" hi! link pythonBoolean ThemeYellow +" hi! link pythonDot ThemeFg3 +" hi! link pythonConditional ThemeCyan +" hi! link pythonRepeat ThemeRed +" hi! link pythonDottedName ThemeGreen + + +" Ruby +call hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") + +" JSON +hi! link jsonKeyword ThemeGreen +hi! link jsonQuote ThemeGreen +hi! link jsonBraces ThemeFg1 +hi! link jsonString ThemeFg1 + +" Markdown +hi! link markdownH1 ThemeRedBold +hi! link markdownH2 ThemeRed +hi! link markdownH3 ThemeRed +hi! link markdownH4 ThemeRed +hi! link markdownH5 ThemeRed +hi! link markdownH6 ThemeRed + +hi! link markdownCode ThemeYellow +hi! link markdownCodeBlock ThemeYellow +hi! link markdownCodeDelimiter ThemeYellow + +hi! link markdownBlockquote ThemeGrey +hi! link markdownListMarker ThemeBlue +hi! link markdownOrderedListMarker ThemeBlue +hi! link markdownRule ThemeGrey +hi! link markdownHeadingRule ThemeGrey + +hi! link markdownUrlDelimiter ThemeFg3 +hi! link markdownLinkDelimiter ThemeFg3 +hi! link markdownLinkTextDelimiter ThemeFg3 +hi! link markdownHeadingDelimiter ThemeOrange +hi! link markdownUrlTitleDelimiter ThemeGreen + +hi! link markdownLink ThemeGreen +hi! link markdownWikiLink ThemeViolet +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic +hi! link markdownInlineUrl ThemeOrange + +hi! link markdownLinkText ThemeViolet +hi! link markdownIdDeclaration markdownLinkText + +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + +"call s:HL('markdownItalic', s:fg3, s:none, s:italic) +"call s:HL('markdownLinkText', s:gray, s:none, s:underline) + + +" Remove functions +delf hi + +" Remove color variables +unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg +unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/apps/fzf/grassland-monobiome-light.theme b/apps/fzf/grassland-monobiome-light.theme deleted file mode 100644 index d2b7959..0000000 --- a/apps/fzf/grassland-monobiome-light.theme +++ /dev/null @@ -1,22 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#111815 - --color=fg+:#1d2321 - --color=bg:#c7d0cc - --color=bg+:#b7c0bc - - --color=hl:#3860ac - --color=hl+:#3860ac - --color=info:#6a6535 - --color=marker:#377242 - - --color=prompt:#b52119 - --color=spinner:#6a6535 - --color=pointer:#b52119 - --color=header:#377242 - - --color=border:#b7c0bc - --color=label:#aeaeae - --color=query:#111815 - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' diff --git a/apps/fzf/hard-grassland-monobiome-light.theme b/apps/fzf/hard-grassland-monobiome-light.theme deleted file mode 100644 index 293dcda..0000000 --- a/apps/fzf/hard-grassland-monobiome-light.theme +++ /dev/null @@ -1,22 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#1d2321 - --color=fg+:#29302d - --color=bg:#d7e0dd - --color=bg+:#c7d0cc - - --color=hl:#456fbe - --color=hl+:#456fbe - --color=info:#79743d - --color=marker:#42824e - - --color=prompt:#ca2e23 - --color=spinner:#79743d - --color=pointer:#ca2e23 - --color=header:#42824e - - --color=border:#c7d0cc - --color=label:#aeaeae - --color=query:#1d2321 - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' diff --git a/apps/fzf/hard-savanna-monobiome-light.theme b/apps/fzf/hard-savanna-monobiome-light.theme deleted file mode 100644 index 2bae280..0000000 --- a/apps/fzf/hard-savanna-monobiome-light.theme +++ /dev/null @@ -1,22 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#24211c - --color=fg+:#302e28 - --color=bg:#e1ded6 - --color=bg+:#d0cec6 - - --color=hl:#456fbe - --color=hl+:#456fbe - --color=info:#79743d - --color=marker:#42824e - - --color=prompt:#ca2e23 - --color=spinner:#79743d - --color=pointer:#ca2e23 - --color=header:#42824e - - --color=border:#d0cec6 - --color=label:#aeaeae - --color=query:#24211c - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' diff --git a/apps/fzf/hard-tundra-monobiome-light.theme b/apps/fzf/hard-tundra-monobiome-light.theme deleted file mode 100644 index d2e7ebc..0000000 --- a/apps/fzf/hard-tundra-monobiome-light.theme +++ /dev/null @@ -1,22 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#1e2227 - --color=fg+:#2a2e33 - --color=bg:#d9dfe5 - --color=bg+:#c8ced5 - - --color=hl:#456fbe - --color=hl+:#456fbe - --color=info:#79743d - --color=marker:#42824e - - --color=prompt:#ca2e23 - --color=spinner:#79743d - --color=pointer:#ca2e23 - --color=header:#42824e - - --color=border:#c8ced5 - --color=label:#aeaeae - --color=query:#1e2227 - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' diff --git a/apps/fzf/savanna-monobiome-light.theme b/apps/fzf/savanna-monobiome-light.theme deleted file mode 100644 index 37b6d35..0000000 --- a/apps/fzf/savanna-monobiome-light.theme +++ /dev/null @@ -1,22 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#181610 - --color=fg+:#24211c - --color=bg:#d0cec6 - --color=bg+:#c0bdb6 - - --color=hl:#3860ac - --color=hl+:#3860ac - --color=info:#6a6535 - --color=marker:#377242 - - --color=prompt:#b52119 - --color=spinner:#6a6535 - --color=pointer:#b52119 - --color=header:#377242 - - --color=border:#c0bdb6 - --color=label:#aeaeae - --color=query:#181610 - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' diff --git a/apps/fzf/soft-grassland-monobiome-light.theme b/apps/fzf/soft-grassland-monobiome-light.theme deleted file mode 100644 index e8983be..0000000 --- a/apps/fzf/soft-grassland-monobiome-light.theme +++ /dev/null @@ -1,22 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#070d0a - --color=fg+:#111815 - --color=bg:#b7c0bc - --color=bg+:#a8b0ad - - --color=hl:#2d5299 - --color=hl+:#2d5299 - --color=info:#5b572e - --color=marker:#2e6337 - - --color=prompt:#9d1912 - --color=spinner:#5b572e - --color=pointer:#9d1912 - --color=header:#2e6337 - - --color=border:#a8b0ad - --color=label:#aeaeae - --color=query:#070d0a - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' diff --git a/apps/fzf/soft-monobiome-light.theme b/apps/fzf/soft-monobiome-light.theme deleted file mode 100644 index 529bb04..0000000 --- a/apps/fzf/soft-monobiome-light.theme +++ /dev/null @@ -1,22 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#0b0b0b - --color=fg+:#161616 - --color=bg:#bebebe - --color=bg+:#aeaeae - - --color=hl:#2d5299 - --color=hl+:#2d5299 - --color=info:#5b572e - --color=marker:#2e6337 - - --color=prompt:#9d1912 - --color=spinner:#5b572e - --color=pointer:#9d1912 - --color=header:#2e6337 - - --color=border:#aeaeae - --color=label:#aeaeae - --color=query:#0b0b0b - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' diff --git a/apps/fzf/soft-savanna-monobiome-light.theme b/apps/fzf/soft-savanna-monobiome-light.theme deleted file mode 100644 index 0112f0c..0000000 --- a/apps/fzf/soft-savanna-monobiome-light.theme +++ /dev/null @@ -1,22 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#0d0b06 - --color=fg+:#181610 - --color=bg:#c0bdb6 - --color=bg+:#b0aea6 - - --color=hl:#2d5299 - --color=hl+:#2d5299 - --color=info:#5b572e - --color=marker:#2e6337 - - --color=prompt:#9d1912 - --color=spinner:#5b572e - --color=pointer:#9d1912 - --color=header:#2e6337 - - --color=border:#b0aea6 - --color=label:#aeaeae - --color=query:#0d0b06 - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' diff --git a/apps/fzf/soft-tundra-monobiome-light.theme b/apps/fzf/soft-tundra-monobiome-light.theme deleted file mode 100644 index 98b32f8..0000000 --- a/apps/fzf/soft-tundra-monobiome-light.theme +++ /dev/null @@ -1,22 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#080c10 - --color=fg+:#12161b - --color=bg:#b9bec5 - --color=bg+:#a9afb5 - - --color=hl:#2d5299 - --color=hl+:#2d5299 - --color=info:#5b572e - --color=marker:#2e6337 - - --color=prompt:#9d1912 - --color=spinner:#5b572e - --color=pointer:#9d1912 - --color=header:#2e6337 - - --color=border:#a9afb5 - --color=label:#aeaeae - --color=query:#080c10 - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' diff --git a/apps/fzf/tundra-monobiome-light.theme b/apps/fzf/tundra-monobiome-light.theme deleted file mode 100644 index 05a0412..0000000 --- a/apps/fzf/tundra-monobiome-light.theme +++ /dev/null @@ -1,22 +0,0 @@ -export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' - --color=fg:#12161b - --color=fg+:#1e2227 - --color=bg:#c8ced5 - --color=bg+:#b9bec5 - - --color=hl:#3860ac - --color=hl+:#3860ac - --color=info:#6a6535 - --color=marker:#377242 - - --color=prompt:#b52119 - --color=spinner:#6a6535 - --color=pointer:#b52119 - --color=header:#377242 - - --color=border:#b9bec5 - --color=label:#aeaeae - --color=query:#12161b - - --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" - --separator="" --scrollbar="│"' diff --git a/apps/kitty/grassland-monobiome-light.theme b/apps/kitty/grassland-monobiome-light.theme deleted file mode 100644 index ed7a800..0000000 --- a/apps/kitty/grassland-monobiome-light.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #c7d0cc -foreground #111815 - -selection_background #b7c0bc -selection_foreground #1d2321 - -cursor #1d2321 -cursor_text_color #b7c0bc - -# black -color0 #111815 -color8 #29302d - -# red -color1 #b52119 -color9 #b52119 - -# green -color2 #377242 -color10 #377242 - -# yellow -color3 #6a6535 -color11 #6a6535 - -# blue -color4 #3860ac -color12 #3860ac - -# purple (red) -color5 #905201 -color13 #905201 - -# cyan (blue) -color6 #3860ac -color14 #3860ac - -## white -color7 #a8b0ad -color15 #c7d0cc - diff --git a/apps/kitty/hard-grassland-monobiome-dark.theme b/apps/kitty/hard-grassland-monobiome-dark.theme deleted file mode 100644 index 113e4a2..0000000 --- a/apps/kitty/hard-grassland-monobiome-dark.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #111815 -foreground #c7d0cc - -selection_background #1d2321 -selection_foreground #b7c0bc - -cursor #b7c0bc -cursor_text_color #1d2321 - -# black -color0 #111815 -color8 #29302d - -# red -color1 #dc4134 -color9 #f37060 - -# green -color2 #4f925a -color10 #6eb178 - -# yellow -color3 #888346 -color11 #a7a15f - -# blue -color4 #557ecc -color12 #799ee3 - -# purple (red) -color5 #b86b05 -color13 #da8934 - -# cyan (blue) -color6 #557ecc -color14 #799ee3 - -## white -color7 #a8b0ad -color15 #c7d0cc - diff --git a/apps/kitty/hard-grassland-monobiome-light.theme b/apps/kitty/hard-grassland-monobiome-light.theme deleted file mode 100644 index 1f102dc..0000000 --- a/apps/kitty/hard-grassland-monobiome-light.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #d7e0dd -foreground #1d2321 - -selection_background #c7d0cc -selection_foreground #29302d - -cursor #29302d -cursor_text_color #c7d0cc - -# black -color0 #b7c0bc -color8 #d7e0dd - -# red -color1 #ca2e23 -color9 #ca2e23 - -# green -color2 #42824e -color10 #42824e - -# yellow -color3 #79743d -color11 #79743d - -# blue -color4 #456fbe -color12 #456fbe - -# purple (red) -color5 #a45e00 -color13 #a45e00 - -# cyan (blue) -color6 #456fbe -color14 #456fbe - -## white -color7 #1d2321 -color15 #353c3a - diff --git a/apps/kitty/hard-monobiome-light.theme b/apps/kitty/hard-monobiome-light.theme deleted file mode 100644 index fd73daf..0000000 --- a/apps/kitty/hard-monobiome-light.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #dedede -foreground #222222 - -selection_background #cecece -selection_foreground #2e2e2e - -cursor #2e2e2e -cursor_text_color #cecece - -# black -color0 #bebebe -color8 #dedede - -# red -color1 #ca2e23 -color9 #ca2e23 - -# green -color2 #42824e -color10 #42824e - -# yellow -color3 #79743d -color11 #79743d - -# blue -color4 #456fbe -color12 #456fbe - -# purple (red) -color5 #a45e00 -color13 #a45e00 - -# cyan (blue) -color6 #456fbe -color14 #456fbe - -## white -color7 #222222 -color15 #3a3a3a - diff --git a/apps/kitty/hard-savanna-monobiome-dark.theme b/apps/kitty/hard-savanna-monobiome-dark.theme deleted file mode 100644 index d008af9..0000000 --- a/apps/kitty/hard-savanna-monobiome-dark.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #181610 -foreground #d0cec6 - -selection_background #24211c -selection_foreground #c0bdb6 - -cursor #c0bdb6 -cursor_text_color #24211c - -# black -color0 #181610 -color8 #302e28 - -# red -color1 #dc4134 -color9 #f37060 - -# green -color2 #4f925a -color10 #6eb178 - -# yellow -color3 #888346 -color11 #a7a15f - -# blue -color4 #557ecc -color12 #799ee3 - -# purple (red) -color5 #b86b05 -color13 #da8934 - -# cyan (blue) -color6 #557ecc -color14 #799ee3 - -## white -color7 #b0aea6 -color15 #d0cec6 - diff --git a/apps/kitty/hard-savanna-monobiome-light.theme b/apps/kitty/hard-savanna-monobiome-light.theme deleted file mode 100644 index 581ce6a..0000000 --- a/apps/kitty/hard-savanna-monobiome-light.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #e1ded6 -foreground #24211c - -selection_background #d0cec6 -selection_foreground #302e28 - -cursor #302e28 -cursor_text_color #d0cec6 - -# black -color0 #24211c -color8 #3d3a34 - -# red -color1 #ca2e23 -color9 #ca2e23 - -# green -color2 #42824e -color10 #42824e - -# yellow -color3 #79743d -color11 #79743d - -# blue -color4 #456fbe -color12 #456fbe - -# purple (red) -color5 #a45e00 -color13 #a45e00 - -# cyan (blue) -color6 #456fbe -color14 #456fbe - -## white -color7 #c0bdb6 -color15 #e1ded6 - diff --git a/apps/kitty/hard-tundra-monobiome-dark.theme b/apps/kitty/hard-tundra-monobiome-dark.theme deleted file mode 100644 index 491e742..0000000 --- a/apps/kitty/hard-tundra-monobiome-dark.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #12161b -foreground #c8ced5 - -selection_background #1e2227 -selection_foreground #b9bec5 - -cursor #b9bec5 -cursor_text_color #1e2227 - -# black -color0 #12161b -color8 #2a2e33 - -# red -color1 #dc4134 -color9 #f37060 - -# green -color2 #4f925a -color10 #6eb178 - -# yellow -color3 #888346 -color11 #a7a15f - -# blue -color4 #557ecc -color12 #799ee3 - -# purple (red) -color5 #b86b05 -color13 #da8934 - -# cyan (blue) -color6 #557ecc -color14 #799ee3 - -## white -color7 #a9afb5 -color15 #c8ced5 - diff --git a/apps/kitty/hard-tundra-monobiome-light.theme b/apps/kitty/hard-tundra-monobiome-light.theme deleted file mode 100644 index 750c28a..0000000 --- a/apps/kitty/hard-tundra-monobiome-light.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #d9dfe5 -foreground #1e2227 - -selection_background #c8ced5 -selection_foreground #2a2e33 - -cursor #2a2e33 -cursor_text_color #c8ced5 - -# black -color0 #1e2227 -color8 #363b40 - -# red -color1 #ca2e23 -color9 #ca2e23 - -# green -color2 #42824e -color10 #42824e - -# yellow -color3 #79743d -color11 #79743d - -# blue -color4 #456fbe -color12 #456fbe - -# purple (red) -color5 #a45e00 -color13 #a45e00 - -# cyan (blue) -color6 #456fbe -color14 #456fbe - -## white -color7 #b9bec5 -color15 #d9dfe5 - diff --git a/apps/kitty/monobiome-light.theme b/apps/kitty/monobiome-light.theme deleted file mode 100644 index cc37b77..0000000 --- a/apps/kitty/monobiome-light.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #cecece -foreground #161616 - -selection_background #bebebe -selection_foreground #222222 - -cursor #222222 -cursor_text_color #bebebe - -# black -color0 #161616 -color8 #2e2e2e - -# red -color1 #b52119 -color9 #b52119 - -# green -color2 #377242 -color10 #377242 - -# yellow -color3 #6a6535 -color11 #6a6535 - -# blue -color4 #3860ac -color12 #3860ac - -# purple (red) -color5 #905201 -color13 #905201 - -# cyan (blue) -color6 #3860ac -color14 #3860ac - -## white -color7 #aeaeae -color15 #cecece - diff --git a/apps/kitty/savanna-monobiome-light.theme b/apps/kitty/savanna-monobiome-light.theme deleted file mode 100644 index 0950603..0000000 --- a/apps/kitty/savanna-monobiome-light.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #d0cec6 -foreground #181610 - -selection_background #c0bdb6 -selection_foreground #24211c - -cursor #24211c -cursor_text_color #c0bdb6 - -# black -color0 #181610 -color8 #302e28 - -# red -color1 #b52119 -color9 #b52119 - -# green -color2 #377242 -color10 #377242 - -# yellow -color3 #6a6535 -color11 #6a6535 - -# blue -color4 #3860ac -color12 #3860ac - -# purple (red) -color5 #905201 -color13 #905201 - -# cyan (blue) -color6 #3860ac -color14 #3860ac - -## white -color7 #b0aea6 -color15 #d0cec6 - diff --git a/apps/kitty/soft-grassland-monobiome-light.theme b/apps/kitty/soft-grassland-monobiome-light.theme deleted file mode 100644 index 6269933..0000000 --- a/apps/kitty/soft-grassland-monobiome-light.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #b7c0bc -foreground #070d0a - -selection_background #a8b0ad -selection_foreground #111815 - -cursor #111815 -cursor_text_color #a8b0ad - -# black -color0 #070d0a -color8 #1d2321 - -# red -color1 #9d1912 -color9 #9d1912 - -# green -color2 #2e6337 -color10 #2e6337 - -# yellow -color3 #5b572e -color11 #5b572e - -# blue -color4 #2d5299 -color12 #2d5299 - -# purple (red) -color5 #7c4706 -color13 #7c4706 - -# cyan (blue) -color6 #2d5299 -color14 #2d5299 - -## white -color7 #98a19d -color15 #b7c0bc - diff --git a/apps/kitty/soft-monobiome-light.theme b/apps/kitty/soft-monobiome-light.theme deleted file mode 100644 index c040096..0000000 --- a/apps/kitty/soft-monobiome-light.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #bebebe -foreground #0b0b0b - -selection_background #aeaeae -selection_foreground #161616 - -cursor #161616 -cursor_text_color #aeaeae - -# black -color0 #0b0b0b -color8 #222222 - -# red -color1 #9d1912 -color9 #9d1912 - -# green -color2 #2e6337 -color10 #2e6337 - -# yellow -color3 #5b572e -color11 #5b572e - -# blue -color4 #2d5299 -color12 #2d5299 - -# purple (red) -color5 #7c4706 -color13 #7c4706 - -# cyan (blue) -color6 #2d5299 -color14 #2d5299 - -## white -color7 #9e9e9e -color15 #bebebe - diff --git a/apps/kitty/soft-savanna-monobiome-light.theme b/apps/kitty/soft-savanna-monobiome-light.theme deleted file mode 100644 index 5219768..0000000 --- a/apps/kitty/soft-savanna-monobiome-light.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #c0bdb6 -foreground #0d0b06 - -selection_background #b0aea6 -selection_foreground #181610 - -cursor #181610 -cursor_text_color #b0aea6 - -# black -color0 #0d0b06 -color8 #24211c - -# red -color1 #9d1912 -color9 #9d1912 - -# green -color2 #2e6337 -color10 #2e6337 - -# yellow -color3 #5b572e -color11 #5b572e - -# blue -color4 #2d5299 -color12 #2d5299 - -# purple (red) -color5 #7c4706 -color13 #7c4706 - -# cyan (blue) -color6 #2d5299 -color14 #2d5299 - -## white -color7 #a19e97 -color15 #c0bdb6 - diff --git a/apps/kitty/soft-tundra-monobiome-light.theme b/apps/kitty/soft-tundra-monobiome-light.theme deleted file mode 100644 index 982f887..0000000 --- a/apps/kitty/soft-tundra-monobiome-light.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #b9bec5 -foreground #080c10 - -selection_background #a9afb5 -selection_foreground #12161b - -cursor #12161b -cursor_text_color #a9afb5 - -# black -color0 #080c10 -color8 #1e2227 - -# red -color1 #9d1912 -color9 #9d1912 - -# green -color2 #2e6337 -color10 #2e6337 - -# yellow -color3 #5b572e -color11 #5b572e - -# blue -color4 #2d5299 -color12 #2d5299 - -# purple (red) -color5 #7c4706 -color13 #7c4706 - -# cyan (blue) -color6 #2d5299 -color14 #2d5299 - -## white -color7 #999fa5 -color15 #b9bec5 - diff --git a/apps/kitty/tundra-monobiome-light.theme b/apps/kitty/tundra-monobiome-light.theme deleted file mode 100644 index e954d5e..0000000 --- a/apps/kitty/tundra-monobiome-light.theme +++ /dev/null @@ -1,42 +0,0 @@ -# base settings -background #c8ced5 -foreground #12161b - -selection_background #b9bec5 -selection_foreground #1e2227 - -cursor #1e2227 -cursor_text_color #b9bec5 - -# black -color0 #12161b -color8 #2a2e33 - -# red -color1 #b52119 -color9 #b52119 - -# green -color2 #377242 -color10 #377242 - -# yellow -color3 #6a6535 -color11 #6a6535 - -# blue -color4 #3860ac -color12 #3860ac - -# purple (red) -color5 #905201 -color13 #905201 - -# cyan (blue) -color6 #3860ac -color14 #3860ac - -## white -color7 #a9afb5 -color15 #c8ced5 - diff --git a/apps/symconf/badlands-monobiome-dark.toml b/apps/symconf/badlands-monobiome-dark.toml deleted file mode 100644 index 78fb9fc..0000000 --- a/apps/symconf/badlands-monobiome-dark.toml +++ /dev/null @@ -1,72 +0,0 @@ -bg0 = "f{{badlands.l20}}" # darkest -bg1 = "f{{badlands.l25}}" -bg2 = "f{{badlands.l30}}" -bg3 = "f{{badlands.l35}}" - -grey = "f{{badlands.l50}}" # - -fg3 = "f{{badlands.l70}}" -fg2 = "f{{badlands.l75}}" -fg1 = "f{{badlands.l80}}" -fg0 = "f{{badlands.l85}}" # lightest - -red = "f{{red.l65}}" -orange = "f{{orange.l65}}" -yellow = "f{{yellow.l65}}" -green = "f{{green.l65}}" -cyan = "f{{green.l65}}" -blue = "f{{blue.l65}}" -violet = "f{{blue.l65}}" -magenta = "f{{red.l65}}" - -[term] -background = "f{{badlands.l25}}" # -foreground = "f{{badlands.l90}}" # - -selection_bg = "f{{badlands.l30}}" # -selection_fg = "f{{badlands.l85}}" # - -cursor = "f{{badlands.l85}}" # -cursor_text = "f{{badlands.l30}}" # - -[term.normal] -black = "f{{badlands.l25}}" # -red = "f{{red.l65}}" -green = "f{{green.l65}}" -yellow = "f{{yellow.l65}}" -blue = "f{{blue.l65}}" -magenta = "f{{orange.l65}}" -cyan = "f{{blue.l65}}" -white = "f{{badlands.l80}}" # - -[term.bright] -black = "f{{badlands.l35}}" # -red = "f{{red.l75}}" -green = "f{{green.l75}}" -yellow = "f{{yellow.l75}}" -blue = "f{{blue.l75}}" -magenta = "f{{orange.l75}}" -cyan = "f{{blue.l75}}" -white = "f{{badlands.l90}}" # - -[vim] -bg0 = "f{{badlands.l25}}" # -bg1 = "f{{badlands.l30}}" # -bg2 = "f{{badlands.l35}}" # -bg3 = "f{{badlands.l40}}" # - -grey = "f{{badlands.l60}}" # - -fg3 = "f{{badlands.l75}}" # -fg2 = "f{{badlands.l80}}" # -fg1 = "f{{badlands.l85}}" # -fg0 = "f{{badlands.l90}}" # - -red = "f{{red.l65}}" -orange = "f{{orange.l65}}" -yellow = "f{{yellow.l65}}" -green = "f{{green.l65}}" -cyan = "f{{green.l65}}" -blue = "f{{blue.l65}}" -violet = "f{{blue.l65}}" -magenta = "f{{red.l65}}" diff --git a/apps/vim-airline/grassland-monobiome-dark.statusline.vim b/apps/vim-airline/grassland-monobiome-dark.statusline.vim deleted file mode 100644 index 00f9341..0000000 --- a/apps/vim-airline/grassland-monobiome-dark.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#1d2321" -let s:gui_bg1 = "#29302d" -let s:gui_bg2 = "#353c3a" -let s:gui_bg3 = "#424a47" -let s:gui_fg3 = "#a8b0ad" -let s:gui_fg2 = "#b7c0bc" -let s:gui_fg1 = "#c7d0cc" -let s:gui_fg0 = "#d7e0dd" -let s:gui_red = "#e95949" -let s:gui_ora = "#ca791c" -let s:gui_yel = "#989250" -let s:gui_gre = "#5da268" -let s:gui_cya = "#5da268" -let s:gui_blu = "#658ed9" -let s:gui_vio = "#658ed9" -let s:gui_mag = "#e95949" - -let s:grey = "#7a827f" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/grassland-monobiome-light.statusline.vim b/apps/vim-airline/grassland-monobiome-light.statusline.vim deleted file mode 100644 index 2010528..0000000 --- a/apps/vim-airline/grassland-monobiome-light.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#c7d0cc" -let s:gui_bg1 = "#b7c0bc" -let s:gui_bg2 = "#a8b0ad" -let s:gui_bg3 = "#98a19d" -let s:gui_fg3 = "#353c3a" -let s:gui_fg2 = "#29302d" -let s:gui_fg1 = "#1d2321" -let s:gui_fg0 = "#111815" -let s:gui_red = "#b52119" -let s:gui_ora = "#905201" -let s:gui_yel = "#6a6535" -let s:gui_gre = "#377242" -let s:gui_cya = "#377242" -let s:gui_blu = "#3860ac" -let s:gui_vio = "#3860ac" -let s:gui_mag = "#b52119" - -let s:grey = "#5d6562" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/hard-grassland-monobiome-dark.statusline.vim b/apps/vim-airline/hard-grassland-monobiome-dark.statusline.vim deleted file mode 100644 index f767ab4..0000000 --- a/apps/vim-airline/hard-grassland-monobiome-dark.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#111815" -let s:gui_bg1 = "#1d2321" -let s:gui_bg2 = "#29302d" -let s:gui_bg3 = "#353c3a" -let s:gui_fg3 = "#98a19d" -let s:gui_fg2 = "#a8b0ad" -let s:gui_fg1 = "#b7c0bc" -let s:gui_fg0 = "#c7d0cc" -let s:gui_red = "#dc4134" -let s:gui_ora = "#b86b05" -let s:gui_yel = "#888346" -let s:gui_gre = "#4f925a" -let s:gui_cya = "#4f925a" -let s:gui_blu = "#557ecc" -let s:gui_vio = "#557ecc" -let s:gui_mag = "#dc4134" - -let s:grey = "#6c7470" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/hard-grassland-monobiome-light.statusline.vim b/apps/vim-airline/hard-grassland-monobiome-light.statusline.vim deleted file mode 100644 index 8f95be9..0000000 --- a/apps/vim-airline/hard-grassland-monobiome-light.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#d7e0dd" -let s:gui_bg1 = "#c7d0cc" -let s:gui_bg2 = "#b7c0bc" -let s:gui_bg3 = "#a8b0ad" -let s:gui_fg3 = "#424a47" -let s:gui_fg2 = "#353c3a" -let s:gui_fg1 = "#29302d" -let s:gui_fg0 = "#1d2321" -let s:gui_red = "#ca2e23" -let s:gui_ora = "#a45e00" -let s:gui_yel = "#79743d" -let s:gui_gre = "#42824e" -let s:gui_cya = "#42824e" -let s:gui_blu = "#456fbe" -let s:gui_vio = "#456fbe" -let s:gui_mag = "#ca2e23" - -let s:grey = "#6c7470" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/hard-monobiome-dark.statusline.vim b/apps/vim-airline/hard-monobiome-dark.statusline.vim deleted file mode 100644 index f948d83..0000000 --- a/apps/vim-airline/hard-monobiome-dark.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#161616" -let s:gui_bg1 = "#222222" -let s:gui_bg2 = "#2e2e2e" -let s:gui_bg3 = "#3a3a3a" -let s:gui_fg3 = "#9e9e9e" -let s:gui_fg2 = "#aeaeae" -let s:gui_fg1 = "#bebebe" -let s:gui_fg0 = "#cecece" -let s:gui_red = "#dc4134" -let s:gui_ora = "#b86b05" -let s:gui_yel = "#888346" -let s:gui_gre = "#4f925a" -let s:gui_cya = "#4f925a" -let s:gui_blu = "#557ecc" -let s:gui_vio = "#557ecc" -let s:gui_mag = "#dc4134" - -let s:grey = "#717171" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/hard-monobiome-light.statusline.vim b/apps/vim-airline/hard-monobiome-light.statusline.vim deleted file mode 100644 index 701d8eb..0000000 --- a/apps/vim-airline/hard-monobiome-light.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#dedede" -let s:gui_bg1 = "#cecece" -let s:gui_bg2 = "#bebebe" -let s:gui_bg3 = "#aeaeae" -let s:gui_fg3 = "#484848" -let s:gui_fg2 = "#3a3a3a" -let s:gui_fg1 = "#2e2e2e" -let s:gui_fg0 = "#222222" -let s:gui_red = "#ca2e23" -let s:gui_ora = "#a45e00" -let s:gui_yel = "#79743d" -let s:gui_gre = "#42824e" -let s:gui_cya = "#42824e" -let s:gui_blu = "#456fbe" -let s:gui_vio = "#456fbe" -let s:gui_mag = "#ca2e23" - -let s:grey = "#717171" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/hard-savanna-monobiome-dark.statusline.vim b/apps/vim-airline/hard-savanna-monobiome-dark.statusline.vim deleted file mode 100644 index b4cf8aa..0000000 --- a/apps/vim-airline/hard-savanna-monobiome-dark.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#181610" -let s:gui_bg1 = "#24211c" -let s:gui_bg2 = "#302e28" -let s:gui_bg3 = "#3d3a34" -let s:gui_fg3 = "#a19e97" -let s:gui_fg2 = "#b0aea6" -let s:gui_fg1 = "#c0bdb6" -let s:gui_fg0 = "#d0cec6" -let s:gui_red = "#dc4134" -let s:gui_ora = "#b86b05" -let s:gui_yel = "#888346" -let s:gui_gre = "#4f925a" -let s:gui_cya = "#4f925a" -let s:gui_blu = "#557ecc" -let s:gui_vio = "#557ecc" -let s:gui_mag = "#dc4134" - -let s:grey = "#74716a" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/hard-savanna-monobiome-light.statusline.vim b/apps/vim-airline/hard-savanna-monobiome-light.statusline.vim deleted file mode 100644 index ccf47dd..0000000 --- a/apps/vim-airline/hard-savanna-monobiome-light.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#e1ded6" -let s:gui_bg1 = "#d0cec6" -let s:gui_bg2 = "#c0bdb6" -let s:gui_bg3 = "#b0aea6" -let s:gui_fg3 = "#4a4841" -let s:gui_fg2 = "#3d3a34" -let s:gui_fg1 = "#302e28" -let s:gui_fg0 = "#24211c" -let s:gui_red = "#ca2e23" -let s:gui_ora = "#a45e00" -let s:gui_yel = "#79743d" -let s:gui_gre = "#42824e" -let s:gui_cya = "#42824e" -let s:gui_blu = "#456fbe" -let s:gui_vio = "#456fbe" -let s:gui_mag = "#ca2e23" - -let s:grey = "#74716a" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/hard-tundra-monobiome-dark.statusline.vim b/apps/vim-airline/hard-tundra-monobiome-dark.statusline.vim deleted file mode 100644 index 29a1176..0000000 --- a/apps/vim-airline/hard-tundra-monobiome-dark.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#12161b" -let s:gui_bg1 = "#1e2227" -let s:gui_bg2 = "#2a2e33" -let s:gui_bg3 = "#363b40" -let s:gui_fg3 = "#999fa5" -let s:gui_fg2 = "#a9afb5" -let s:gui_fg1 = "#b9bec5" -let s:gui_fg0 = "#c8ced5" -let s:gui_red = "#dc4134" -let s:gui_ora = "#b86b05" -let s:gui_yel = "#888346" -let s:gui_gre = "#4f925a" -let s:gui_cya = "#4f925a" -let s:gui_blu = "#557ecc" -let s:gui_vio = "#557ecc" -let s:gui_mag = "#dc4134" - -let s:grey = "#6d7278" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/hard-tundra-monobiome-light.statusline.vim b/apps/vim-airline/hard-tundra-monobiome-light.statusline.vim deleted file mode 100644 index 329eb60..0000000 --- a/apps/vim-airline/hard-tundra-monobiome-light.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#d9dfe5" -let s:gui_bg1 = "#c8ced5" -let s:gui_bg2 = "#b9bec5" -let s:gui_bg3 = "#a9afb5" -let s:gui_fg3 = "#43484e" -let s:gui_fg2 = "#363b40" -let s:gui_fg1 = "#2a2e33" -let s:gui_fg0 = "#1e2227" -let s:gui_red = "#ca2e23" -let s:gui_ora = "#a45e00" -let s:gui_yel = "#79743d" -let s:gui_gre = "#42824e" -let s:gui_cya = "#42824e" -let s:gui_blu = "#456fbe" -let s:gui_vio = "#456fbe" -let s:gui_mag = "#ca2e23" - -let s:grey = "#6d7278" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/monobiome-dark.statusline.vim b/apps/vim-airline/monobiome-dark.statusline.vim deleted file mode 100644 index 4366082..0000000 --- a/apps/vim-airline/monobiome-dark.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#222222" -let s:gui_bg1 = "#2e2e2e" -let s:gui_bg2 = "#3a3a3a" -let s:gui_bg3 = "#484848" -let s:gui_fg3 = "#aeaeae" -let s:gui_fg2 = "#bebebe" -let s:gui_fg1 = "#cecece" -let s:gui_fg0 = "#dedede" -let s:gui_red = "#e95949" -let s:gui_ora = "#ca791c" -let s:gui_yel = "#989250" -let s:gui_gre = "#5da268" -let s:gui_cya = "#5da268" -let s:gui_blu = "#658ed9" -let s:gui_vio = "#658ed9" -let s:gui_mag = "#e95949" - -let s:grey = "#808080" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/monobiome-light.statusline.vim b/apps/vim-airline/monobiome-light.statusline.vim deleted file mode 100644 index 49b681f..0000000 --- a/apps/vim-airline/monobiome-light.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#cecece" -let s:gui_bg1 = "#bebebe" -let s:gui_bg2 = "#aeaeae" -let s:gui_bg3 = "#9e9e9e" -let s:gui_fg3 = "#3a3a3a" -let s:gui_fg2 = "#2e2e2e" -let s:gui_fg1 = "#222222" -let s:gui_fg0 = "#161616" -let s:gui_red = "#b52119" -let s:gui_ora = "#905201" -let s:gui_yel = "#6a6535" -let s:gui_gre = "#377242" -let s:gui_cya = "#377242" -let s:gui_blu = "#3860ac" -let s:gui_vio = "#3860ac" -let s:gui_mag = "#b52119" - -let s:grey = "#636363" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/savanna-monobiome-dark.statusline.vim b/apps/vim-airline/savanna-monobiome-dark.statusline.vim deleted file mode 100644 index 285b124..0000000 --- a/apps/vim-airline/savanna-monobiome-dark.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#24211c" -let s:gui_bg1 = "#302e28" -let s:gui_bg2 = "#3d3a34" -let s:gui_bg3 = "#4a4841" -let s:gui_fg3 = "#b0aea6" -let s:gui_fg2 = "#c0bdb6" -let s:gui_fg1 = "#d0cec6" -let s:gui_fg0 = "#e1ded6" -let s:gui_red = "#e95949" -let s:gui_ora = "#ca791c" -let s:gui_yel = "#989250" -let s:gui_gre = "#5da268" -let s:gui_cya = "#5da268" -let s:gui_blu = "#658ed9" -let s:gui_vio = "#658ed9" -let s:gui_mag = "#e95949" - -let s:grey = "#838079" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/savanna-monobiome-light.statusline.vim b/apps/vim-airline/savanna-monobiome-light.statusline.vim deleted file mode 100644 index dbd6d61..0000000 --- a/apps/vim-airline/savanna-monobiome-light.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#d0cec6" -let s:gui_bg1 = "#c0bdb6" -let s:gui_bg2 = "#b0aea6" -let s:gui_bg3 = "#a19e97" -let s:gui_fg3 = "#3d3a34" -let s:gui_fg2 = "#302e28" -let s:gui_fg1 = "#24211c" -let s:gui_fg0 = "#181610" -let s:gui_red = "#b52119" -let s:gui_ora = "#905201" -let s:gui_yel = "#6a6535" -let s:gui_gre = "#377242" -let s:gui_cya = "#377242" -let s:gui_blu = "#3860ac" -let s:gui_vio = "#3860ac" -let s:gui_mag = "#b52119" - -let s:grey = "#66635c" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/soft-grassland-monobiome-dark.statusline.vim b/apps/vim-airline/soft-grassland-monobiome-dark.statusline.vim deleted file mode 100644 index 8fcbbe8..0000000 --- a/apps/vim-airline/soft-grassland-monobiome-dark.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#29302d" -let s:gui_bg1 = "#353c3a" -let s:gui_bg2 = "#424a47" -let s:gui_bg3 = "#505754" -let s:gui_fg3 = "#b7c0bc" -let s:gui_fg2 = "#c7d0cc" -let s:gui_fg1 = "#d7e0dd" -let s:gui_fg0 = "#e8f1ed" -let s:gui_red = "#f37060" -let s:gui_ora = "#da8934" -let s:gui_yel = "#a7a15f" -let s:gui_gre = "#6eb178" -let s:gui_cya = "#6eb178" -let s:gui_blu = "#799ee3" -let s:gui_vio = "#799ee3" -let s:gui_mag = "#f37060" - -let s:grey = "#89918e" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/soft-grassland-monobiome-light.statusline.vim b/apps/vim-airline/soft-grassland-monobiome-light.statusline.vim deleted file mode 100644 index 78760ed..0000000 --- a/apps/vim-airline/soft-grassland-monobiome-light.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#b7c0bc" -let s:gui_bg1 = "#a8b0ad" -let s:gui_bg2 = "#98a19d" -let s:gui_bg3 = "#89918e" -let s:gui_fg3 = "#29302d" -let s:gui_fg2 = "#1d2321" -let s:gui_fg1 = "#111815" -let s:gui_fg0 = "#070d0a" -let s:gui_red = "#9d1912" -let s:gui_ora = "#7c4706" -let s:gui_yel = "#5b572e" -let s:gui_gre = "#2e6337" -let s:gui_cya = "#2e6337" -let s:gui_blu = "#2d5299" -let s:gui_vio = "#2d5299" -let s:gui_mag = "#9d1912" - -let s:grey = "#505754" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/soft-monobiome-dark.statusline.vim b/apps/vim-airline/soft-monobiome-dark.statusline.vim deleted file mode 100644 index 4dd69ab..0000000 --- a/apps/vim-airline/soft-monobiome-dark.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#2e2e2e" -let s:gui_bg1 = "#3a3a3a" -let s:gui_bg2 = "#484848" -let s:gui_bg3 = "#555555" -let s:gui_fg3 = "#bebebe" -let s:gui_fg2 = "#cecece" -let s:gui_fg1 = "#dedede" -let s:gui_fg0 = "#eeeeee" -let s:gui_red = "#f37060" -let s:gui_ora = "#da8934" -let s:gui_yel = "#a7a15f" -let s:gui_gre = "#6eb178" -let s:gui_cya = "#6eb178" -let s:gui_blu = "#799ee3" -let s:gui_vio = "#799ee3" -let s:gui_mag = "#f37060" - -let s:grey = "#8f8f8f" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/soft-monobiome-light.statusline.vim b/apps/vim-airline/soft-monobiome-light.statusline.vim deleted file mode 100644 index 58a0d43..0000000 --- a/apps/vim-airline/soft-monobiome-light.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#bebebe" -let s:gui_bg1 = "#aeaeae" -let s:gui_bg2 = "#9e9e9e" -let s:gui_bg3 = "#8f8f8f" -let s:gui_fg3 = "#2e2e2e" -let s:gui_fg2 = "#222222" -let s:gui_fg1 = "#161616" -let s:gui_fg0 = "#0b0b0b" -let s:gui_red = "#9d1912" -let s:gui_ora = "#7c4706" -let s:gui_yel = "#5b572e" -let s:gui_gre = "#2e6337" -let s:gui_cya = "#2e6337" -let s:gui_blu = "#2d5299" -let s:gui_vio = "#2d5299" -let s:gui_mag = "#9d1912" - -let s:grey = "#555555" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/soft-savanna-monobiome-dark.statusline.vim b/apps/vim-airline/soft-savanna-monobiome-dark.statusline.vim deleted file mode 100644 index 0064b0a..0000000 --- a/apps/vim-airline/soft-savanna-monobiome-dark.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#302e28" -let s:gui_bg1 = "#3d3a34" -let s:gui_bg2 = "#4a4841" -let s:gui_bg3 = "#58554e" -let s:gui_fg3 = "#c0bdb6" -let s:gui_fg2 = "#d0cec6" -let s:gui_fg1 = "#e1ded6" -let s:gui_fg0 = "#f1eee6" -let s:gui_red = "#f37060" -let s:gui_ora = "#da8934" -let s:gui_yel = "#a7a15f" -let s:gui_gre = "#6eb178" -let s:gui_cya = "#6eb178" -let s:gui_blu = "#799ee3" -let s:gui_vio = "#799ee3" -let s:gui_mag = "#f37060" - -let s:grey = "#928f88" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/soft-savanna-monobiome-light.statusline.vim b/apps/vim-airline/soft-savanna-monobiome-light.statusline.vim deleted file mode 100644 index 7cf355f..0000000 --- a/apps/vim-airline/soft-savanna-monobiome-light.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#c0bdb6" -let s:gui_bg1 = "#b0aea6" -let s:gui_bg2 = "#a19e97" -let s:gui_bg3 = "#928f88" -let s:gui_fg3 = "#302e28" -let s:gui_fg2 = "#24211c" -let s:gui_fg1 = "#181610" -let s:gui_fg0 = "#0d0b06" -let s:gui_red = "#9d1912" -let s:gui_ora = "#7c4706" -let s:gui_yel = "#5b572e" -let s:gui_gre = "#2e6337" -let s:gui_cya = "#2e6337" -let s:gui_blu = "#2d5299" -let s:gui_vio = "#2d5299" -let s:gui_mag = "#9d1912" - -let s:grey = "#58554e" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/soft-tundra-monobiome-dark.statusline.vim b/apps/vim-airline/soft-tundra-monobiome-dark.statusline.vim deleted file mode 100644 index f782a85..0000000 --- a/apps/vim-airline/soft-tundra-monobiome-dark.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#2a2e33" -let s:gui_bg1 = "#363b40" -let s:gui_bg2 = "#43484e" -let s:gui_bg3 = "#51565b" -let s:gui_fg3 = "#b9bec5" -let s:gui_fg2 = "#c8ced5" -let s:gui_fg1 = "#d9dfe5" -let s:gui_fg0 = "#e9eff6" -let s:gui_red = "#f37060" -let s:gui_ora = "#da8934" -let s:gui_yel = "#a7a15f" -let s:gui_gre = "#6eb178" -let s:gui_cya = "#6eb178" -let s:gui_blu = "#799ee3" -let s:gui_vio = "#799ee3" -let s:gui_mag = "#f37060" - -let s:grey = "#8a9096" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/soft-tundra-monobiome-light.statusline.vim b/apps/vim-airline/soft-tundra-monobiome-light.statusline.vim deleted file mode 100644 index f354039..0000000 --- a/apps/vim-airline/soft-tundra-monobiome-light.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#b9bec5" -let s:gui_bg1 = "#a9afb5" -let s:gui_bg2 = "#999fa5" -let s:gui_bg3 = "#8a9096" -let s:gui_fg3 = "#2a2e33" -let s:gui_fg2 = "#1e2227" -let s:gui_fg1 = "#12161b" -let s:gui_fg0 = "#080c10" -let s:gui_red = "#9d1912" -let s:gui_ora = "#7c4706" -let s:gui_yel = "#5b572e" -let s:gui_gre = "#2e6337" -let s:gui_cya = "#2e6337" -let s:gui_blu = "#2d5299" -let s:gui_vio = "#2d5299" -let s:gui_mag = "#9d1912" - -let s:grey = "#51565b" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/tundra-monobiome-dark.statusline.vim b/apps/vim-airline/tundra-monobiome-dark.statusline.vim deleted file mode 100644 index 57502de..0000000 --- a/apps/vim-airline/tundra-monobiome-dark.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#1e2227" -let s:gui_bg1 = "#2a2e33" -let s:gui_bg2 = "#363b40" -let s:gui_bg3 = "#43484e" -let s:gui_fg3 = "#a9afb5" -let s:gui_fg2 = "#b9bec5" -let s:gui_fg1 = "#c8ced5" -let s:gui_fg0 = "#d9dfe5" -let s:gui_red = "#e95949" -let s:gui_ora = "#ca791c" -let s:gui_yel = "#989250" -let s:gui_gre = "#5da268" -let s:gui_cya = "#5da268" -let s:gui_blu = "#658ed9" -let s:gui_vio = "#658ed9" -let s:gui_mag = "#e95949" - -let s:grey = "#7b8187" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/apps/vim-airline/tundra-monobiome-light.statusline.vim b/apps/vim-airline/tundra-monobiome-light.statusline.vim deleted file mode 100644 index 2531bb8..0000000 --- a/apps/vim-airline/tundra-monobiome-light.statusline.vim +++ /dev/null @@ -1,110 +0,0 @@ -" ----------------------------------------------------------------------------- -" File: active.vim -" Description: SOLR color scheme for Airline -" Author: samgriesemer -" Source: https://github.com/samgriesemer/active -" ----------------------------------------------------------------------------- -" -> generated_color_map(s1, s2, s3) will generate colors for the airline suffixes: -" -" -> _a :: s1 -" -> _b :: s2 -" -> _c :: s3 -" -> _x :: s3 -" -> _y :: s2 -" -> _z :: s1 -" -" It simply generates a dictionary, and below we do this for several modes. - -let g:airline#themes#active#palette = {} -let s:gui_bg0 = "#c8ced5" -let s:gui_bg1 = "#b9bec5" -let s:gui_bg2 = "#a9afb5" -let s:gui_bg3 = "#999fa5" -let s:gui_fg3 = "#363b40" -let s:gui_fg2 = "#2a2e33" -let s:gui_fg1 = "#1e2227" -let s:gui_fg0 = "#12161b" -let s:gui_red = "#b52119" -let s:gui_ora = "#905201" -let s:gui_yel = "#6a6535" -let s:gui_gre = "#377242" -let s:gui_cya = "#377242" -let s:gui_blu = "#3860ac" -let s:gui_vio = "#3860ac" -let s:gui_mag = "#b52119" - -let s:grey = "#5f6469" - -" Terminal color definitions -let s:cterm00 = 0 -let s:cterm01 = 10 -let s:cterm02 = 11 -let s:cterm03 = 8 -let s:cterm04 = 12 -let s:cterm05 = 7 -let s:cterm06 = 13 -let s:cterm07 = 15 -let s:cterm08 = 1 -let s:cterm09 = 9 -let s:cterm0A = 3 -let s:cterm0B = 2 -let s:cterm0C = 6 -let s:cterm0D = 4 -let s:cterm0E = 5 -let s:cterm0F = 14 - -let M0 = airline#themes#get_highlight('Title') -let accents_group = airline#themes#get_highlight('Statement') -let modified_group = [M0[0], '', M0[2], '', ''] - -let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg']) -"let warning_group = airline#themes#get_highlight2(['Structure', 'fg'], ['Normal', 'bg']) -let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg']) - - -" status line settings -" [ guifg guibg ctermfg ctermbg ] -let s:N1 = [ s:gui_bg0, s:gui_fg3, s:cterm01, s:cterm0B ] -let s:N2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:N3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3) - -let modified_group = [ s:gui_yel, '', s:cterm01, '' ] -let warning_group = [ s:gui_gre, s:gui_bg1, s:cterm01, s:cterm0B ] -let g:airline#themes#active#palette.normal_modified = { 'airline_c': modified_group } -let g:airline#themes#active#palette.normal.airline_warning = warning_group -let g:airline#themes#active#palette.normal_modified.airline_warning = warning_group -"let g:airline#themes#active#palette.normal.airline_error = error_group -"let g:airline#themes#active#palette.normal_modified.airline_error = error_group - - -let s:I1 = [ s:gui_bg0, s:gui_gre, s:cterm01, s:cterm0D ] -let s:I2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:I3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3) - -let g:airline#themes#active#palette.insert.airline_warning = warning_group - - -let s:R1 = [ s:gui_bg0, s:gui_red, s:cterm01, s:cterm08 ] -let s:R2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:R3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3) - -let g:airline#themes#active#palette.replace.airline_warning = warning_group - - -let s:V1 = [ s:gui_bg0, s:gui_yel, s:cterm01, s:cterm0E ] -let s:V2 = [ s:gui_fg1, s:gui_bg2, s:cterm06, s:cterm02 ] -let s:V3 = [ s:gui_fg2, s:gui_bg1, s:cterm09, s:cterm01 ] -let g:airline#themes#active#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3) - -let g:airline#themes#active#palette.visual.airline_warning = warning_group - - -let s:IA1 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA2 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let s:IA3 = [ s:gui_fg2, s:gui_bg1, s:cterm05, s:cterm01 ] -let g:airline#themes#active#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3) - -let g:airline#themes#active#palette.inactive.airline_warning = warning_group diff --git a/templates/app_registry.toml b/templates/app_registry.toml new file mode 100644 index 0000000..17c7241 --- /dev/null +++ b/templates/app_registry.toml @@ -0,0 +1,3 @@ +[app.fzf] +[app.kitty] +[app.nvim] diff --git a/templates/apps/fzf/templates/active.theme b/templates/apps/fzf/templates/active.theme new file mode 100644 index 0000000..f59cf12 --- /dev/null +++ b/templates/apps/fzf/templates/active.theme @@ -0,0 +1,23 @@ +export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS' + --color=fg:f{{theme.term.foreground}} + --color=fg+:f{{theme.term.selection_fg}} + --color=bg:f{{theme.term.background}} + --color=bg+:f{{theme.term.selection_bg}} + + --color=hl:f{{theme.term.normal.blue}} + --color=hl+:f{{theme.term.bright.blue}} + --color=info:f{{theme.term.normal.yellow}} + --color=marker:f{{theme.term.bright.green}} + + --color=prompt:f{{theme.term.normal.red}} + --color=spinner:f{{theme.term.normal.yellow}} + --color=pointer:f{{theme.term.normal.red}} + --color=header:f{{theme.term.bright.green}} + + --color=border:f{{theme.term.selection_bg}} + --color=label:#aeaeae + --color=query:f{{theme.term.foreground}} + + --preview-window="border-bold" --prompt="> " --marker=">" --pointer="◆" + --separator="" --scrollbar="│"' + diff --git a/templates/apps/kitty/templates/active.theme b/templates/apps/kitty/templates/active.theme new file mode 100644 index 0000000..52c8f8c --- /dev/null +++ b/templates/apps/kitty/templates/active.theme @@ -0,0 +1,41 @@ +# base settings +background f{{theme.term.background}} +foreground f{{theme.term.foreground}} + +selection_background f{{theme.term.selection_bg}} +selection_foreground f{{theme.term.selection_fg}} + +cursor f{{theme.term.cursor}} +cursor_text f{{theme.term.cursor_text}} + +# black +color0 f{{theme.term.normal.black}} +color8 f{{theme.term.bright.black}} + +# red +color1 f{{theme.term.normal.red}} +color9 f{{theme.term.bright.red}} + +# green +color2 f{{theme.term.normal.green}} +color10 f{{theme.term.bright.green}} + +# yellow +color3 f{{theme.term.normal.yellow}} +color11 f{{theme.term.bright.yellow}} + +# blue +color4 f{{theme.term.normal.blue}} +color12 f{{theme.term.bright.blue}} + +# magenta (red) +color5 f{{theme.term.normal.magenta}} +color13 f{{theme.term.bright.magenta}} + +# cyan (blue) +color6 f{{theme.term.normal.cyan}} +color14 f{{theme.term.bright.cyan}} + +## white +color7 f{{theme.term.normal.white}} +color15 f{{theme.term.bright.white}} diff --git a/templates/apps/nvim/templates/theme.vim b/templates/apps/nvim/templates/theme.vim new file mode 100644 index 0000000..1232929 --- /dev/null +++ b/templates/apps/nvim/templates/theme.vim @@ -0,0 +1,995 @@ +" vi:syntax=vim +" +" Top-level remarks: +" +" - `hi` sets highlight colors for syntax groups, allowing one to specify fg and bg colors +" for GUI and terminal Vim. +" - `link` allows for linking one syntax group to another, reusing the same color +" settings. Language-specific groups can then point to one of the base color highlight +" groups, for example, without needing to repeat the raw color values. +" +" There are several kinds of syntax identifiers: +" +" - Vim/editor related (e.g., Normal, Folded): these control colors of central Vim +" elements, like whitespace, bold text, the foldcolumn, etc +" - Generic syntax identifiers (e.g., Boolean, Conditional): these are key groups for +" syntax elements that various language syntax files link to. For instance, Python +" syntax files might have specific patterns that match function keywords like "def," and +" the resulting syntax region can be highlighted by linking it to the core "Function" +" highlight identifier. +" - Treesitter-based identifiers (e.g., @variable, @boolean): highlight groups for +" treesitter-based syntax highlighting, which can replace regex-based matching when +" enabled for richer (and often faster) highlighting. These groups can be linked to the +" core identifiers like any other language. +" +" *Note*: each of these identifiers can add a lang-specific suffix to style those groups +" as they apply to particular languages. For ex, `@boolean.python ThemeRed` would style +" Python booleans red, while the lang-agnostic `@boolean` definition remains. +" - Plugin-oriented identifiers (e.g., SpellBad, ErrorFloat): these are groups mostly core +" to vim/nvim, but often appear only in the context of plugins or certain modules (like +" LSP). For instance, ErrorFloat styles floating windows that might be drawn by nvim's +" built-in LSP hover info. + +" GUI color definitions +let s:gui00 = "f{{theme.vim.bg0}}" +let g:base16_gui00 = "f{{theme.vim.bg0}}" +let s:gui01 = "f{{theme.vim.bg1}}" +let g:base16_gui01 = "f{{theme.vim.bg1}}" +let s:gui02 = "f{{theme.vim.bg2}}" +let g:base16_gui02 = "f{{theme.vim.bg2}}" +let s:gui03 = "f{{theme.vim.bg3}}" +let g:base16_gui03 = "f{{theme.vim.bg3}}" +let s:gui04 = "f{{theme.vim.fg3}}" +let g:base16_gui04 = "f{{theme.vim.fg3}}" +let s:gui05 = "f{{theme.vim.fg2}}" +let g:base16_gui05 = "f{{theme.vim.fg2}}" +let s:gui06 = "f{{theme.vim.fg1}}" +let g:base16_gui06 = "f{{theme.vim.fg1}}" +let s:gui07 = "f{{theme.vim.fg0}}" +let g:base16_gui07 = "f{{theme.vim.fg0}}" +let s:gui08 = "f{{theme.vim.red}}" +let g:base16_gui08 = "f{{theme.vim.red}}" +let s:gui09 = "f{{theme.vim.orange}}" +let g:base16_gui09 = "f{{theme.vim.orange}}" +let s:gui0A = "f{{theme.vim.yellow}}" +let g:base16_gui0A = "f{{theme.vim.yellow}}" +let s:gui0B = "f{{theme.vim.green}}" +let g:base16_gui0B = "f{{theme.vim.green}}" +let s:gui0C = "f{{theme.vim.cyan}}" +let g:base16_gui0C = "f{{theme.vim.cyan}}" +let s:gui0D = "f{{theme.vim.blue}}" +let g:base16_gui0D = "f{{theme.vim.blue}}" +let s:gui0E = "f{{theme.vim.violet}}" +let g:base16_gui0E = "f{{theme.vim.violet}}" +let s:gui0F = "f{{theme.vim.magenta}}" +let g:base16_gui0F = "f{{theme.vim.magenta}}" + +let s:grey = "f{{theme.vim.grey}}" + +" Terminal color definitions +let s:cterm00 = "00" +let g:base16_cterm00 = "00" +let s:cterm03 = "08" +let g:base16_cterm03 = "08" +let s:cterm05 = "07" +let g:base16_cterm05 = "07" +let s:cterm07 = "15" +let g:base16_cterm07 = "15" +let s:cterm08 = "01" +let g:base16_cterm08 = "01" +let s:cterm0A = "03" +let g:base16_cterm0A = "03" +let s:cterm0B = "02" +let g:base16_cterm0B = "02" +let s:cterm0C = "06" +let g:base16_cterm0C = "06" +let s:cterm0D = "04" +let g:base16_cterm0D = "04" +let s:cterm0E = "05" +let g:base16_cterm0E = "05" + +let s:cterm01 = "10" +let g:base16_cterm01 = "10" +let s:cterm02 = "11" +let g:base16_cterm02 = "11" +let s:cterm04 = "12" +let g:base16_cterm04 = "12" +let s:cterm06 = "13" +let g:base16_cterm06 = "13" +let s:cterm09 = "09" +let g:base16_cterm09 = "09" +let s:cterm0F = "14" +let g:base16_cterm0F = "14" + +" Neovim terminal colours +if has("nvim") + let g:terminal_color_0 = "f{{theme.vim.bg0}}" + let g:terminal_color_1 = "f{{theme.vim.red}}" + let g:terminal_color_2 = "f{{theme.vim.green}}" + let g:terminal_color_3 = "f{{theme.vim.yellow}}" + let g:terminal_color_4 = "f{{theme.vim.blue}}" + let g:terminal_color_5 = "f{{theme.vim.violet}}" + let g:terminal_color_6 = "f{{theme.vim.cyan}}" + let g:terminal_color_7 = "f{{theme.vim.fg2}}" + let g:terminal_color_8 = "f{{theme.vim.bg3}}" + let g:terminal_color_9 = "f{{theme.vim.red}}" + let g:terminal_color_10 = "f{{theme.vim.green}}" + let g:terminal_color_11 = "f{{theme.vim.yellow}}" + let g:terminal_color_12 = "f{{theme.vim.blue}}" + let g:terminal_color_13 = "f{{theme.vim.violet}}" + let g:terminal_color_14 = "f{{theme.vim.cyan}}" + let g:terminal_color_15 = "f{{theme.vim.fg0}}" + let g:terminal_color_background = g:terminal_color_0 + let g:terminal_color_foreground = g:terminal_color_5 + + if &background == "light" + let g:terminal_color_background = g:terminal_color_7 + let g:terminal_color_foreground = g:terminal_color_2 + endif + +elseif has("terminal") + let g:terminal_ansi_colors = [ + \ "f{{theme.vim.bg0}}", + \ "f{{theme.vim.red}}", + \ "f{{theme.vim.green}}", + \ "f{{theme.vim.yellow}}", + \ "f{{theme.vim.blue}}", + \ "f{{theme.vim.violet}}", + \ "f{{theme.vim.cyan}}", + \ "f{{theme.vim.fg2}}", + \ "f{{theme.vim.bg3}}", + \ "f{{theme.vim.red}}", + \ "f{{theme.vim.green}}", + \ "f{{theme.vim.yellow}}", + \ "f{{theme.vim.blue}}", + \ "f{{theme.vim.violet}}", + \ "f{{theme.vim.cyan}}", + \ "f{{theme.vim.fg0}}", + \ ] +endif + +let s:guibg = s:gui00 +let s:ctermbg = s:cterm00 + +" Theme setup +hi clear +syntax reset +let g:colors_name = "active" + +" Highlighting function +" Optional variables are attributes and guisp +function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...) + " For a given syntax group, sets the GUI and terminal foreground and backgrounds + " Optional parameters are interpreted as `attr` and `guisp`, the first of which appears + " to be a modifier for the group (e.g., bold, italic), and `guisp` appears to be + " 'special' colors used for underlines in the GUI. + let l:attr = get(a:, 1, "") + let l:guisp = get(a:, 2, "") + + " See :help highlight-guifg + let l:gui_special_names = ["NONE", "bg", "background", "fg", "foreground"] + + if a:guifg != "" + if index(l:gui_special_names, a:guifg) >= 0 + exec "hi " . a:group . " guifg=" . a:guifg + else + exec "hi " . a:group . " guifg=" . a:guifg + endif + endif + + if a:guibg != "" + if index(l:gui_special_names, a:guibg) >= 0 + exec "hi " . a:group . " guibg=" . a:guibg + else + exec "hi " . a:group . " guibg=" . a:guibg + endif + endif + + if a:ctermfg != "" + exec "hi " . a:group . " ctermfg=" . a:ctermfg + endif + + if a:ctermbg != "" + exec "hi " . a:group . " ctermbg=" . a:ctermbg + endif + + if l:attr != "" + exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr + endif + + if l:guisp != "" + if index(l:gui_special_names, l:guisp) >= 0 + exec "hi " . a:group . " guisp=" . l:guisp + else + exec "hi " . a:group . " guisp=" . l:guisp + endif + endif +endfunction + + +fun hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp) +endfun + + +" color groups for interpretability +call hi("ThemeBg0", s:gui00, "", s:cterm00, "", "", "") +call hi("ThemeBg1", s:gui01, "", s:cterm01, "", "", "") +call hi("ThemeBg2", s:gui02, "", s:cterm02, "", "", "") +call hi("ThemeBg3", s:gui03, "", s:cterm03, "", "", "") +call hi("ThemeFg3", s:gui04, "", s:cterm04, "", "", "") +call hi("ThemeFg2", s:gui05, "", s:cterm05, "", "", "") +call hi("ThemeFg1", s:gui06, "", s:cterm06, "", "", "") +call hi("ThemeFg0", s:gui07, "", s:cterm07, "", "", "") + +call hi("ThemeBg0bold", s:gui00, "", s:cterm00, "", "bold", "") +call hi("ThemeBg1bold", s:gui01, "", s:cterm01, "", "bold", "") +call hi("ThemeBg2bold", s:gui02, "", s:cterm02, "", "bold", "") +call hi("ThemeBg3bold", s:gui03, "", s:cterm03, "", "bold", "") +call hi("ThemeFg3bold", s:gui04, "", s:cterm04, "", "bold", "") +call hi("ThemeFg2bold", s:gui05, "", s:cterm05, "", "bold", "") +call hi("ThemeFg1bold", s:gui06, "", s:cterm06, "", "bold", "") +call hi("ThemeFg0bold", s:gui07, "", s:cterm07, "", "bold", "") + +call hi("ThemeBg0Italic", s:gui00, "", s:cterm00, "", "italic", "") +call hi("ThemeBg1Italic", s:gui01, "", s:cterm01, "", "italic", "") +call hi("ThemeBg2Italic", s:gui02, "", s:cterm02, "", "italic", "") +call hi("ThemeBg3Italic", s:gui03, "", s:cterm03, "", "italic", "") +call hi("ThemeFg3Italic", s:gui04, "", s:cterm04, "", "italic", "") +call hi("ThemeFg2Italic", s:gui05, "", s:cterm05, "", "italic", "") +call hi("ThemeFg1Italic", s:gui06, "", s:cterm06, "", "italic", "") +call hi("ThemeFg0Italic", s:gui07, "", s:cterm07, "", "italic", "") + +call hi("ThemeRed", s:gui08, "", s:cterm08, "", "", "") +call hi("ThemeOrange", s:gui09, "", s:cterm09, "", "", "") +call hi("ThemeYellow", s:gui0A, "", s:cterm0A, "", "", "") +call hi("ThemeGreen", s:gui0B, "", s:cterm0B, "", "", "") +call hi("ThemeCyan", s:gui0C, "", s:cterm0C, "", "", "") +call hi("ThemeBlue", s:gui0D, "", s:cterm0D, "", "", "") +call hi("ThemeViolet", s:gui0E, "", s:cterm0E, "", "", "") +call hi("ThemeMagenta", s:gui0F, "", s:cterm0F, "", "", "") + +call hi("ThemeRedNone", s:gui08, "", s:cterm08, "", "NONE", "") +call hi("ThemeOrangeNone", s:gui09, "", s:cterm09, "", "NONE", "") +call hi("ThemeYellowNone", s:gui0A, "", s:cterm0A, "", "NONE", "") +call hi("ThemeGreenNone", s:gui0B, "", s:cterm0B, "", "NONE", "") +call hi("ThemeCyanNone", s:gui0C, "", s:cterm0C, "", "NONE", "") +call hi("ThemeBlueNone", s:gui0D, "", s:cterm0D, "", "NONE", "") +call hi("ThemeVioletNone", s:gui0E, "", s:cterm0E, "", "NONE", "") +call hi("ThemeMagentaNone", s:gui0F, "", s:cterm0F, "", "NONE", "") + +call hi("ThemeRedBold", s:gui08, "", s:cterm08, "", "bold", "") +call hi("ThemeOrangeBold", s:gui09, "", s:cterm09, "", "bold", "") +call hi("ThemeYellowBold", s:gui0A, "", s:cterm0A, "", "bold", "") +call hi("ThemeGreenBold", s:gui0B, "", s:cterm0B, "", "bold", "") +call hi("ThemeCyanBold", s:gui0C, "", s:cterm0C, "", "bold", "") +call hi("ThemeBlueBold", s:gui0D, "", s:cterm0D, "", "bold", "") +call hi("ThemeVioletBold", s:gui0E, "", s:cterm0E, "", "bold", "") +call hi("ThemeMagentaBold", s:gui0F, "", s:cterm0F, "", "bold", "") + +call hi("ThemeRedItalic", s:gui08, "", s:cterm08, "", "italic", "") +call hi("ThemeOrangeItalic", s:gui09, "", s:cterm09, "", "italic", "") +call hi("ThemeYellowItalic", s:gui0A, "", s:cterm0A, "", "italic", "") +call hi("ThemeGreenItalic", s:gui0B, "", s:cterm0B, "", "italic", "") +call hi("ThemeCyanItalic", s:gui0C, "", s:cterm0C, "", "italic", "") +call hi("ThemeBlueItalic", s:gui0D, "", s:cterm0D, "", "italic", "") +call hi("ThemeVioletItalic", s:gui0E, "", s:cterm0E, "", "italic", "") +call hi("ThemeMagentaItalic", s:gui0F, "", s:cterm0F, "", "italic", "") + +call hi("ThemeRedBoldItalic", s:gui08, "", s:cterm08, "", "bold,italic", "") +call hi("ThemeOrangeBoldItalic", s:gui09, "", s:cterm09, "", "bold,italic", "") +call hi("ThemeYellowBoldItalic", s:gui0A, "", s:cterm0A, "", "bold,italic", "") +call hi("ThemeGreenBoldItalic", s:gui0B, "", s:cterm0B, "", "bold,italic", "") +call hi("ThemeCyanBoldItalic", s:gui0C, "", s:cterm0C, "", "bold,italic", "") +call hi("ThemeBlueBoldItalic", s:gui0D, "", s:cterm0D, "", "bold,italic", "") +call hi("ThemeVioletBoldItalic", s:gui0E, "", s:cterm0E, "", "bold,italic", "") +call hi("ThemeMagentaBoldItalic", s:gui0F, "", s:cterm0F, "", "bold,italic", "") + +call hi("ThemeGrey", s:grey, "", s:cterm03, "", "", "") +call hi("ThemeGreyItalic", s:grey, "", s:cterm03, "", "italic", "") + + +" Vim editor colors +call hi("Bold", "", "", "", "", "bold", "") +call hi("Italic", "", "", "", "", "italic", "") +call hi("BoldItalic", "", "", "", "", "italic,bold", "") + +call hi("Normal", s:gui05, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("Debug", s:gui08, "", s:cterm08, "", "", "") +call hi("Directory", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Error", s:guibg, s:gui08, s:ctermbg, s:cterm08, "", "") +call hi("ErrorMsg", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("Exception", s:gui08, "", s:cterm08, "", "", "") +call hi("FoldColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("Folded", s:gui03, s:gui01, s:cterm02, s:ctermbg, "", "") +call hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") +call hi("Macro", s:gui0C, "", s:cterm0C, "", "", "") +call hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") +call hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "") +call hi("Question", s:gui0D, "", s:cterm0D, "", "", "") +call hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "") +call hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "") +call hi("TooLong", s:gui08, "", s:cterm08, "", "", "") +call hi("Underlined", "", "", "", "", "underline", "fg") +call hi("Visual", "", s:gui02, "", s:cterm02, "", "") +call hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") +call hi("WildMenu", s:guibg, s:gui06, s:ctermbg, s:cterm05, "", "") +call hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") + +"call hi("Conceal", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +hi! link Conceal ThemeBlue + +call hi("Cursor", s:gui05, s:guibg, "", "", "inverse", "") +call hi("NonText", s:gui03, "", s:cterm03, "", "", "") +call hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") +call hi("LineNr", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("SignColumn", s:gui03, s:guibg, s:cterm03, s:ctermbg, "", "") +call hi("StatusLine", s:gui07, s:gui01, s:cterm07, s:cterm01, "none", "") +call hi("StatusLineNC", s:gui06, s:gui01, s:cterm05, s:cterm01, "none", "") +call hi("VertSplit", s:gui01, s:guibg, s:cterm01, s:ctermbg, "none", "") +call hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "") +call hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") +call hi("PMenu", s:gui06, s:gui01, s:cterm06, s:cterm01, "none", "") +call hi("PMenuSel", s:gui06, s:gui02, s:cterm06, s:cterm02, "", "") +call hi("PMenuSbar", "", s:gui03, "", s:cterm03, "", "") +call hi("PMenuThumb", "", s:gui04, "", s:cterm04, "", "") +call hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") +call hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "") + +" Standard syntax +call hi("Define", s:gui0E, "", s:cterm0E, "", "none", "") +call hi("Identifier", s:gui06, "", s:cterm05, "", "none", "") +call hi("Keyword", s:gui0D, "", s:cterm0E, "", "none", "") +call hi("Todo", s:gui08, s:guibg, s:cterm08, s:ctermbg, "italic", "") + +hi! link Boolean ThemeOrange +hi! link Character ThemeRed +hi! link Comment ThemeGreyItalic +hi! link Conditional ThemeRed +hi! link Constant ThemeOrange +hi! link Delimiter ThemeFg1 +hi! link Float ThemeOrange +hi! link Function ThemeBlue +hi! link Include ThemeBlue +hi! link Constant ThemeOrange +hi! link Label ThemeOrange +hi! link Number ThemeOrange +hi! link Operator ThemeYellow +hi! link PreProc ThemeOrange +hi! link Repeat ThemeViolet +hi! link Special ThemeYellow +hi! link SpecialChar ThemeMagenta +hi! link Statement ThemeRed +hi! link StorageClass ThemeOrange +hi! link String ThemeGreen +hi! link Structure ThemeOrange +hi! link Tag ThemeOrange +hi! link Type ThemeYellow +hi! link Typedef ThemeOrange + + +" Treesitter +if has("nvim-0.8.0") + hi! link @field ThemeRed + hi! link @property ThemeRed + hi! link @namespace ThemeFg1Italic + hi! link @variable.builtin ThemeFg1Italic + hi! link @variable ThemeFg2 + hi! link @conceal ThemeBlue + + hi! link @text.uri ThemeRedItalic + hi! link @text.reference ThemeRed + + hi! link @annotation ThemeViolet + hi! link @attribute ThemeBlue + + hi! link @boolean ThemeOrange + hi! link @character ThemeRed + hi! link @character.special ThemeMagenta + hi! link @comment Comment + + hi! link @constant ThemeBlue + hi! link @constant.builtin ThemeBlue + + hi! link @constant.macro ThemeRed + + hi! link @keyword.directive.define ThemeViolet + hi! link @keyword.exception ThemeRed + + hi! link @comment.error ThemeRed + hi! link @number.float ThemeRed + hi! link @keyword.function ThemeRed + + hi! link @function ThemeBlue + hi! link @function.builtin ThemeBlue + hi! link @function.call ThemeBlue + hi! link @function.macro ThemeRed + hi! link @function.method ThemeBlue + hi! link @function.method.call ThemeBlue + + hi! link @keyword.debug ThemeRed + hi! link @keyword.conditional ThemeRed + hi! link @keyword.import ThemeViolet + hi! link @keyword.coroutine ThemeViolet + hi! link @keyword.operator ThemeYellow + hi! link @keyword.directive ThemeViolet + hi! link @keyword.repeat ThemeViolet + hi! link @keyword.storage ThemeViolet + hi! link @keyword.return ThemeRed + + hi! link @constructor ThemeBlue + hi! link @namespace.builtin ThemeViolet + + hi! link @none ThemeFg1 + hi! link @number ThemeOrange + hi! link @string ThemeGreen + + hi! link @tag ThemeRed + hi! link @tag.delimiter ThemeViolet + hi! link @tag.attribute ThemeYellow + + " affects markdown + hi! link @markup ThemeYellow + + hi! link @markup.raw ThemeGreen + hi! link @markup.raw.block.lang ThemeFg2Bold + hi! link @markup.raw.block.marker ThemeRed + "call hi("@markup.raw.block.lang", s:gui08, "#1e0000", "", s:ctermbg, "", "") + + hi! link @markup.list ThemeBlue + hi! link @markup.quote ThemeGrey + + hi! link @markup.link ThemeYellow " borders + hi! link @markup.link.text ThemeBlue + hi! link @markup.link.label ThemeYellow + hi! link @markup.link.url ThemeYellow + hi! link @markup.link.dest ThemeFg3 + + hi! link @markup.link.wiki ThemeYellow + hi! link @markup.link.wiki.text ThemeBlue + hi! link @markup.link.wiki.label ThemeYellow + + "hi! link @markup.link.label.symbol ThemeGreen + + "hi! link markdownWikiLink ThemeViolet + " + hi! link @markup.environment ThemeYellow + hi! link @markup.environment.name ThemeYellow + hi! link @markup.math ThemeYellow + hi! link @punctuation.delimiter.latex ThemeOrange + + hi! link @markup.strong Bold + hi! link @markup.emphasis Bold + hi! link @markup.strikethrough ThemeYellow + hi! link @markup.underline ThemeYellow + + hi! link @comment.info ThemeBlue + hi! link @comment.todo ThemeYellow + hi! link @comment.note ThemeBg3 + hi! link @comment.hint ThemeGreen + hi! link @comment.warning ThemeOrange + + hi! link @type ThemeYellow + hi! link @type.builtin ThemeOrange + hi! link @type.definition ThemeViolet + hi! link @type.qualifier ThemeViolet + + " Markdown + " hi! link @spell.markdown ThemeFg3 + + "call hi("@markup.heading.marker", s:gui08, "", "", s:ctermbg, "bold", "") + "hi! link @markup.heading ThemeRed + hi! link @markup.heading.marker ThemeOrange + hi! link @markup.heading.title ThemeRed "Italic + + " set this for a strong background + "call hi("@markup.heading.title", s:gui08, "#440503", "", s:ctermbg, "italic", "") + + hi! link @markup.heading.title.1 Bold + hi! link @markup.heading.title.3 Italic + "hi! link @markup.heading.4.title Italic + + " YAML + hi! link @string.yaml ThemeBlue + hi! link @punctuation.delimiter.yaml ThemeGreen + hi! link @property.yaml ThemeFg2 + + " Diff + hi! link @diff.minus ThemeRed + hi! link @diff.plus ThemeGreen + + call hi("TreesitterContext", "", s:gui00, "", "", "", "") + "hi TreesitterContextLineNumberBottom gui=underline guisp=Gray + "call hi("TreesitterContextBottom", "", "", "", "", "underline", s:gui02) + call hi("TreesitterContextSeparator", s:gui03, "", "", "", "", "") + "call hi("TreesitterContextLineNumberBottom", "", "", "", "", "underline", s:gui02) +endif + +" Standard highlights to be used by plugins +if has("patch-8.0.1038") + call hi("Deprecated", "", "", "", "", "strikethrough", "") +endif +call hi("SearchMatch", s:gui0C, "", s:cterm0C, "", "", "") + +call hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") +call hi("OkSign", s:gui0B, "", s:cterm0B, "", "", "") + +call hi("ErrorFloat", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("WarningFloat", s:gui09, s:gui01, s:cterm09, s:cterm01, "", "") +call hi("InfoFloat", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("HintFloat", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") +call hi("OkFloat", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("NormalFloat", s:gui05, s:gui01, s:cterm05, s:cterm01, "", "") + +call hi("ErrorHighlight", "", "", s:ctermbg, s:cterm08, "underline", s:gui08) +call hi("WarningHighlight", "", "", s:ctermbg, s:cterm09, "underline", s:gui09) +call hi("InfoHighlight", "", "", s:ctermbg, s:cterm0D, "underline", s:gui0D) +call hi("HintHighlight", "", "", s:ctermbg, s:cterm0C, "underline", s:gui0C) +call hi("OkHighlight", "", "", s:ctermbg, s:cterm0B, "underline", s:gui0B) + +call hi("SpellBad", "", "", s:ctermbg, s:cterm08, "undercurl", s:gui08) +call hi("SpellLocal", "", "", s:ctermbg, s:cterm0C, "undercurl", s:gui0C) +call hi("SpellCap", "", "", s:ctermbg, s:cterm0D, "undercurl", s:gui0D) +call hi("SpellRare", "", "", s:ctermbg, s:cterm0E, "undercurl", s:gui0E) + +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") + +" LSP +if has("nvim") + hi! link DiagnosticError ErrorSign + hi! link DiagnosticWarn WarningSign + hi! link DiagnosticInfo InfoSign + hi! link DiagnosticHint HintSign + hi! link DiagnosticOk OkSign + + hi! link DiagnosticFloatingError ErrorFloat + hi! link DiagnosticFloatingWarn WarningFloat + hi! link DiagnosticFloatingInfo InfoFloat + hi! link DiagnosticFloatingHint HintFloat + hi! link DiagnosticFloatingOk OkFloat + + hi! link DiagnosticUnderlineError ErrorHighlight + hi! link DiagnosticUnderlineWarn WarningHighlight + hi! link DiagnosticUnderlineInfo InfoHighlight + hi! link DiagnosticUnderlineHint HintHighlight + hi! link DiagnosticUnderlineOk OkHighlight + + hi! link DiagnosticsVirtualTextError ErrorSign + hi! link DiagnosticsVirtualTextWarning WarningSign + hi! link DiagnosticsVirtualTextInfo InfoSign + hi! link DiagnosticsVirtualTextHint HintSign + hi! link DiagnosticsVirtualTextOk OkSign + + " Remove untill endif on next nvim release + hi! link LspDiagnosticsSignError ErrorSign + hi! link LspDiagnosticsSignWarning WarningSign + hi! link LspDiagnosticsSignInfo InfoSign + hi! link LspDiagnosticsSignHint HintSign + + hi! link LspDiagnosticsVirtualTextError ErrorSign + hi! link LspDiagnosticsVirtualTextWarning WarningSign + hi! link LspDiagnosticsVirtualTextInfo InfoSign + hi! link LspDiagnosticsVirtualTextHint HintSign + + hi! link LspDiagnosticsFloatingError ErrorFloat + hi! link LspDiagnosticsFloatingWarning WarningFloat + hi! link LspDiagnosticsFloatingInfo InfoFloat + hi! link LspDiagnosticsFloatingHint HintFloat + + hi! link LspDiagnosticsUnderlineError ErrorHighlight + hi! link LspDiagnosticsUnderlineWarning WarningHighlight + hi! link LspDiagnosticsUnderlineInfo InfoHighlight + hi! link LspDiagnosticsUnderlineHint HintHighlight + + hi! link LspReferenceText ReferenceText + hi! link LspReferenceRead ReferenceRead + hi! link LspReferenceWrite ReferenceWrite +endif + +" " +" LANGUAGES +" " + +" C +call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") +call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") + +" C# +call hi("csClass", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "") +call hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csType", s:gui08, "", s:cterm08, "", "", "") +call hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") +call hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") + +" Clap +hi! link ClapInput ColorColumn +hi! link ClapSpinner ColorColumn +hi! link ClapDisplay Default +hi! link ClapPreview ColorColumn +hi! link ClapCurrentSelection CursorLine +hi! link ClapNoMatchesFound ErrorFloat + +" Coc +hi! link CocErrorSign ErrorSign +hi! link CocWarningSign WarningSign +hi! link CocInfoSign InfoSign +hi! link CocHintSign HintSign + +hi! link CocErrorFloat ErrorFloat +hi! link CocWarningFloat WarningFloat +hi! link CocInfoFloat InfoFloat +hi! link CocHintFloat HintFloat + +hi! link CocErrorHighlight ErrorHighlight +hi! link CocWarningHighlight WarningHighlight +hi! link CocInfoHighlight InfoHighlight +hi! link CocHintHighlight HintHighlight + +hi! link CocSem_angle Keyword +hi! link CocSem_annotation Keyword +hi! link CocSem_attribute Type +hi! link CocSem_bitwise Keyword +hi! link CocSem_boolean Boolean +hi! link CocSem_brace Normal +hi! link CocSem_bracket Normal +hi! link CocSem_builtinAttribute Type +hi! link CocSem_builtinType Type +hi! link CocSem_character String +hi! link CocSem_class Structure +hi! link CocSem_colon Normal +hi! link CocSem_comma Normal +hi! link CocSem_comment Comment +hi! link CocSem_comparison Keyword +hi! link CocSem_concept Keyword +hi! link CocSem_constParameter Identifier +hi! link CocSem_dependent Keyword +hi! link CocSem_dot Keyword +hi! link CocSem_enum Structure +hi! link CocSem_enumMember Constant +hi! link CocSem_escapeSequence Type +hi! link CocSem_event Identifier +hi! link CocSem_formatSpecifier Type +hi! link CocSem_function Function +hi! link CocSem_interface Type +hi! link CocSem_keyword Keyword +hi! link CocSem_label Keyword +hi! link CocSem_logical Keyword +hi! link CocSem_macro Macro +hi! link CocSem_method Function +hi! link CocSem_modifier Keyword +hi! link CocSem_namespace Identifier +hi! link CocSem_number Number +hi! link CocSem_operator Operator +hi! link CocSem_parameter Identifier +hi! link CocSem_parenthesis Normal +hi! link CocSem_property Identifier +hi! link CocSem_punctuation Keyword +hi! link CocSem_regexp Type +hi! link CocSem_selfKeyword Constant +hi! link CocSem_semicolon Normal +hi! link CocSem_string String +hi! link CocSem_struct Structure +hi! link CocSem_type Type +hi! link CocSem_typeAlias Type +hi! link CocSem_typeParameter Type +hi! link CocSem_unknown Normal +hi! link CocSem_variable Identifier + +call hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call hi("CocSessionsName", s:gui06, "", s:cterm05, "", "", "") + +" CSS +hi! link cssBraces ThemeBlue +hi! link cssFunctionName ThemeYellow +hi! link cssIdentifier ThemeOrange +hi! link cssClassName ThemeGreen +hi! link cssColor ThemeBlue +hi! link cssSelectorOp ThemeBlue +hi! link cssSelectorOp2 ThemeBlue +hi! link cssImportant ThemeGreen +hi! link cssVendor ThemeFg1 + +hi! link cssTextProp ThemeCyan +hi! link cssAnimationProp ThemeCyan +hi! link cssUIProp ThemeYellow +hi! link cssTransformProp ThemeCyan +hi! link cssTransitionProp ThemeCyan +hi! link cssPrintProp ThemeCyan +hi! link cssPositioningProp ThemeYellow +hi! link cssBoxProp ThemeCyan +hi! link cssFontDescriptorProp ThemeCyan +hi! link cssFlexibleBoxProp ThemeCyan +hi! link cssBorderOutlineProp ThemeCyan +hi! link cssBackgroundProp ThemeCyan +hi! link cssMarginProp ThemeCyan +hi! link cssListProp ThemeCyan +hi! link cssTableProp ThemeCyan +hi! link cssFontProp ThemeCyan +hi! link cssPaddingProp ThemeCyan +hi! link cssDimensionProp ThemeCyan +hi! link cssRenderProp ThemeCyan +hi! link cssColorProp ThemeCyan +hi! link cssGeneratedContentProp ThemeCyan + + +" CMP +hi! link CmpItemAbbrDeprecated Deprecated +hi! link CmpItemAbbrMatch SearchMatch +hi! link CmpItemAbbrMatchFuzzy SearchMatch +hi! link CmpItemKindClass Type +hi! link CmpItemKindColor Keyword +hi! link CmpItemKindConstant Constant +hi! link CmpItemKindConstructor Special +hi! link CmpItemKindEnum Type +hi! link CmpItemKindEnumMember Constant +hi! link CmpItemKindEvent Identifier +hi! link CmpItemKindField Character +hi! link CmpItemKindFile Directory +hi! link CmpItemKindFolder Directory +hi! link CmpItemKindFunction Function +hi! link CmpItemKindInterface Type +hi! link CmpItemKindKeyword Keyword +hi! link CmpItemKindMethod Function +hi! link CmpItemKindModule Namespace +hi! link CmpItemKindOperator Operator +hi! link CmpItemKindProperty Identifier +hi! link CmpItemKindReference Character +hi! link CmpItemKindSnippet String +hi! link CmpItemKindStruct Type +hi! link CmpItemKindText Text +hi! link CmpItemKindUnit Namespace +hi! link CmpItemKindValue Comment +hi! link CmpItemKindVariable Identifier + +if has("nvim-0.8.0") + hi! link CmpItemKindField @field + hi! link CmpItemKindProperty @property +endif + +" Diff +call hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call hi("DiffChange", s:gui06, s:gui01, s:cterm05, s:cterm01, "", "") +call hi("DiffDelete", s:gui02, s:guibg, s:cterm02, s:ctermbg, "", "") +call hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call hi("DiffAdded", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffFile", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") +call hi("DiffNewFile", s:gui0B, s:guibg, s:cterm0B, s:ctermbg, "", "") +call hi("DiffLine", s:gui0D, s:guibg, s:cterm0D, s:ctermbg, "", "") +call hi("DiffRemoved", s:gui08, s:guibg, s:cterm08, s:ctermbg, "", "") + +" Git +call hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "") +call hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "") +call hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "") +call hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "") +call hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "") +call hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "") +call hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "") +call hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") +call hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") + +" GitGutter +hi! link GitGutterAdd GitAddSign +hi! link GitGutterChange GitChangeSign +hi! link GitGutterDelete GitDeleteSign +hi! link GitGutterChangeDelete GitChangeDeleteSign + +" indent-blankline (nvim) +if has("nvim") + call hi("@ibl.indent.char.1",s:gui01, "", s:cterm01, "", "", "") +endif + +" HTML +call hi("htmlBold", s:gui07, "", s:cterm0A, "", "bold", "") +call hi("htmlItalic", s:gui06, "", s:cterm0E, "", "italic", "") +call hi("htmlEndTag", s:gui06, "", s:cterm05, "", "", "") +call hi("htmlTag", s:gui06, "", s:cterm05, "", "", "") + +" JavaScript +call hi("javaScript", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptBraces", s:gui06, "", s:cterm05, "", "", "") +call hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "") +" pangloss/vim-javascript +call hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsThis", s:gui08, "", s:cterm08, "", "", "") +call hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "") +call hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "") +call hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "") +call hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "") +call hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "") + +" Mail +call hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "") +call hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "") +call hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "") +call hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "") +call hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "") +call hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "") + +" Markdown +call hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownError", s:gui06, s:guibg, s:cterm05, s:ctermbg, "", "") +call hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "") +call hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "") + +" Matchup +call hi("MatchWord", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "underline", "") + +" NERDTree +call hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "") +call hi("NERDTreeExecFile", s:gui06, "", s:cterm05, "", "", "") + +" Netrw +hi! link netrwDir ThemeCyan +hi! link netrwClassify ThemeCyan +hi! link netrwLink ThemeBg3 +hi! link netrwSymLink ThemeFg1 +hi! link netrwExe ThemeYellow +hi! link netrwComment ThemeBg3 +hi! link netrwList ThemeBlue +hi! link netrwHelpCmd ThemeCyan +hi! link netrwCmdSep ThemeFg3 +hi! link netrwVersion ThemeGreen + +" PHP +call hi("phpMemberSelector", s:gui06, "", s:cterm05, "", "", "") +call hi("phpComparison", s:gui06, "", s:cterm05, "", "", "") +call hi("phpParent", s:gui06, "", s:cterm05, "", "", "") +call hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "") + +" Python +"call hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "") +"call hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "") + +" hi! link pythonBuiltin ThemeCyan +" hi! link pythonBuiltinObj ThemeCyan +" hi! link pythonBuiltinFunc ThemeGreen +" hi! link pythonFunction Function +" hi! link pythonDecorator ThemeYellow +" hi! link pythonDecoratorName ThemeYellow +" hi! link pythonTripleQuotes ThemeGreenItalic +" hi! link pythonInclude ThemeBlue +" hi! link pythonImport ThemeBlue +" hi! link pythonRun ThemeBlue +" hi! link pythonCoding ThemeBlue +" hi! link pythonOperator ThemeRed +" hi! link pythonException ThemeRed +" hi! link pythonExceptions ThemeYellow +" hi! link pythonBoolean ThemeYellow +" hi! link pythonDot ThemeFg3 +" hi! link pythonConditional ThemeCyan +" hi! link pythonRepeat ThemeRed +" hi! link pythonDottedName ThemeGreen + + +" Ruby +call hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "") +call hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "") +call hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "") +call hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "") +call hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "") +call hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "") + +" SASS +call hi("sassidChar", s:gui08, "", s:cterm08, "", "", "") +call hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "") +call hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") +call hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") + +" Signify +hi! link SignifySignAdd GitAddSign +hi! link SignifySignChange GitChangeSign +hi! link SignifySignDelete GitDeleteSign + +" Startify +call hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "") +call hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "") +call hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "") +call hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "") +call hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "") +call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") +call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") + +" Java +call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") + +" JSON +hi! link jsonKeyword ThemeGreen +hi! link jsonQuote ThemeGreen +hi! link jsonBraces ThemeFg1 +hi! link jsonString ThemeFg1 + +" Markdown +hi! link markdownH1 ThemeRedBold +hi! link markdownH2 ThemeRed +hi! link markdownH3 ThemeRed +hi! link markdownH4 ThemeRed +hi! link markdownH5 ThemeRed +hi! link markdownH6 ThemeRed + +hi! link markdownCode ThemeYellow +hi! link markdownCodeBlock ThemeYellow +hi! link markdownCodeDelimiter ThemeYellow + +hi! link markdownBlockquote ThemeGrey +hi! link markdownListMarker ThemeBlue +hi! link markdownOrderedListMarker ThemeBlue +hi! link markdownRule ThemeGrey +hi! link markdownHeadingRule ThemeGrey + +hi! link markdownUrlDelimiter ThemeFg3 +hi! link markdownLinkDelimiter ThemeFg3 +hi! link markdownLinkTextDelimiter ThemeFg3 +hi! link markdownHeadingDelimiter ThemeOrange +hi! link markdownUrlTitleDelimiter ThemeGreen + +hi! link markdownLink ThemeGreen +hi! link markdownWikiLink ThemeViolet +"hi! link markdownUrl ThemeOrange +hi! link markdownUrl ThemeRed +hi! link markdownUrlProtocol ThemeGreenItalic +hi! link markdownInlineUrl ThemeOrange + +hi! link markdownLinkText ThemeViolet +hi! link markdownIdDeclaration markdownLinkText + +hi! link pandocAtxHeader ThemeRed +hi! link pandocAtxStart ThemeOrange + + +"call s:HL('markdownItalic', s:fg3, s:none, s:italic) +"call s:HL('markdownLinkText', s:gray, s:none, s:underline) + + +" Remove functions +delf hi + +" Remove color variables +unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F s:guibg +unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F s:ctermbg + diff --git a/templates/groups/palette/monobiome.toml b/templates/groups/palette/monobiome.toml new file mode 100644 index 0000000..6287a88 --- /dev/null +++ b/templates/groups/palette/monobiome.toml @@ -0,0 +1,219 @@ +[default] +l15 = "#0b0b0b" +l20 = "#161616" +l25 = "#222222" +l30 = "#2e2e2e" +l35 = "#3a3a3a" +l40 = "#484848" +l45 = "#555555" +l50 = "#636363" +l55 = "#717171" +l60 = "#808080" +l65 = "#8f8f8f" +l70 = "#9e9e9e" +l75 = "#aeaeae" +l80 = "#bebebe" +l85 = "#cecece" +l90 = "#dedede" +l95 = "#eeeeee" +l98 = "#f7f7f7" + +[badlands] +l15 = "#0f0909" +l20 = "#1b1413" +l25 = "#27201f" +l30 = "#332c2b" +l35 = "#403837" +l40 = "#4d4644" +l45 = "#5b5352" +l50 = "#696160" +l55 = "#786f6e" +l60 = "#877e7c" +l65 = "#968d8b" +l70 = "#a59c9a" +l75 = "#b5abaa" +l80 = "#c5bbba" +l85 = "#d5cbca" +l90 = "#e5dbda" +l95 = "#f6ecea" +l98 = "#fef4f2" + +[chaparral] +l15 = "#0f0a07" +l20 = "#1a1511" +l25 = "#26211c" +l30 = "#322d28" +l35 = "#3f3935" +l40 = "#4c4642" +l45 = "#5a544f" +l50 = "#68625d" +l55 = "#76706b" +l60 = "#857f7a" +l65 = "#948e88" +l70 = "#a49d98" +l75 = "#b3ada7" +l80 = "#c3bcb7" +l85 = "#d3ccc7" +l90 = "#e4ddd7" +l95 = "#f4ede7" +l98 = "#fcf5ef" + +[savanna] +l15 = "#0c0b06" +l20 = "#171611" +l25 = "#22221c" +l30 = "#2f2e28" +l35 = "#3b3b34" +l40 = "#484841" +l45 = "#56564f" +l50 = "#64645d" +l55 = "#72726b" +l60 = "#818179" +l65 = "#909088" +l70 = "#9f9f97" +l75 = "#afaea7" +l80 = "#bfbeb6" +l85 = "#cfcec6" +l90 = "#dfded6" +l95 = "#efefe7" +l98 = "#f8f7ef" + +[grassland] +l15 = "#080c09" +l20 = "#131713" +l25 = "#1e231f" +l30 = "#2a2f2b" +l35 = "#373c37" +l40 = "#444944" +l45 = "#515752" +l50 = "#5f6560" +l55 = "#6d736e" +l60 = "#7c827d" +l65 = "#8b918b" +l70 = "#9aa09b" +l75 = "#a9b0aa" +l80 = "#b9c0ba" +l85 = "#c9d0ca" +l90 = "#d9e0da" +l95 = "#eaf1ea" +l98 = "#f2f9f3" + +[tundra] +l15 = "#090b10" +l20 = "#13161b" +l25 = "#1f2227" +l30 = "#2b2e33" +l35 = "#373b40" +l40 = "#44484e" +l45 = "#52555c" +l50 = "#60636a" +l55 = "#6e7278" +l60 = "#7d8087" +l65 = "#8b8f96" +l70 = "#9b9fa5" +l75 = "#aaaeb5" +l80 = "#babec5" +l85 = "#caced5" +l90 = "#dadee6" +l95 = "#eaeff6" +l98 = "#f3f7fe" + +[red] +l15 = "#1e0100" +l20 = "#300302" +l25 = "#440604" +l30 = "#590b07" +l35 = "#6e110b" +l40 = "#85160f" +l45 = "#9d1a13" +l50 = "#b42219" +l55 = "#ca2f24" +l60 = "#dc4234" +l65 = "#e95949" +l70 = "#f37060" +l75 = "#fa897a" +l80 = "#fea294" +l85 = "#febab0" +l90 = "#ffd2ca" +l95 = "#fee9e5" +l98 = "#fff4f2" + +[orange] +l15 = "#140801" +l20 = "#221203" +l25 = "#311c08" +l30 = "#42260a" +l35 = "#54310d" +l40 = "#673c0c" +l45 = "#7c4706" +l50 = "#905201" +l55 = "#a45e03" +l60 = "#b76b0c" +l65 = "#c97920" +l70 = "#d98937" +l75 = "#e79a51" +l80 = "#f1ad6f" +l85 = "#fac18f" +l90 = "#fed5b3" +l95 = "#ffead9" +l98 = "#fbf6f1" + +[yellow] +l15 = "#0c0c03" +l20 = "#181709" +l25 = "#242211" +l30 = "#312f19" +l35 = "#3e3c20" +l40 = "#4c4928" +l45 = "#5b572e" +l50 = "#6a6535" +l55 = "#79743d" +l60 = "#888346" +l65 = "#989250" +l70 = "#a7a15f" +l75 = "#b7b170" +l80 = "#c6c182" +l85 = "#d5d19a" +l90 = "#e4e1b4" +l95 = "#f2f0d2" +l98 = "#f8f8eb" + +[green] +l15 = "#010f03" +l20 = "#041c09" +l25 = "#0b2911" +l30 = "#14361a" +l35 = "#1c4524" +l40 = "#25532e" +l45 = "#2e6337" +l50 = "#377242" +l55 = "#42824e" +l60 = "#4f925a" +l65 = "#5da268" +l70 = "#6eb178" +l75 = "#80c089" +l80 = "#94cf9c" +l85 = "#a9ddaf" +l90 = "#beecc4" +l95 = "#d9f8dc" +l98 = "#edfcee" + +[blue] +l15 = "#010924" +l20 = "#041336" +l25 = "#091f49" +l30 = "#112b5d" +l35 = "#1a3771" +l40 = "#234485" +l45 = "#2d5299" +l50 = "#3860ac" +l55 = "#456fbe" +l60 = "#557ecc" +l65 = "#658ed9" +l70 = "#799ee3" +l75 = "#8daeeb" +l80 = "#a2bef2" +l85 = "#b7cff9" +l90 = "#cedffc" +l95 = "#e6efff" +l98 = "#f3f7fe" diff --git a/templates/groups/theme/badlands-monobiome-dark.toml b/templates/groups/theme/badlands-monobiome-dark.toml new file mode 100644 index 0000000..dd3491e --- /dev/null +++ b/templates/groups/theme/badlands-monobiome-dark.toml @@ -0,0 +1,87 @@ +# - META ------------------------------------- +# MONOBIOME :mode=dark :contrast=default +# BADLANDS +# +# pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 > +# abs :: min -- +15 | +30 | +40 | +50 -- +65 +# rel :: min -- +15 | +15 | +10 | +10 -- +15 +# sys :: l20 -- l35 | l50 | l60 | l70 -- l85 +# app :: l25 -- l40 | l55 | l65 | l75 -- l90 +# -------------------------------------------- + +# - SYS -------------------------------------- +bg0 = "f{{badlands.l20}}" # < MIN > +bg1 = "f{{badlands.l25}}" # < +05 > +bg2 = "f{{badlands.l30}}" # < +10 > +bg3 = "f{{badlands.l35}}" # < +15 > + +grey = "f{{badlands.l50}}" # < +30 > + +red = "f{{red.l60}}" # < +40 > +orange = "f{{orange.l60}}" # < +40 > +yellow = "f{{yellow.l60}}" # < +40 > +green = "f{{green.l60}}" # < +40 > +cyan = "f{{green.l60}}" # < +40 > +blue = "f{{blue.l60}}" # < +40 > +violet = "f{{blue.l60}}" # < +40 > +magenta = "f{{red.l60}}" # < +40 > + +fg3 = "f{{badlands.l70}}" # < +50 > +fg2 = "f{{badlands.l75}}" # < +55 > +fg1 = "f{{badlands.l80}}" # < +60 > +fg0 = "f{{badlands.l85}}" # < MAX > +# -------------------------------------------- + +# - APP -------------------------------------- +[term] +foreground = "f{{badlands.l90}}" # < MAX > +selection_fg = "f{{badlands.l85}}" # < -05 > + +background = "f{{badlands.l25}}" # < MIN > +selection_bg = "f{{badlands.l30}}" # < +05 > + +cursor = "f{{badlands.l85}}" # +cursor_text = "f{{badlands.l30}}" # + +[term.normal] +black = "f{{badlands.l25}}" # < MIN > +red = "f{{red.l65}}" # < +40 > +green = "f{{green.l65}}" # < +40 > +yellow = "f{{yellow.l65}}" # < +40 > +blue = "f{{blue.l65}}" # < +40 > +magenta = "f{{orange.l65}}" # < +40 > +cyan = "f{{blue.l65}}" # < +40 > +white = "f{{badlands.l80}}" # < +55 > + +[term.bright] +black = "f{{badlands.l35}}" # < +10 > +red = "f{{red.l75}}" # < +50 > +green = "f{{green.l75}}" # < +50 > +yellow = "f{{yellow.l75}}" # < +50 > +blue = "f{{blue.l75}}" # < +50 > +magenta = "f{{orange.l75}}" # < +50 > +cyan = "f{{blue.l75}}" # < +50 > +white = "f{{badlands.l90}}" # < MAX > + +[vim] +bg0 = "f{{badlands.l25}}" # < MIN > +bg1 = "f{{badlands.l30}}" # < +05 > +bg2 = "f{{badlands.l35}}" # < +10 > +bg3 = "f{{badlands.l40}}" # < +15 > + +grey = "f{{badlands.l55}}" # < +30 > + +red = "f{{red.l65}}" # < +40 > +orange = "f{{orange.l65}}" # < +40 > +yellow = "f{{yellow.l65}}" # < +40 > +green = "f{{green.l65}}" # < +40 > +cyan = "f{{green.l65}}" # < +40 > +blue = "f{{blue.l65}}" # < +40 > +violet = "f{{blue.l65}}" # < +40 > +magenta = "f{{red.l65}}" # < +40 > + +fg3 = "f{{badlands.l75}}" # < +50 > +fg2 = "f{{badlands.l80}}" # < +55 > +fg1 = "f{{badlands.l85}}" # < +60 > +fg0 = "f{{badlands.l90}}" # < MAX > +# -------------------------------------------- diff --git a/templates/groups/theme/badlands-monobiome-light.toml b/templates/groups/theme/badlands-monobiome-light.toml new file mode 100644 index 0000000..a1884c3 --- /dev/null +++ b/templates/groups/theme/badlands-monobiome-light.toml @@ -0,0 +1,87 @@ +# - META ------------------------------------- +# MONOBIOME :mode=light :contrast=default +# BADLANDS +# +# pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 > +# abs :: max -- -15 | -30 | -40 | -50 -- -65 +# rel :: max -- -15 | -15 | -10 | -10 -- -15 +# sys :: l85 -- l70 | l55 | l45 | l35 -- l20 +# app :: l90 -- l75 | l60 | l50 | l40 -- l25 +# -------------------------------------------- + +# - SYS -------------------------------------- +bg0 = "f{{badlands.l85}}" # < MAX > +bg1 = "f{{badlands.l80}}" # < -05 > +bg2 = "f{{badlands.l75}}" # < -10 > +bg3 = "f{{badlands.l70}}" # < -15 > + +grey = "f{{badlands.l55}}" # < -30 > + +red = "f{{red.l45}}" # < -40 > +orange = "f{{orange.l45}}" # < -40 > +yellow = "f{{yellow.l45}}" # < -40 > +green = "f{{green.l45}}" # < -40 > +cyan = "f{{green.l45}}" # < -40 > +blue = "f{{blue.l45}}" # < -40 > +violet = "f{{blue.l45}}" # < -40 > +magenta = "f{{red.l45}}" # < -40 > + +fg3 = "f{{badlands.l35}}" # < -50 > +fg2 = "f{{badlands.l30}}" # < -55 > +fg1 = "f{{badlands.l25}}" # < -60 > +fg0 = "f{{badlands.l20}}" # < MIN > +# -------------------------------------------- + +# - APP -------------------------------------- +[term] +foreground = "f{{badlands.l25}}" # < MIN > +selection_fg = "f{{badlands.l30}}" # < +05 > + +background = "f{{badlands.l90}}" # < MAX > +selection_bg = "f{{badlands.l85}}" # < -05 > + +cursor = "f{{badlands.l30}}" # +cursor_text = "f{{badlands.l85}}" # + +[term.normal] +black = "f{{badlands.l90}}" # < MAX > +red = "f{{red.l50}}" # < -40 > +green = "f{{green.l50}}" # < -40 > +yellow = "f{{yellow.l50}}" # < -40 > +blue = "f{{blue.l50}}" # < -40 > +magenta = "f{{orange.l50}}" # < -40 > +cyan = "f{{blue.l50}}" # < -40 > +white = "f{{badlands.l35}}" # < -55 > + +[term.bright] +black = "f{{badlands.l80}}" # < -10 > +red = "f{{red.l40}}" # < -50 > +green = "f{{green.l40}}" # < -50 > +yellow = "f{{yellow.l40}}" # < -50 > +blue = "f{{blue.l40}}" # < -50 > +magenta = "f{{orange.l40}}" # < -50 > +cyan = "f{{blue.l40}}" # < -50 > +white = "f{{badlands.l25}}" # < MIN > + +[vim] +bg0 = "f{{badlands.l90}}" # < MAX > +bg1 = "f{{badlands.l85}}" # < -05 > +bg2 = "f{{badlands.l80}}" # < -10 > +bg3 = "f{{badlands.l75}}" # < -15 > + +grey = "f{{badlands.l60}}" # < -30 > + +red = "f{{red.l50}}" # < -40 > +orange = "f{{orange.l50}}" # < -40 > +yellow = "f{{yellow.l50}}" # < -40 > +green = "f{{green.l50}}" # < -40 > +cyan = "f{{green.l50}}" # < -40 > +blue = "f{{blue.l50}}" # < -40 > +violet = "f{{blue.l50}}" # < -40 > +magenta = "f{{red.l50}}" # < -40 > + +fg3 = "f{{badlands.l40}}" # < -50 > +fg2 = "f{{badlands.l35}}" # < -55 > +fg1 = "f{{badlands.l30}}" # < -60 > +fg0 = "f{{badlands.l25}}" # < MIN > +# -------------------------------------------- diff --git a/templates/groups/theme/chaparral-monobiome-dark.toml b/templates/groups/theme/chaparral-monobiome-dark.toml new file mode 100644 index 0000000..0056aed --- /dev/null +++ b/templates/groups/theme/chaparral-monobiome-dark.toml @@ -0,0 +1,87 @@ +# - META ------------------------------------- +# MONOBIOME :mode=dark :contrast=default +# CHAPARRAL +# +# pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 > +# abs :: min -- +15 | +30 | +40 | +50 -- +65 +# rel :: min -- +15 | +15 | +10 | +10 -- +15 +# sys :: l20 -- l35 | l50 | l60 | l70 -- l85 +# app :: l25 -- l40 | l55 | l65 | l75 -- l90 +# -------------------------------------------- + +# - SYS -------------------------------------- +bg0 = "f{{chaparral.l20}}" # < MIN > +bg1 = "f{{chaparral.l25}}" # < +05 > +bg2 = "f{{chaparral.l30}}" # < +10 > +bg3 = "f{{chaparral.l35}}" # < +15 > + +grey = "f{{chaparral.l50}}" # < +30 > + +red = "f{{red.l60}}" # < +40 > +orange = "f{{orange.l60}}" # < +40 > +yellow = "f{{yellow.l60}}" # < +40 > +green = "f{{green.l60}}" # < +40 > +cyan = "f{{green.l60}}" # < +40 > +blue = "f{{blue.l60}}" # < +40 > +violet = "f{{blue.l60}}" # < +40 > +magenta = "f{{red.l60}}" # < +40 > + +fg3 = "f{{chaparral.l70}}" # < +50 > +fg2 = "f{{chaparral.l75}}" # < +55 > +fg1 = "f{{chaparral.l80}}" # < +60 > +fg0 = "f{{chaparral.l85}}" # < MAX > +# -------------------------------------------- + +# - APP -------------------------------------- +[term] +foreground = "f{{chaparral.l90}}" # < MAX > +selection_fg = "f{{chaparral.l85}}" # < -05 > + +background = "f{{chaparral.l25}}" # < MIN > +selection_bg = "f{{chaparral.l30}}" # < +05 > + +cursor = "f{{chaparral.l85}}" # +cursor_text = "f{{chaparral.l30}}" # + +[term.normal] +black = "f{{chaparral.l25}}" # < MIN > +red = "f{{red.l65}}" # < +40 > +green = "f{{green.l65}}" # < +40 > +yellow = "f{{yellow.l65}}" # < +40 > +blue = "f{{blue.l65}}" # < +40 > +magenta = "f{{orange.l65}}" # < +40 > +cyan = "f{{blue.l65}}" # < +40 > +white = "f{{chaparral.l80}}" # < +55 > + +[term.bright] +black = "f{{chaparral.l35}}" # < +10 > +red = "f{{red.l75}}" # < +50 > +green = "f{{green.l75}}" # < +50 > +yellow = "f{{yellow.l75}}" # < +50 > +blue = "f{{blue.l75}}" # < +50 > +magenta = "f{{orange.l75}}" # < +50 > +cyan = "f{{blue.l75}}" # < +50 > +white = "f{{chaparral.l90}}" # < MAX > + +[vim] +bg0 = "f{{chaparral.l25}}" # < MIN > +bg1 = "f{{chaparral.l30}}" # < +05 > +bg2 = "f{{chaparral.l35}}" # < +10 > +bg3 = "f{{chaparral.l40}}" # < +15 > + +grey = "f{{chaparral.l55}}" # < +30 > + +red = "f{{red.l65}}" # < +40 > +orange = "f{{orange.l65}}" # < +40 > +yellow = "f{{yellow.l65}}" # < +40 > +green = "f{{green.l65}}" # < +40 > +cyan = "f{{green.l65}}" # < +40 > +blue = "f{{blue.l65}}" # < +40 > +violet = "f{{blue.l65}}" # < +40 > +magenta = "f{{red.l65}}" # < +40 > + +fg3 = "f{{chaparral.l75}}" # < +50 > +fg2 = "f{{chaparral.l80}}" # < +55 > +fg1 = "f{{chaparral.l85}}" # < +60 > +fg0 = "f{{chaparral.l90}}" # < MAX > +# -------------------------------------------- diff --git a/templates/groups/theme/chaparral-monobiome-light.toml b/templates/groups/theme/chaparral-monobiome-light.toml new file mode 100644 index 0000000..0e84fc1 --- /dev/null +++ b/templates/groups/theme/chaparral-monobiome-light.toml @@ -0,0 +1,87 @@ +# - META ------------------------------------- +# MONOBIOME :mode=light :contrast=default +# CHAPARRAL +# +# pat :: < 0-bg-3 > | gra | acc | < 3-fg-0 > +# abs :: max -- -15 | -30 | -40 | -50 -- -65 +# rel :: max -- -15 | -15 | -10 | -10 -- -15 +# sys :: l85 -- l70 | l55 | l45 | l35 -- l20 +# app :: l90 -- l75 | l60 | l50 | l40 -- l25 +# -------------------------------------------- + +# - SYS -------------------------------------- +bg0 = "f{{chaparral.l85}}" # < MAX > +bg1 = "f{{chaparral.l80}}" # < -05 > +bg2 = "f{{chaparral.l75}}" # < -10 > +bg3 = "f{{chaparral.l70}}" # < -15 > + +grey = "f{{chaparral.l55}}" # < -30 > + +red = "f{{red.l45}}" # < -40 > +orange = "f{{orange.l45}}" # < -40 > +yellow = "f{{yellow.l45}}" # < -40 > +green = "f{{green.l45}}" # < -40 > +cyan = "f{{green.l45}}" # < -40 > +blue = "f{{blue.l45}}" # < -40 > +violet = "f{{blue.l45}}" # < -40 > +magenta = "f{{red.l45}}" # < -40 > + +fg3 = "f{{chaparral.l35}}" # < -50 > +fg2 = "f{{chaparral.l30}}" # < -55 > +fg1 = "f{{chaparral.l25}}" # < -60 > +fg0 = "f{{chaparral.l20}}" # < MIN > +# -------------------------------------------- + +# - APP -------------------------------------- +[term] +foreground = "f{{chaparral.l25}}" # < MIN > +selection_fg = "f{{chaparral.l30}}" # < +05 > + +background = "f{{chaparral.l90}}" # < MAX > +selection_bg = "f{{chaparral.l85}}" # < -05 > + +cursor = "f{{chaparral.l30}}" # +cursor_text = "f{{chaparral.l85}}" # + +[term.normal] +black = "f{{chaparral.l90}}" # < MAX > +red = "f{{red.l50}}" # < -40 > +green = "f{{green.l50}}" # < -40 > +yellow = "f{{yellow.l50}}" # < -40 > +blue = "f{{blue.l50}}" # < -40 > +magenta = "f{{orange.l50}}" # < -40 > +cyan = "f{{blue.l50}}" # < -40 > +white = "f{{chaparral.l35}}" # < -55 > + +[term.bright] +black = "f{{chaparral.l80}}" # < -10 > +red = "f{{red.l40}}" # < -50 > +green = "f{{green.l40}}" # < -50 > +yellow = "f{{yellow.l40}}" # < -50 > +blue = "f{{blue.l40}}" # < -50 > +magenta = "f{{orange.l40}}" # < -50 > +cyan = "f{{blue.l40}}" # < -50 > +white = "f{{chaparral.l25}}" # < MIN > + +[vim] +bg0 = "f{{chaparral.l90}}" # < MAX > +bg1 = "f{{chaparral.l85}}" # < -05 > +bg2 = "f{{chaparral.l80}}" # < -10 > +bg3 = "f{{chaparral.l75}}" # < -15 > + +grey = "f{{chaparral.l60}}" # < -30 > + +red = "f{{red.l50}}" # < -40 > +orange = "f{{orange.l50}}" # < -40 > +yellow = "f{{yellow.l50}}" # < -40 > +green = "f{{green.l50}}" # < -40 > +cyan = "f{{green.l50}}" # < -40 > +blue = "f{{blue.l50}}" # < -40 > +violet = "f{{blue.l50}}" # < -40 > +magenta = "f{{red.l50}}" # < -40 > + +fg3 = "f{{chaparral.l40}}" # < -50 > +fg2 = "f{{chaparral.l35}}" # < -55 > +fg1 = "f{{chaparral.l30}}" # < -60 > +fg0 = "f{{chaparral.l25}}" # < MIN > +# -------------------------------------------- diff --git a/apps/symconf/grassland-monobiome-dark.toml b/templates/groups/theme/grassland-monobiome-dark.toml similarity index 100% rename from apps/symconf/grassland-monobiome-dark.toml rename to templates/groups/theme/grassland-monobiome-dark.toml diff --git a/apps/symconf/grassland-monobiome-light.toml b/templates/groups/theme/grassland-monobiome-light.toml similarity index 100% rename from apps/symconf/grassland-monobiome-light.toml rename to templates/groups/theme/grassland-monobiome-light.toml diff --git a/apps/symconf/hard-grassland-monobiome-dark.toml b/templates/groups/theme/hard-grassland-monobiome-dark.toml similarity index 100% rename from apps/symconf/hard-grassland-monobiome-dark.toml rename to templates/groups/theme/hard-grassland-monobiome-dark.toml diff --git a/apps/symconf/hard-grassland-monobiome-light.toml b/templates/groups/theme/hard-grassland-monobiome-light.toml similarity index 100% rename from apps/symconf/hard-grassland-monobiome-light.toml rename to templates/groups/theme/hard-grassland-monobiome-light.toml diff --git a/apps/symconf/hard-monobiome-dark.toml b/templates/groups/theme/hard-monobiome-dark.toml similarity index 100% rename from apps/symconf/hard-monobiome-dark.toml rename to templates/groups/theme/hard-monobiome-dark.toml diff --git a/apps/symconf/hard-monobiome-light.toml b/templates/groups/theme/hard-monobiome-light.toml similarity index 100% rename from apps/symconf/hard-monobiome-light.toml rename to templates/groups/theme/hard-monobiome-light.toml diff --git a/apps/symconf/hard-savanna-monobiome-dark.toml b/templates/groups/theme/hard-savanna-monobiome-dark.toml similarity index 100% rename from apps/symconf/hard-savanna-monobiome-dark.toml rename to templates/groups/theme/hard-savanna-monobiome-dark.toml diff --git a/apps/symconf/hard-savanna-monobiome-light.toml b/templates/groups/theme/hard-savanna-monobiome-light.toml similarity index 100% rename from apps/symconf/hard-savanna-monobiome-light.toml rename to templates/groups/theme/hard-savanna-monobiome-light.toml diff --git a/apps/symconf/hard-tundra-monobiome-dark.toml b/templates/groups/theme/hard-tundra-monobiome-dark.toml similarity index 100% rename from apps/symconf/hard-tundra-monobiome-dark.toml rename to templates/groups/theme/hard-tundra-monobiome-dark.toml diff --git a/apps/symconf/hard-tundra-monobiome-light.toml b/templates/groups/theme/hard-tundra-monobiome-light.toml similarity index 100% rename from apps/symconf/hard-tundra-monobiome-light.toml rename to templates/groups/theme/hard-tundra-monobiome-light.toml diff --git a/apps/symconf/monobiome-dark.toml b/templates/groups/theme/monobiome-dark.toml similarity index 100% rename from apps/symconf/monobiome-dark.toml rename to templates/groups/theme/monobiome-dark.toml diff --git a/apps/symconf/monobiome-light.toml b/templates/groups/theme/monobiome-light.toml similarity index 100% rename from apps/symconf/monobiome-light.toml rename to templates/groups/theme/monobiome-light.toml diff --git a/apps/symconf/savanna-monobiome-dark.toml b/templates/groups/theme/savanna-monobiome-dark.toml similarity index 100% rename from apps/symconf/savanna-monobiome-dark.toml rename to templates/groups/theme/savanna-monobiome-dark.toml diff --git a/apps/symconf/savanna-monobiome-light.toml b/templates/groups/theme/savanna-monobiome-light.toml similarity index 100% rename from apps/symconf/savanna-monobiome-light.toml rename to templates/groups/theme/savanna-monobiome-light.toml diff --git a/apps/symconf/soft-grassland-monobiome-dark.toml b/templates/groups/theme/soft-grassland-monobiome-dark.toml similarity index 100% rename from apps/symconf/soft-grassland-monobiome-dark.toml rename to templates/groups/theme/soft-grassland-monobiome-dark.toml diff --git a/apps/symconf/soft-grassland-monobiome-light.toml b/templates/groups/theme/soft-grassland-monobiome-light.toml similarity index 100% rename from apps/symconf/soft-grassland-monobiome-light.toml rename to templates/groups/theme/soft-grassland-monobiome-light.toml diff --git a/apps/symconf/soft-monobiome-dark.toml b/templates/groups/theme/soft-monobiome-dark.toml similarity index 100% rename from apps/symconf/soft-monobiome-dark.toml rename to templates/groups/theme/soft-monobiome-dark.toml diff --git a/apps/symconf/soft-monobiome-light.toml b/templates/groups/theme/soft-monobiome-light.toml similarity index 100% rename from apps/symconf/soft-monobiome-light.toml rename to templates/groups/theme/soft-monobiome-light.toml diff --git a/apps/symconf/soft-savanna-monobiome-dark.toml b/templates/groups/theme/soft-savanna-monobiome-dark.toml similarity index 100% rename from apps/symconf/soft-savanna-monobiome-dark.toml rename to templates/groups/theme/soft-savanna-monobiome-dark.toml diff --git a/apps/symconf/soft-savanna-monobiome-light.toml b/templates/groups/theme/soft-savanna-monobiome-light.toml similarity index 100% rename from apps/symconf/soft-savanna-monobiome-light.toml rename to templates/groups/theme/soft-savanna-monobiome-light.toml diff --git a/apps/symconf/soft-tundra-monobiome-dark.toml b/templates/groups/theme/soft-tundra-monobiome-dark.toml similarity index 100% rename from apps/symconf/soft-tundra-monobiome-dark.toml rename to templates/groups/theme/soft-tundra-monobiome-dark.toml diff --git a/apps/symconf/soft-tundra-monobiome-light.toml b/templates/groups/theme/soft-tundra-monobiome-light.toml similarity index 100% rename from apps/symconf/soft-tundra-monobiome-light.toml rename to templates/groups/theme/soft-tundra-monobiome-light.toml diff --git a/apps/symconf/tundra-monobiome-dark.toml b/templates/groups/theme/tundra-monobiome-dark.toml similarity index 100% rename from apps/symconf/tundra-monobiome-dark.toml rename to templates/groups/theme/tundra-monobiome-dark.toml diff --git a/apps/symconf/tundra-monobiome-light.toml b/templates/groups/theme/tundra-monobiome-light.toml similarity index 100% rename from apps/symconf/tundra-monobiome-light.toml rename to templates/groups/theme/tundra-monobiome-light.toml diff --git a/test_out/kitty/badlands-monobiome-dark.active.theme b/test_out/kitty/badlands-monobiome-dark.active.theme new file mode 100644 index 0000000..7882cae --- /dev/null +++ b/test_out/kitty/badlands-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #27201f +foreground #e5dbda + +selection_background #332c2b +selection_foreground #d5cbca + +cursor #d5cbca +cursor_text #332c2b + +# black +color0 #27201f +color8 #403837 + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #c5bbba +color15 #e5dbda diff --git a/test_out/kitty/badlands-monobiome-light.active.theme b/test_out/kitty/badlands-monobiome-light.active.theme new file mode 100644 index 0000000..45000b8 --- /dev/null +++ b/test_out/kitty/badlands-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #e5dbda +foreground #27201f + +selection_background #d5cbca +selection_foreground #332c2b + +cursor #332c2b +cursor_text #d5cbca + +# black +color0 #e5dbda +color8 #c5bbba + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #403837 +color15 #27201f diff --git a/test_out/kitty/chaparral-monobiome-dark.active.theme b/test_out/kitty/chaparral-monobiome-dark.active.theme new file mode 100644 index 0000000..619f237 --- /dev/null +++ b/test_out/kitty/chaparral-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #26211c +foreground #e4ddd7 + +selection_background #322d28 +selection_foreground #d3ccc7 + +cursor #d3ccc7 +cursor_text #322d28 + +# black +color0 #26211c +color8 #3f3935 + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #c3bcb7 +color15 #e4ddd7 diff --git a/test_out/kitty/chaparral-monobiome-light.active.theme b/test_out/kitty/chaparral-monobiome-light.active.theme new file mode 100644 index 0000000..75b9f44 --- /dev/null +++ b/test_out/kitty/chaparral-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #e4ddd7 +foreground #26211c + +selection_background #d3ccc7 +selection_foreground #322d28 + +cursor #322d28 +cursor_text #d3ccc7 + +# black +color0 #e4ddd7 +color8 #c3bcb7 + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #3f3935 +color15 #26211c diff --git a/test_out/kitty/grassland-monobiome-dark.active.theme b/test_out/kitty/grassland-monobiome-dark.active.theme new file mode 100644 index 0000000..6176a1f --- /dev/null +++ b/test_out/kitty/grassland-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #1e231f +foreground #d9e0da + +selection_background #2a2f2b +selection_foreground #c9d0ca + +cursor #c9d0ca +cursor_text #2a2f2b + +# black +color0 #1e231f +color8 #373c37 + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #b9c0ba +color15 #d9e0da diff --git a/test_out/kitty/grassland-monobiome-light.active.theme b/test_out/kitty/grassland-monobiome-light.active.theme new file mode 100644 index 0000000..8567a16 --- /dev/null +++ b/test_out/kitty/grassland-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #d9e0da +foreground #1e231f + +selection_background #c9d0ca +selection_foreground #2a2f2b + +cursor #2a2f2b +cursor_text #c9d0ca + +# black +color0 #d9e0da +color8 #b9c0ba + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #373c37 +color15 #1e231f diff --git a/test_out/kitty/hard-grassland-monobiome-dark.active.theme b/test_out/kitty/hard-grassland-monobiome-dark.active.theme new file mode 100644 index 0000000..db6e396 --- /dev/null +++ b/test_out/kitty/hard-grassland-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #131713 +foreground #c9d0ca + +selection_background #1e231f +selection_foreground #b9c0ba + +cursor #b9c0ba +cursor_text #1e231f + +# black +color0 #131713 +color8 #2a2f2b + +# red +color1 #dc4234 +color9 #f37060 + +# green +color2 #4f925a +color10 #6eb178 + +# yellow +color3 #888346 +color11 #a7a15f + +# blue +color4 #557ecc +color12 #799ee3 + +# magenta (red) +color5 #b76b0c +color13 #d98937 + +# cyan (blue) +color6 #557ecc +color14 #799ee3 + +## white +color7 #a9b0aa +color15 #c9d0ca diff --git a/test_out/kitty/hard-grassland-monobiome-light.active.theme b/test_out/kitty/hard-grassland-monobiome-light.active.theme new file mode 100644 index 0000000..667d000 --- /dev/null +++ b/test_out/kitty/hard-grassland-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #eaf1ea +foreground #2a2f2b + +selection_background #d9e0da +selection_foreground #373c37 + +cursor #373c37 +cursor_text #d9e0da + +# black +color0 #eaf1ea +color8 #c9d0ca + +# red +color1 #ca2f24 +color9 #9d1a13 + +# green +color2 #42824e +color10 #2e6337 + +# yellow +color3 #79743d +color11 #5b572e + +# blue +color4 #456fbe +color12 #2d5299 + +# magenta (red) +color5 #a45e03 +color13 #7c4706 + +# cyan (blue) +color6 #456fbe +color14 #2d5299 + +## white +color7 #444944 +color15 #2a2f2b diff --git a/test_out/kitty/hard-monobiome-dark.active.theme b/test_out/kitty/hard-monobiome-dark.active.theme new file mode 100644 index 0000000..551f5f3 --- /dev/null +++ b/test_out/kitty/hard-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #161616 +foreground #cecece + +selection_background #222222 +selection_foreground #bebebe + +cursor #bebebe +cursor_text #222222 + +# black +color0 #161616 +color8 #2e2e2e + +# red +color1 #dc4234 +color9 #f37060 + +# green +color2 #4f925a +color10 #6eb178 + +# yellow +color3 #888346 +color11 #a7a15f + +# blue +color4 #557ecc +color12 #799ee3 + +# magenta (red) +color5 #b76b0c +color13 #d98937 + +# cyan (blue) +color6 #557ecc +color14 #799ee3 + +## white +color7 #aeaeae +color15 #cecece diff --git a/test_out/kitty/hard-monobiome-light.active.theme b/test_out/kitty/hard-monobiome-light.active.theme new file mode 100644 index 0000000..7145062 --- /dev/null +++ b/test_out/kitty/hard-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #eeeeee +foreground #2e2e2e + +selection_background #dedede +selection_foreground #3a3a3a + +cursor #3a3a3a +cursor_text #dedede + +# black +color0 #eeeeee +color8 #cecece + +# red +color1 #ca2f24 +color9 #9d1a13 + +# green +color2 #42824e +color10 #2e6337 + +# yellow +color3 #79743d +color11 #5b572e + +# blue +color4 #456fbe +color12 #2d5299 + +# magenta (red) +color5 #a45e03 +color13 #7c4706 + +# cyan (blue) +color6 #456fbe +color14 #2d5299 + +## white +color7 #484848 +color15 #2e2e2e diff --git a/test_out/kitty/hard-savanna-monobiome-dark.active.theme b/test_out/kitty/hard-savanna-monobiome-dark.active.theme new file mode 100644 index 0000000..165cd7c --- /dev/null +++ b/test_out/kitty/hard-savanna-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #171611 +foreground #cfcec6 + +selection_background #22221c +selection_foreground #bfbeb6 + +cursor #bfbeb6 +cursor_text #22221c + +# black +color0 #171611 +color8 #2f2e28 + +# red +color1 #dc4234 +color9 #f37060 + +# green +color2 #4f925a +color10 #6eb178 + +# yellow +color3 #888346 +color11 #a7a15f + +# blue +color4 #557ecc +color12 #799ee3 + +# magenta (red) +color5 #b76b0c +color13 #d98937 + +# cyan (blue) +color6 #557ecc +color14 #799ee3 + +## white +color7 #afaea7 +color15 #cfcec6 diff --git a/test_out/kitty/hard-savanna-monobiome-light.active.theme b/test_out/kitty/hard-savanna-monobiome-light.active.theme new file mode 100644 index 0000000..7d8a0ee --- /dev/null +++ b/test_out/kitty/hard-savanna-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #efefe7 +foreground #2f2e28 + +selection_background #dfded6 +selection_foreground #3b3b34 + +cursor #3b3b34 +cursor_text #dfded6 + +# black +color0 #efefe7 +color8 #cfcec6 + +# red +color1 #ca2f24 +color9 #9d1a13 + +# green +color2 #42824e +color10 #2e6337 + +# yellow +color3 #79743d +color11 #5b572e + +# blue +color4 #456fbe +color12 #2d5299 + +# magenta (red) +color5 #a45e03 +color13 #7c4706 + +# cyan (blue) +color6 #456fbe +color14 #2d5299 + +## white +color7 #484841 +color15 #2f2e28 diff --git a/test_out/kitty/hard-tundra-monobiome-dark.active.theme b/test_out/kitty/hard-tundra-monobiome-dark.active.theme new file mode 100644 index 0000000..d4a22c3 --- /dev/null +++ b/test_out/kitty/hard-tundra-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #13161b +foreground #caced5 + +selection_background #1f2227 +selection_foreground #babec5 + +cursor #babec5 +cursor_text #1f2227 + +# black +color0 #13161b +color8 #2b2e33 + +# red +color1 #dc4234 +color9 #f37060 + +# green +color2 #4f925a +color10 #6eb178 + +# yellow +color3 #888346 +color11 #a7a15f + +# blue +color4 #557ecc +color12 #799ee3 + +# magenta (red) +color5 #b76b0c +color13 #d98937 + +# cyan (blue) +color6 #557ecc +color14 #799ee3 + +## white +color7 #aaaeb5 +color15 #caced5 diff --git a/test_out/kitty/hard-tundra-monobiome-light.active.theme b/test_out/kitty/hard-tundra-monobiome-light.active.theme new file mode 100644 index 0000000..b416dab --- /dev/null +++ b/test_out/kitty/hard-tundra-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #eaeff6 +foreground #2b2e33 + +selection_background #dadee6 +selection_foreground #373b40 + +cursor #373b40 +cursor_text #dadee6 + +# black +color0 #eaeff6 +color8 #caced5 + +# red +color1 #ca2f24 +color9 #9d1a13 + +# green +color2 #42824e +color10 #2e6337 + +# yellow +color3 #79743d +color11 #5b572e + +# blue +color4 #456fbe +color12 #2d5299 + +# magenta (red) +color5 #a45e03 +color13 #7c4706 + +# cyan (blue) +color6 #456fbe +color14 #2d5299 + +## white +color7 #44484e +color15 #2b2e33 diff --git a/test_out/kitty/monobiome-dark.active.theme b/test_out/kitty/monobiome-dark.active.theme new file mode 100644 index 0000000..2d89291 --- /dev/null +++ b/test_out/kitty/monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #222222 +foreground #dedede + +selection_background #2e2e2e +selection_foreground #cecece + +cursor #cecece +cursor_text #2e2e2e + +# black +color0 #222222 +color8 #3a3a3a + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #bebebe +color15 #dedede diff --git a/test_out/kitty/monobiome-light.active.theme b/test_out/kitty/monobiome-light.active.theme new file mode 100644 index 0000000..b658d0f --- /dev/null +++ b/test_out/kitty/monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #dedede +foreground #222222 + +selection_background #cecece +selection_foreground #2e2e2e + +cursor #2e2e2e +cursor_text #cecece + +# black +color0 #dedede +color8 #bebebe + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #3a3a3a +color15 #222222 diff --git a/test_out/kitty/savanna-monobiome-dark.active.theme b/test_out/kitty/savanna-monobiome-dark.active.theme new file mode 100644 index 0000000..90487b6 --- /dev/null +++ b/test_out/kitty/savanna-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #22221c +foreground #dfded6 + +selection_background #2f2e28 +selection_foreground #cfcec6 + +cursor #cfcec6 +cursor_text #2f2e28 + +# black +color0 #22221c +color8 #3b3b34 + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #bfbeb6 +color15 #dfded6 diff --git a/test_out/kitty/savanna-monobiome-light.active.theme b/test_out/kitty/savanna-monobiome-light.active.theme new file mode 100644 index 0000000..08f8c93 --- /dev/null +++ b/test_out/kitty/savanna-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #dfded6 +foreground #22221c + +selection_background #cfcec6 +selection_foreground #2f2e28 + +cursor #2f2e28 +cursor_text #cfcec6 + +# black +color0 #dfded6 +color8 #bfbeb6 + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #3b3b34 +color15 #22221c diff --git a/test_out/kitty/soft-grassland-monobiome-dark.active.theme b/test_out/kitty/soft-grassland-monobiome-dark.active.theme new file mode 100644 index 0000000..2046c60 --- /dev/null +++ b/test_out/kitty/soft-grassland-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #2a2f2b +foreground #eaf1ea + +selection_background #373c37 +selection_foreground #d9e0da + +cursor #d9e0da +cursor_text #373c37 + +# black +color0 #2a2f2b +color8 #444944 + +# red +color1 #f37060 +color9 #fea294 + +# green +color2 #6eb178 +color10 #94cf9c + +# yellow +color3 #a7a15f +color11 #c6c182 + +# blue +color4 #799ee3 +color12 #a2bef2 + +# magenta (red) +color5 #d98937 +color13 #f1ad6f + +# cyan (blue) +color6 #799ee3 +color14 #a2bef2 + +## white +color7 #c9d0ca +color15 #eaf1ea diff --git a/test_out/kitty/soft-grassland-monobiome-light.active.theme b/test_out/kitty/soft-grassland-monobiome-light.active.theme new file mode 100644 index 0000000..926b2c1 --- /dev/null +++ b/test_out/kitty/soft-grassland-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #c9d0ca +foreground #131713 + +selection_background #b9c0ba +selection_foreground #1e231f + +cursor #1e231f +cursor_text #b9c0ba + +# black +color0 #c9d0ca +color8 #a9b0aa + +# red +color1 #9d1a13 +color9 #6e110b + +# green +color2 #2e6337 +color10 #1c4524 + +# yellow +color3 #5b572e +color11 #3e3c20 + +# blue +color4 #2d5299 +color12 #1a3771 + +# magenta (red) +color5 #7c4706 +color13 #54310d + +# cyan (blue) +color6 #2d5299 +color14 #1a3771 + +## white +color7 #2a2f2b +color15 #1e231f diff --git a/test_out/kitty/soft-monobiome-dark.active.theme b/test_out/kitty/soft-monobiome-dark.active.theme new file mode 100644 index 0000000..4cefa2f --- /dev/null +++ b/test_out/kitty/soft-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #2e2e2e +foreground #eeeeee + +selection_background #3a3a3a +selection_foreground #dedede + +cursor #dedede +cursor_text #3a3a3a + +# black +color0 #2e2e2e +color8 #484848 + +# red +color1 #f37060 +color9 #fea294 + +# green +color2 #6eb178 +color10 #94cf9c + +# yellow +color3 #a7a15f +color11 #c6c182 + +# blue +color4 #799ee3 +color12 #a2bef2 + +# magenta (red) +color5 #d98937 +color13 #f1ad6f + +# cyan (blue) +color6 #799ee3 +color14 #a2bef2 + +## white +color7 #cecece +color15 #eeeeee diff --git a/test_out/kitty/soft-monobiome-light.active.theme b/test_out/kitty/soft-monobiome-light.active.theme new file mode 100644 index 0000000..d09f3e8 --- /dev/null +++ b/test_out/kitty/soft-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #cecece +foreground #161616 + +selection_background #bebebe +selection_foreground #222222 + +cursor #222222 +cursor_text #bebebe + +# black +color0 #cecece +color8 #aeaeae + +# red +color1 #9d1a13 +color9 #6e110b + +# green +color2 #2e6337 +color10 #1c4524 + +# yellow +color3 #5b572e +color11 #3e3c20 + +# blue +color4 #2d5299 +color12 #1a3771 + +# magenta (red) +color5 #7c4706 +color13 #54310d + +# cyan (blue) +color6 #2d5299 +color14 #1a3771 + +## white +color7 #2e2e2e +color15 #222222 diff --git a/test_out/kitty/soft-savanna-monobiome-dark.active.theme b/test_out/kitty/soft-savanna-monobiome-dark.active.theme new file mode 100644 index 0000000..31fecda --- /dev/null +++ b/test_out/kitty/soft-savanna-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #2f2e28 +foreground #efefe7 + +selection_background #3b3b34 +selection_foreground #dfded6 + +cursor #dfded6 +cursor_text #3b3b34 + +# black +color0 #2f2e28 +color8 #484841 + +# red +color1 #f37060 +color9 #fea294 + +# green +color2 #6eb178 +color10 #94cf9c + +# yellow +color3 #a7a15f +color11 #c6c182 + +# blue +color4 #799ee3 +color12 #a2bef2 + +# magenta (red) +color5 #d98937 +color13 #f1ad6f + +# cyan (blue) +color6 #799ee3 +color14 #a2bef2 + +## white +color7 #cfcec6 +color15 #efefe7 diff --git a/test_out/kitty/soft-savanna-monobiome-light.active.theme b/test_out/kitty/soft-savanna-monobiome-light.active.theme new file mode 100644 index 0000000..f206960 --- /dev/null +++ b/test_out/kitty/soft-savanna-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #cfcec6 +foreground #171611 + +selection_background #bfbeb6 +selection_foreground #22221c + +cursor #22221c +cursor_text #bfbeb6 + +# black +color0 #cfcec6 +color8 #afaea7 + +# red +color1 #9d1a13 +color9 #6e110b + +# green +color2 #2e6337 +color10 #1c4524 + +# yellow +color3 #5b572e +color11 #3e3c20 + +# blue +color4 #2d5299 +color12 #1a3771 + +# magenta (red) +color5 #7c4706 +color13 #54310d + +# cyan (blue) +color6 #2d5299 +color14 #1a3771 + +## white +color7 #2f2e28 +color15 #22221c diff --git a/test_out/kitty/soft-tundra-monobiome-dark.active.theme b/test_out/kitty/soft-tundra-monobiome-dark.active.theme new file mode 100644 index 0000000..8206324 --- /dev/null +++ b/test_out/kitty/soft-tundra-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #2b2e33 +foreground #eaeff6 + +selection_background #373b40 +selection_foreground #dadee6 + +cursor #dadee6 +cursor_text #373b40 + +# black +color0 #2b2e33 +color8 #44484e + +# red +color1 #f37060 +color9 #fea294 + +# green +color2 #6eb178 +color10 #94cf9c + +# yellow +color3 #a7a15f +color11 #c6c182 + +# blue +color4 #799ee3 +color12 #a2bef2 + +# magenta (red) +color5 #d98937 +color13 #f1ad6f + +# cyan (blue) +color6 #799ee3 +color14 #a2bef2 + +## white +color7 #caced5 +color15 #eaeff6 diff --git a/test_out/kitty/soft-tundra-monobiome-light.active.theme b/test_out/kitty/soft-tundra-monobiome-light.active.theme new file mode 100644 index 0000000..cdba2a4 --- /dev/null +++ b/test_out/kitty/soft-tundra-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #caced5 +foreground #13161b + +selection_background #babec5 +selection_foreground #1f2227 + +cursor #1f2227 +cursor_text #babec5 + +# black +color0 #caced5 +color8 #aaaeb5 + +# red +color1 #9d1a13 +color9 #6e110b + +# green +color2 #2e6337 +color10 #1c4524 + +# yellow +color3 #5b572e +color11 #3e3c20 + +# blue +color4 #2d5299 +color12 #1a3771 + +# magenta (red) +color5 #7c4706 +color13 #54310d + +# cyan (blue) +color6 #2d5299 +color14 #1a3771 + +## white +color7 #2b2e33 +color15 #1f2227 diff --git a/test_out/kitty/tundra-monobiome-dark.active.theme b/test_out/kitty/tundra-monobiome-dark.active.theme new file mode 100644 index 0000000..ccb0e5c --- /dev/null +++ b/test_out/kitty/tundra-monobiome-dark.active.theme @@ -0,0 +1,41 @@ +# base settings +background #1f2227 +foreground #dadee6 + +selection_background #2b2e33 +selection_foreground #caced5 + +cursor #caced5 +cursor_text #2b2e33 + +# black +color0 #1f2227 +color8 #373b40 + +# red +color1 #e95949 +color9 #fa897a + +# green +color2 #5da268 +color10 #80c089 + +# yellow +color3 #989250 +color11 #b7b170 + +# blue +color4 #658ed9 +color12 #8daeeb + +# magenta (red) +color5 #c97920 +color13 #e79a51 + +# cyan (blue) +color6 #658ed9 +color14 #8daeeb + +## white +color7 #babec5 +color15 #dadee6 diff --git a/test_out/kitty/tundra-monobiome-light.active.theme b/test_out/kitty/tundra-monobiome-light.active.theme new file mode 100644 index 0000000..ad465b5 --- /dev/null +++ b/test_out/kitty/tundra-monobiome-light.active.theme @@ -0,0 +1,41 @@ +# base settings +background #dadee6 +foreground #1f2227 + +selection_background #caced5 +selection_foreground #2b2e33 + +cursor #2b2e33 +cursor_text #caced5 + +# black +color0 #dadee6 +color8 #babec5 + +# red +color1 #b42219 +color9 #85160f + +# green +color2 #377242 +color10 #25532e + +# yellow +color3 #6a6535 +color11 #4c4928 + +# blue +color4 #3860ac +color12 #234485 + +# magenta (red) +color5 #905201 +color13 #673c0c + +# cyan (blue) +color6 #3860ac +color14 #234485 + +## white +color7 #373b40 +color15 #1f2227