New Vim Colors Added

This commit is contained in:
Tyler Kelley 2024-01-14 02:48:13 -06:00
parent 077ce2a2f5
commit 76fe638deb
3 changed files with 85 additions and 46 deletions

82
config/vimcolors.nix Normal file
View File

@ -0,0 +1,82 @@
{ pkgs, config, ... }:
{
home.file.".vimcolors.vim".text = ''
hi clear
syntax reset
let g:colors_name = "dynamiccolors"
set background=dark
set t_Co=256
hi Normal guifg=#${config.colorScheme.colors.base07} ctermbg=NONE guibg=#${config.colorScheme.colors.base00} gui=NONE
hi DiffText guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi ErrorMsg guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi WarningMsg guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi PreProc guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi Exception guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi Error guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi DiffDelete guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi GitGutterDelete guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi GitGutterChangeDelete guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi cssIdentifier guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi cssImportant guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi Type guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi Identifier guifg=#${config.colorScheme.colors.base01} guibg=NONE
hi PMenuSel guifg=#${config.colorScheme.colors.base06} guibg=NONE
hi Constant guifg=#${config.colorScheme.colors.base06} guibg=NONE
hi Repeat guifg=#${config.colorScheme.colors.base06} guibg=NONE
hi DiffAdd guifg=#${config.colorScheme.colors.base06} guibg=NONE
hi GitGutterAdd guifg=#${config.colorScheme.colors.base06} guibg=NONE
hi cssIncludeKeyword guifg=#${config.colorScheme.colors.base06} guibg=NONE
hi Keyword guifg=#${config.colorScheme.colors.base06} guibg=NONE
hi IncSearch guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi Title guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi PreCondit guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi Debug guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi SpecialChar guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi Conditional guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi Todo guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi Special guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi Label guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi Delimiter guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi Number guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi CursorLineNR guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi Define guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi MoreMsg guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi Tag guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi String guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi MatchParen guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi Macro guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi DiffChange guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi GitGutterChange guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi cssColor guifg=#${config.colorScheme.colors.base03} guibg=NONE
hi Function guifg=#${config.colorScheme.colors.base04} guibg=NONE
hi Directory guifg=#${config.colorScheme.colors.base05} guibg=NONE
hi markdownLinkText guifg=#${config.colorScheme.colors.base05} guibg=NONE
hi javaScriptBoolean guifg=#${config.colorScheme.colors.base05} guibg=NONE
hi Include guifg=#${config.colorScheme.colors.base05} guibg=NONE
hi Storage guifg=#${config.colorScheme.colors.base05} guibg=NONE
hi cssClassName guifg=#${config.colorScheme.colors.base05} guibg=NONE
hi cssClassNameDot guifg=#${config.colorScheme.colors.base05} guibg=NONE
hi Statement guifg=#${config.colorScheme.colors.base06} guibg=NONE
hi Operator guifg=#${config.colorScheme.colors.base06} guibg=NONE
hi cssAttr guifg=#${config.colorScheme.colors.base06} guibg=NONE
hi Pmenu guifg=#${config.colorScheme.colors.base0F} guibg=#${config.colorScheme.colors.base08}
hi SignColumn guibg=#${config.colorScheme.colors.base00}
hi Title guifg=#${config.colorScheme.colors.base06}
hi LineNr guifg=#${config.colorScheme.colors.base07} guibg=#${config.colorScheme.colors.base00}
hi NonText guifg=#${config.colorScheme.colors.base05} guibg=#${config.colorScheme.colors.base00}
hi Comment guifg=#${config.colorScheme.colors.base05} gui=italic
hi SpecialComment guifg=#${config.colorScheme.colors.base05} gui=italic guibg=NONE
hi CursorLine guibg=#${config.colorScheme.colors.base08}
hi TabLineFill gui=NONE guibg=#${config.colorScheme.colors.base08}
hi TabLine guifg=#${config.colorScheme.colors.base07} guibg=#${config.colorScheme.colors.base08} gui=NONE
hi StatusLine gui=bold guibg=#${config.colorScheme.colors.base08} guifg=#${config.colorScheme.colors.base0F}
hi StatusLineNC gui=NONE guibg=#${config.colorScheme.colors.base00} guifg=#${config.colorScheme.colors.base0F}
hi Search guibg=#${config.colorScheme.colors.base05} guifg=#${config.colorScheme.colors.base0F}
hi VertSplit gui=NONE guifg=#${config.colorScheme.colors.base08} guibg=NONE
hi Visual gui=NONE guibg=#${config.colorScheme.colors.base08}
'';
}

View File

@ -1,4 +1,3 @@
" ███████╗ █████╗ ███╗ ██╗███████╗██╗ ██╗███████╗
" ╚══███╔╝██╔══██╗████╗ ██║██╔════╝╚██╗ ██╔╝██╔════╝
" ███╔╝ ███████║██╔██╗ ██║█████╗ ╚████╔╝ ███████╗
@ -56,53 +55,10 @@ set encoding=UTF-8 " Set encoding
let NERDTreeShowHidden=1 " NERDtree shows hidden files
set term=kitty " fix for kitty terminal
set termguicolors
:source .vimcolors.vim
" get transparent bg & some markdown stuffs
hi Normal guibg=none ctermbg=none
hi LineNr ctermfg=8 ctermbg=none cterm=none
hi CursorLineNr ctermfg=7 ctermbg=8 cterm=none
hi VertSplit ctermfg=0 ctermbg=8 cterm=none
hi Statement ctermfg=2 ctermbg=none cterm=none
hi Directory ctermfg=4 ctermbg=none cterm=none
hi StatusLine ctermfg=7 ctermbg=8 cterm=none
hi StatusLineNC ctermfg=7 ctermbg=8 cterm=none
hi NERDTreeClosable ctermfg=2
hi NERDTreeOpenable ctermfg=8
hi Comment ctermfg=4 ctermbg=none cterm=italic
hi Constant ctermfg=12 ctermbg=none cterm=none
hi Special ctermfg=4 ctermbg=none cterm=none
hi Identifier ctermfg=6 ctermbg=none cterm=none
hi PreProc ctermfg=5 ctermbg=none cterm=none
hi String ctermfg=12 ctermbg=none cterm=none
hi Number ctermfg=1 ctermbg=none cterm=none
hi Function ctermfg=1 ctermbg=none cterm=none
hi WildMenu ctermfg=0 ctermbg=80 cterm=none
hi Folded ctermfg=103 ctermbg=234 cterm=none
hi FoldColumn ctermfg=103 ctermbg=234 cterm=none
hi DiffAdd ctermfg=none ctermbg=23 cterm=none
hi DiffChange ctermfg=none ctermbg=56 cterm=none
hi DiffDelete ctermfg=168 ctermbg=96 cterm=none
hi DiffText ctermfg=0 ctermbg=80 cterm=none
hi SignColumn ctermfg=244 ctermbg=235 cterm=none
hi Conceal ctermfg=251 ctermbg=none cterm=none
hi SpellBad ctermfg=168 ctermbg=none cterm=underline
hi SpellCap ctermfg=80 ctermbg=none cterm=underline
hi SpellRare ctermfg=121 ctermbg=none cterm=underline
hi SpellLocal ctermfg=186 ctermbg=none cterm=underline
hi Pmenu ctermfg=251 ctermbg=234 cterm=none
hi PmenuSel ctermfg=0 ctermbg=111 cterm=none
hi PmenuSbar ctermfg=206 ctermbg=235 cterm=none
hi PmenuThumb ctermfg=235 ctermbg=206 cterm=none
hi TabLine ctermfg=244 ctermbg=234 cterm=none
hi TablineSel ctermfg=0 ctermbg=247 cterm=none
hi TablineFill ctermfg=244 ctermbg=234 cterm=none
hi CursorColumn ctermfg=none ctermbg=236 cterm=none
hi CursorLine ctermfg=none ctermbg=236 cterm=none
hi ColorColumn ctermfg=none ctermbg=236 cterm=none
hi Cursor ctermfg=0 ctermbg=5 cterm=none
hi htmlEndTag ctermfg=114 ctermbg=none cterm=none
hi xmlEndTag ctermfg=114 ctermbg=none cterm=none
hi Normal guibg=NONE ctermbg=NONE
au BufNewFile,BufFilePre,BufRead *.md set filetype=markdown

View File

@ -13,6 +13,7 @@
inputs.nix-colors.homeManagerModules.default
./config/waybar.nix
./config/kitty.nix
./config/vimcolors.nix
];
# Place Files Inside Home Directory