From 8688db153f52a5d839ee7b14b478a85dcc3e2f54 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Wed, 31 Mar 2021 14:57:27 -0400 Subject: [PATCH] Pop!_OS Dotfiles Cleanup - Add dracula themes as submodules in ~/.themes folder - Add dracula pro vim theme to dotfiles - Move steam dracula theme to ~/.themes folder - Update bashrc to launch fish shell and set Qt Style - Replace colorscripts with neofetch in fish shell greeting - Fix syntax issue in kitty config - Update neofetch config to print out less --- .bashrc | 9 +- .config/fish/conf.d/dracula.fish | 2 +- .config/fish/config.fish | 11 +- .config/kitty/diff.conf | 19 ++ .config/kitty/kitty.conf | 4 +- .config/neofetch/config.conf | 30 +- .gitmodules | 43 ++- .themes/Dracula | 1 - .themes/dracula-blender | 1 + .themes/dracula-fish | 1 + .themes/dracula-freecad | 1 + .themes/dracula-gnome-terminal | 1 + .themes/dracula-gtk | 1 + .themes/dracula-kitty | 1 + .themes/dracula-latex | 1 + .themes/dracula-libreoffice | 1 + .themes/dracula-matlab | 1 + .themes/dracula-matplotlib | 1 + .../skins/Dracula => .themes/dracula-steam | 0 .themes/dracula-tty | 1 + .themes/dracula-xournalpp | 1 + .vim/pack/themes/start/dracula | 2 +- .../themes/start/dracula_pro/vim/.DS_Store | Bin 0 -> 6148 bytes .../themes/start/dracula_pro/vim/.gitignore | 1 + .../themes/start/dracula_pro/vim/INSTALL.md | 63 ++++ .../vim/after/plugin/dracula_pro.vim | 45 +++ .../dracula_pro/vim/after/syntax/css.vim | 15 + .../vim/after/syntax/gitcommit.vim | 12 + .../dracula_pro/vim/after/syntax/html.vim | 9 + .../vim/after/syntax/javascript.vim | 25 ++ .../dracula_pro/vim/after/syntax/json.vim | 6 + .../dracula_pro/vim/after/syntax/markdown.vim | 50 +++ .../dracula_pro/vim/after/syntax/ocaml.vim | 7 + .../dracula_pro/vim/after/syntax/perl.vim | 38 +++ .../dracula_pro/vim/after/syntax/php.vim | 10 + .../dracula_pro/vim/after/syntax/plantuml.vim | 13 + .../dracula_pro/vim/after/syntax/python.vim | 11 + .../dracula_pro/vim/after/syntax/ruby.vim | 16 + .../dracula_pro/vim/after/syntax/rust.vim | 5 + .../dracula_pro/vim/after/syntax/sass.vim | 12 + .../start/dracula_pro/vim/after/syntax/sh.vim | 8 + .../dracula_pro/vim/after/syntax/tex.vim | 17 + .../vim/after/syntax/typescript.vim | 57 ++++ .../vim/after/syntax/typescriptreact.vim | 10 + .../dracula_pro/vim/after/syntax/vim.vim | 14 + .../dracula_pro/vim/after/syntax/xml.vim | 13 + .../dracula_pro/vim/after/syntax/yaml.vim | 12 + .../autoload/airline/themes/dracula_pro.vim | 150 +++++++++ .../dracula_pro/vim/autoload/dracula_pro.vim | 57 ++++ .../lightline/colorscheme/dracula_pro.vim | 35 ++ .../dracula_pro/vim/colors/dracula_pro.vim | 14 + .../vim/colors/dracula_pro_base.vim | 301 ++++++++++++++++++ .../vim/colors/dracula_pro_blade.vim | 14 + .../vim/colors/dracula_pro_buffy.vim | 14 + .../vim/colors/dracula_pro_lincoln.vim | 14 + .../vim/colors/dracula_pro_morbius.vim | 14 + .../vim/colors/dracula_pro_van_helsing.vim | 14 + .../start/dracula_pro/vim/doc/dracula_pro.txt | 146 +++++++++ .vimrc | 6 +- 59 files changed, 1341 insertions(+), 40 deletions(-) create mode 100644 .config/kitty/diff.conf delete mode 160000 .themes/Dracula create mode 160000 .themes/dracula-blender create mode 160000 .themes/dracula-fish create mode 160000 .themes/dracula-freecad create mode 160000 .themes/dracula-gnome-terminal create mode 160000 .themes/dracula-gtk create mode 160000 .themes/dracula-kitty create mode 160000 .themes/dracula-latex create mode 160000 .themes/dracula-libreoffice create mode 160000 .themes/dracula-matlab create mode 160000 .themes/dracula-matplotlib rename .steam/debian-installation/skins/Dracula => .themes/dracula-steam (100%) create mode 160000 .themes/dracula-tty create mode 160000 .themes/dracula-xournalpp create mode 100644 .vim/pack/themes/start/dracula_pro/vim/.DS_Store create mode 100644 .vim/pack/themes/start/dracula_pro/vim/.gitignore create mode 100644 .vim/pack/themes/start/dracula_pro/vim/INSTALL.md create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/plugin/dracula_pro.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/css.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/gitcommit.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/html.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/javascript.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/json.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/markdown.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/ocaml.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/perl.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/php.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/plantuml.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/python.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/ruby.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/rust.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/sass.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/sh.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/tex.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/typescript.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/typescriptreact.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/vim.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/xml.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/after/syntax/yaml.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/autoload/airline/themes/dracula_pro.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/autoload/dracula_pro.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/autoload/lightline/colorscheme/dracula_pro.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_base.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_blade.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_buffy.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_lincoln.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_morbius.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_van_helsing.vim create mode 100644 .vim/pack/themes/start/dracula_pro/vim/doc/dracula_pro.txt diff --git a/.bashrc b/.bashrc index f805e5e..29a16a8 100644 --- a/.bashrc +++ b/.bashrc @@ -116,8 +116,8 @@ if ! shopt -oq posix; then fi fi -# Run neofetch when opening terminal -neofetch +# # Run neofetch when opening terminal +# neofetch # ALIASES alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' @@ -125,6 +125,7 @@ alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' # EXPORTS export EDITOR="code -w" export TERM=xterm-256color +export QT_STYLE_OVERRIDE=kvantum -# Starship Prompt -eval "$(starship init bash)" +# Set fish as interactive shell only +exec fish diff --git a/.config/fish/conf.d/dracula.fish b/.config/fish/conf.d/dracula.fish index a396547..e467e6d 100644 --- a/.config/fish/conf.d/dracula.fish +++ b/.config/fish/conf.d/dracula.fish @@ -13,13 +13,13 @@ set -l pink ff79c6 # Syntax Highlighting Colors set -g fish_color_normal $foreground set -g fish_color_command $cyan +set -g fish_color_keyword $pink set -g fish_color_quote $yellow set -g fish_color_redirection $foreground set -g fish_color_end $orange set -g fish_color_error $red set -g fish_color_param $purple set -g fish_color_comment $comment -set -g fish_color_match --background=$selection set -g fish_color_selection --background=$selection set -g fish_color_search_match --background=$selection set -g fish_color_operator $green diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 5c4d476..da2abd2 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -2,15 +2,8 @@ # GREETING # ############ function fish_greeting - # Indices of colorscripts that don't block prompt - set colorscript_indices 2 3 5 6 7 13 14 15 16 17 18 19 20 21 22 23 25 26 27 28 29 30 31 36 37 38 39 40 41 43 44 46 47 48 49 50 51 - # Get length of array - set length (count $colorscript_indices) - # Randomly select array index - set i (math (random) % $length + 1) - # Output randomly selected colorscript from approved list - colorscript -e $colorscript_indices[$i] - # Output swimming fish string + clear + neofetch echo "¸.·´¯`·.´¯`·.¸¸.·´¯`·.¸><(((º>" end diff --git a/.config/kitty/diff.conf b/.config/kitty/diff.conf new file mode 100644 index 0000000..5fec447 --- /dev/null +++ b/.config/kitty/diff.conf @@ -0,0 +1,19 @@ +foreground #f8f8f2 +background #282a36 +title_fg #f8f8f2 +title_bg #282a36 +margin_bg #6272a4 +margin_fg #44475a +removed_bg #ff5555 +highlight_removed_bg #ff5555 +removed_margin_bg #ff5555 +added_bg #50fa7b +highlight_added_bg #50fa7b +added_margin_bg #50fa7b +filler_bg #44475a +hunk_margin_bg #44475a +hunk_bg #bd93f9 +search_bg #8be9fd +search_fg #282a36 +select_bg #f1fa8c +select_fg #282a36 diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 36ba011..6ea9ed1 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -427,7 +427,7 @@ window_resize_step_lines 2 #: resizing windows. The cells value is used for horizontal resizing #: and the lines value for vertical resizing. -window_border_width 0.5pt +window_border_width 0.5 #: The width of window borders. Can be either in pixels (px) or pts #: (pt). Values in pts will be rounded to the nearest number of pixels @@ -1311,4 +1311,4 @@ map kitty_mod+delete clear_terminal reset active # }}} -include dracula.conf \ No newline at end of file +include dracula.conf diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf index 07e31b2..250ac0b 100644 --- a/.config/neofetch/config.conf +++ b/.config/neofetch/config.conf @@ -10,29 +10,29 @@ print_info() { info "Uptime" uptime info "Packages" packages info "Shell" shell - info "Resolution" resolution - info "DE" de - info "WM" wm - info "WM Theme" wm_theme - info "Theme" theme - info "Icons" icons - info "Terminal" term - info "Terminal Font" term_font - info "CPU" cpu - info "GPU" gpu + # info "Resolution" resolution + # info "DE" de + # info "WM" wm + # info "WM Theme" wm_theme + # info "Theme" theme + # info "Icons" icons + # info "Terminal" term + # info "Terminal Font" term_font + # info "CPU" cpu + # info "GPU" gpu + # info "GPU Driver" gpu_driver # Linux/macOS only + info "CPU Usage" cpu_usage info "Memory" memory - info "GPU Driver" gpu_driver # Linux/macOS only - # info "CPU Usage" cpu_usage - # info "Disk" disk + info "Disk" disk info "Battery" battery - info "Font" font + # info "Font" font # info "Song" song # [[ "$player" ]] && prin "Music Player" "$player" # info "Local IP" local_ip # info "Public IP" public_ip # info "Users" users # info "Locale" locale # This only works on glibc systems. - # info cols + info cols } # Title diff --git a/.gitmodules b/.gitmodules index 09dd45c..7d28310 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,42 @@ [submodule ".vim/pack/themes/start/dracula"] path = .vim/pack/themes/start/dracula url = git@github.com:dracula/vim.git -[submodule ".themes/Dracula"] - path = .themes/Dracula +[submodule ".themes/dracula-blender"] + path = .themes/dracula-blender + url = git@github.com:dracula/blender.git +[submodule ".themes/dracula-freecad"] + path = .themes/dracula-freecad + url = git@github.com:dracula/freecad.git +[submodule ".themes/dracula-gnome-terminal"] + path = .themes/dracula-gnome-terminal + url = git@github.com:dracula/gnome-terminal.git +[submodule ".themes/dracula-xournalpp"] + path = .themes/dracula-xournalpp + url = git@github.com:dracula/xournalpp.git +[submodule ".themes/dracula-steam"] + path = .themes/dracula-steam + url = git@github.com:dracula/steam.git +[submodule ".themes/dracula-gtk"] + path = .themes/dracula-gtk url = git@github.com:dracula/gtk.git -[submodule ".steam/steam/skins/Dracula"] - path = .steam/steam/skins/Dracula - url = git@github.com:dracula/steam.git +[submodule ".themes/dracula-fish"] + path = .themes/dracula-fish + url = git@github.com:dracula/fish.git +[submodule ".themes/dracula-kitty"] + path = .themes/dracula-kitty + url = git@github.com:dracula/kitty.git +[submodule ".themes/dracula-libreoffice"] + path = .themes/dracula-libreoffice + url = git@github.com:dracula/libreoffice.git +[submodule ".themes/dracula-tty"] + path = .themes/dracula-tty + url = git@github.com:dracula/tty.git +[submodule ".themes/dracula-latex"] + path = .themes/dracula-latex + url = git@github.com:dracula/latex.git +[submodule ".themes/dracula-matplotlib"] + path = .themes/dracula-matplotlib + url = git@github.com:dracula/matplotlib.git +[submodule ".themes/dracula-matlab"] + path = .themes/dracula-matlab + url = git@github.com:dracula/matlab.git diff --git a/.themes/Dracula b/.themes/Dracula deleted file mode 160000 index ab2efe3..0000000 --- a/.themes/Dracula +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ab2efe3ff5a1ce06a9f49c5d71be4a819b04a105 diff --git a/.themes/dracula-blender b/.themes/dracula-blender new file mode 160000 index 0000000..624a3c5 --- /dev/null +++ b/.themes/dracula-blender @@ -0,0 +1 @@ +Subproject commit 624a3c5065e57a2f1dc160b6e827ccb7c12f255e diff --git a/.themes/dracula-fish b/.themes/dracula-fish new file mode 160000 index 0000000..28db361 --- /dev/null +++ b/.themes/dracula-fish @@ -0,0 +1 @@ +Subproject commit 28db361b55bb49dbfd7a679ebec9140be8c2d593 diff --git a/.themes/dracula-freecad b/.themes/dracula-freecad new file mode 160000 index 0000000..30b19d6 --- /dev/null +++ b/.themes/dracula-freecad @@ -0,0 +1 @@ +Subproject commit 30b19d6e6e007144ffac871b3a79a8ace0206d96 diff --git a/.themes/dracula-gnome-terminal b/.themes/dracula-gnome-terminal new file mode 160000 index 0000000..4dfebf1 --- /dev/null +++ b/.themes/dracula-gnome-terminal @@ -0,0 +1 @@ +Subproject commit 4dfebf1c4a8e52a89353e0646b6f241b006868e8 diff --git a/.themes/dracula-gtk b/.themes/dracula-gtk new file mode 160000 index 0000000..123f8ce --- /dev/null +++ b/.themes/dracula-gtk @@ -0,0 +1 @@ +Subproject commit 123f8ce56e79928421b57726a58dd1cc06f51bd9 diff --git a/.themes/dracula-kitty b/.themes/dracula-kitty new file mode 160000 index 0000000..6d6239a --- /dev/null +++ b/.themes/dracula-kitty @@ -0,0 +1 @@ +Subproject commit 6d6239abe975e168e6ffb8b19c03a997bbe88fe6 diff --git a/.themes/dracula-latex b/.themes/dracula-latex new file mode 160000 index 0000000..bff3dbb --- /dev/null +++ b/.themes/dracula-latex @@ -0,0 +1 @@ +Subproject commit bff3dbbffd63a8242c74f79c07982ee2b0dfd269 diff --git a/.themes/dracula-libreoffice b/.themes/dracula-libreoffice new file mode 160000 index 0000000..cbe293c --- /dev/null +++ b/.themes/dracula-libreoffice @@ -0,0 +1 @@ +Subproject commit cbe293cb92b8cec80bc8a473289647d98e9df4da diff --git a/.themes/dracula-matlab b/.themes/dracula-matlab new file mode 160000 index 0000000..bb30e9b --- /dev/null +++ b/.themes/dracula-matlab @@ -0,0 +1 @@ +Subproject commit bb30e9b4153eb52c78faad93c5ef3403d3d850b3 diff --git a/.themes/dracula-matplotlib b/.themes/dracula-matplotlib new file mode 160000 index 0000000..cbc8019 --- /dev/null +++ b/.themes/dracula-matplotlib @@ -0,0 +1 @@ +Subproject commit cbc801991b6054e15075d7eeb909b5c760fc2842 diff --git a/.steam/debian-installation/skins/Dracula b/.themes/dracula-steam similarity index 100% rename from .steam/debian-installation/skins/Dracula rename to .themes/dracula-steam diff --git a/.themes/dracula-tty b/.themes/dracula-tty new file mode 160000 index 0000000..f0aa77e --- /dev/null +++ b/.themes/dracula-tty @@ -0,0 +1 @@ +Subproject commit f0aa77e23896c0b60ad342f89405e5c7d2296019 diff --git a/.themes/dracula-xournalpp b/.themes/dracula-xournalpp new file mode 160000 index 0000000..045fa9a --- /dev/null +++ b/.themes/dracula-xournalpp @@ -0,0 +1 @@ +Subproject commit 045fa9a477e923c5f9576da348014e202225974e diff --git a/.vim/pack/themes/start/dracula b/.vim/pack/themes/start/dracula index 494dbe9..ab37ffc 160000 --- a/.vim/pack/themes/start/dracula +++ b/.vim/pack/themes/start/dracula @@ -1 +1 @@ -Subproject commit 494dbe9d4effff140ffe6743b614d900a0f34dd7 +Subproject commit ab37ffc5aeb1693002f30254b3b9992965f45d5d diff --git a/.vim/pack/themes/start/dracula_pro/vim/.DS_Store b/.vim/pack/themes/start/dracula_pro/vim/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..ed45ebaffbf8dc7dd0d2efc4898982b808bc2e53 GIT binary patch literal 6148 zcmeHK%}&EG40g7HCdOeW#Erbcv;+4rl_%H>tZO$owCXh2y^pZ>;l@jG<#S>I>5sS} z1h(XSX>7;tCpB(}$SjY=f@nrW6DVVHfuTp(&f1ZYtZ=aLdmPG##VW6>eaBZ9lmTVn z_c6fV?ippYqi5Pu>-)XEjIC9jrkk?fV3iMq({%oN*Y+sB@z_6pIU&p%;n*vqBl6c& zLNhAjQ{?8Y&u5^P&R$jBTT#a^s*4=gbxyg|bfBlWrunvQAE+nVW1yDEC$8hfb&RP% z9eG^A)yt=4Ah*N~WEE?i&vHJM|G@xyHp^rhP)B7z8Bhj37~u24LK&T46VM+W7)E$x zd&0#eon9n7{bZ;%-BaV8@ZtvpB?MgyOVJN zbyNnFftZ1Dc${(nzaPH;$3gm}3@8JCiUE_Pt8|H1lHS^RIqtO"']\@=+ + \ matchgroup=xmlTag end=+>+ diff --git a/.vim/pack/themes/start/dracula_pro/vim/after/syntax/yaml.vim b/.vim/pack/themes/start/dracula_pro/vim/after/syntax/yaml.vim new file mode 100644 index 0000000..6e9524d --- /dev/null +++ b/.vim/pack/themes/start/dracula_pro/vim/after/syntax/yaml.vim @@ -0,0 +1,12 @@ +if dracula_pro#should_abort('yaml') + finish +endif + +hi! link yamlAlias DraculaGreenItalicUnderline +hi! link yamlAnchor DraculaPinkItalic +hi! link yamlBlockMappingKey DraculaCyan +hi! link yamlFlowCollection DraculaPink +hi! link yamlFlowIndicator Delimiter +hi! link yamlNodeTag DraculaPink +hi! link yamlPlainScalar DraculaYellow + diff --git a/.vim/pack/themes/start/dracula_pro/vim/autoload/airline/themes/dracula_pro.vim b/.vim/pack/themes/start/dracula_pro/vim/autoload/airline/themes/dracula_pro.vim new file mode 100644 index 0000000..d079cdd --- /dev/null +++ b/.vim/pack/themes/start/dracula_pro/vim/autoload/airline/themes/dracula_pro.vim @@ -0,0 +1,150 @@ +" Helpers: {{{ + +" Takes a foreground color name, background color name, and optionally one or +" more attr-list items as input, transforms it to the format accepted by +" airline#themes#generate_color_map and returns that value +func! s:clr(fg, bg, ...) + let l:fg = g:dracula_pro#palette[a:fg] + let l:bg = g:dracula_pro#palette[a:bg] + return [ l:fg[0], l:bg[0], l:fg[1], l:bg[1] ] + + \ filter(copy(a:000), 'type(v:val) == 1 && len(v:val) > 0') +endfunc + +" Takes three ['fg', 'bg'] color lists and optionally a dictionary of extra +" key-value pairs and returns the value generated by +" airline#themes#generate_color_map after optionally merging the dictionary of +" extra key-value pairs. +" +" a:a -> airline_a, airline_x +" a:b -> airline_b, airline_y +" a:c -> airline_c, airline_z +func! s:color_map(a, b, c, ...) + if a:0 == 0 + return call('airline#themes#generate_color_map', [call('s:clr', a:a), call('s:clr', a:b), call('s:clr', a:c)]) + else + return call('extend', [ call('airline#themes#generate_color_map', [call('s:clr', a:a), call('s:clr', a:b), call('s:clr', a:c)]) ] + a:000) + endif +endfunc + +"}}} + +let g:airline#themes#dracula_pro#palette = { +\ 'normal': s:color_map( +\ ['bg', 'purple'], +\ ['fg', 'comment'], +\ ['fg', 'selection'], +\ { +\ 'airline_warning': s:clr('bg', 'orange'), +\ 'airline_error': s:clr('bg', 'red'), +\ }, +\ ), +\ 'normal_modified': s:color_map( +\ ['bg', 'purple'], +\ ['fg', 'comment'], +\ ['fg', 'bgdark'], +\ { +\ 'airline_warning': s:clr('bg', 'orange'), +\ 'airline_error': s:clr('bg', 'red'), +\ }, +\ ), +\ 'insert': s:color_map( +\ ['bg', 'green'], +\ ['fg', 'comment'], +\ ['fg', 'selection'], +\ { +\ 'airline_warning': s:clr('bg', 'orange'), +\ 'airline_error': s:clr('bg', 'red'), +\ }, +\ ), +\ 'insert_modified': s:color_map( +\ ['bg', 'green'], +\ ['fg', 'comment'], +\ ['fg', 'bgdark'], +\ { +\ 'airline_warning': s:clr('bg', 'orange'), +\ 'airline_error': s:clr('bg', 'red'), +\ }, +\ ), +\ 'replace': s:color_map( +\ ['bg', 'orange'], +\ ['fg', 'comment'], +\ ['fg', 'selection'], +\ { +\ 'airline_warning': s:clr('bg', 'orange'), +\ 'airline_error': s:clr('bg', 'red'), +\ }, +\ ), +\ 'replace_modified': s:color_map( +\ ['bg', 'orange'], +\ ['fg', 'comment'], +\ ['fg', 'bgdark'], +\ { +\ 'airline_warning': s:clr('bg', 'orange'), +\ 'airline_error': s:clr('bg', 'red'), +\ }, +\ ), +\ 'visual': s:color_map( +\ ['bg', 'yellow'], +\ ['fg', 'comment'], +\ ['fg', 'selection'], +\ { +\ 'airline_warning': s:clr('bg', 'orange'), +\ 'airline_error': s:clr('bg', 'red'), +\ }, +\ ), +\ 'visual_modified': s:color_map( +\ ['bg', 'yellow'], +\ ['fg', 'comment'], +\ ['fg', 'bgdark'], +\ { +\ 'airline_warning': s:clr('bg', 'orange'), +\ 'airline_error': s:clr('bg', 'red'), +\ }, +\ ), +\ 'inactive': s:color_map( +\ ['bg', 'comment'], +\ ['fg', 'bgdark'], +\ ['fg', 'selection'], +\ { +\ 'airline_warning': s:clr('bg', 'orange'), +\ 'airline_error': s:clr('bg', 'red'), +\ }, +\ ), +\ 'terminal': s:color_map( +\ ['bg', 'purple'], +\ ['fg', 'comment'], +\ ['fg', 'selection'], +\ { +\ 'airline_term': s:clr('fg', 'selection'), +\ }, +\ ), +\} + +" Extensions: {{{ +" Tabline: {{{ +if get(g:, 'airline#extensions#tabline#enabled', 0) + let g:airline#themes#dracula_pro#palette.tabline = { + \ 'airline_tabfill': s:clr('bg', 'bglight'), + \ + \ 'airline_tab': s:clr('comment', 'bg'), + \ 'airline_tabsel': s:clr('bg', 'purple'), + \ 'airline_tabmod': s:clr('green', 'bg'), + \ + \ 'airline_tab_right': s:clr('comment', 'bg'), + \ 'airline_tabsel_right': s:clr('fg', 'bg', ), + \ 'airline_tabmod_right': s:clr('green', 'bg'), + \} +endif +"}}} +" CtrlP: {{{2 +if exists('g:loaded_ctrlp') + let g:airline#themes#dracula_pro#palette.ctrlp = airline#extensions#ctrlp#generate_color_map( + \ s:clr('fg', 'selection'), + \ s:clr('fg', 'comment'), + \ s:clr('fg', 'purple'), + \) +endif +"}}}2 +"}}} + +" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0: diff --git a/.vim/pack/themes/start/dracula_pro/vim/autoload/dracula_pro.vim b/.vim/pack/themes/start/dracula_pro/vim/autoload/dracula_pro.vim new file mode 100644 index 0000000..227b564 --- /dev/null +++ b/.vim/pack/themes/start/dracula_pro/vim/autoload/dracula_pro.vim @@ -0,0 +1,57 @@ +" Palette: {{{ + +let g:dracula_pro#palette = {} +let g:dracula_pro#palette.fg = ['#F8F8F2', 231] + +let g:dracula_pro#palette.bglighter = ['#393649', 59] +let g:dracula_pro#palette.bglight = ['#2E2B3B', 59] +let g:dracula_pro#palette.bg = ['#22212C', 59] +let g:dracula_pro#palette.bgdark = ['#17161D', 17] +let g:dracula_pro#palette.bgdarker = ['#0B0B0F', 16] + +let g:dracula_pro#palette.comment = ['#7970A9', 103] +let g:dracula_pro#palette.selection = ['#454158', 60] +let g:dracula_pro#palette.subtle = ['#424450', 60] + +let g:dracula_pro#palette.cyan = ['#80FFEA', 159] +let g:dracula_pro#palette.green = ['#8AFF80', 157] +let g:dracula_pro#palette.orange = ['#FFCA80', 223] +let g:dracula_pro#palette.pink = ['#FF80BF', 218] +let g:dracula_pro#palette.purple = ['#9580FF', 147] +let g:dracula_pro#palette.red = ['#FF9580', 217] +let g:dracula_pro#palette.yellow = ['#FFFF80', 229] + +" +" ANSI +" +let g:dracula_pro#palette.color_0 = '#454158' +let g:dracula_pro#palette.color_1 = '#FF9580' +let g:dracula_pro#palette.color_2 = '#8AFF80' +let g:dracula_pro#palette.color_3 = '#FFFF80' +let g:dracula_pro#palette.color_4 = '#9580FF' +let g:dracula_pro#palette.color_5 = '#FF80BF' +let g:dracula_pro#palette.color_6 = '#80FFEA' +let g:dracula_pro#palette.color_7 = '#F8F8F2' +let g:dracula_pro#palette.color_8 = '#7970A9' +let g:dracula_pro#palette.color_9 = '#FFAA99' +let g:dracula_pro#palette.color_10 = '#A2FF99' +let g:dracula_pro#palette.color_11 = '#FFFF99' +let g:dracula_pro#palette.color_12 = '#AA99FF' +let g:dracula_pro#palette.color_13 = '#FF99CC' +let g:dracula_pro#palette.color_14 = '#99FFEE' +let g:dracula_pro#palette.color_15 = '#FFFFFF' + +" }}} + +" Helper function that takes a variadic list of filetypes as args and returns +" whether or not the execution of the ftplugin should be aborted. +func! dracula_pro#should_abort(...) + if ! exists('g:colors_name') || g:colors_name !~# 'dracula_pro.*' + return 1 + elseif a:0 > 0 && (! exists('b:current_syntax') || index(a:000, b:current_syntax) == -1) + return 1 + endif + return 0 +endfunction + +" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0: diff --git a/.vim/pack/themes/start/dracula_pro/vim/autoload/lightline/colorscheme/dracula_pro.vim b/.vim/pack/themes/start/dracula_pro/vim/autoload/lightline/colorscheme/dracula_pro.vim new file mode 100644 index 0000000..be7b584 --- /dev/null +++ b/.vim/pack/themes/start/dracula_pro/vim/autoload/lightline/colorscheme/dracula_pro.vim @@ -0,0 +1,35 @@ +let s:black = g:dracula_pro#palette.bg +let s:gray = g:dracula_pro#palette.selection +let s:white = g:dracula_pro#palette.fg +let s:darkblue = g:dracula_pro#palette.comment +let s:cyan = g:dracula_pro#palette.cyan +let s:green = g:dracula_pro#palette.green +let s:orange = g:dracula_pro#palette.orange +let s:purple = g:dracula_pro#palette.purple +let s:red = g:dracula_pro#palette.red +let s:yellow = g:dracula_pro#palette.yellow + +if exists('g:lightline') + + let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}} + let s:p.normal.left = [ [ s:black, s:purple ], [ s:cyan, s:gray ] ] + let s:p.normal.right = [ [ s:black, s:purple ], [ s:white, s:darkblue ] ] + let s:p.inactive.right = [ [ s:black, s:darkblue ], [ s:white, s:black ] ] + let s:p.inactive.left = [ [ s:cyan, s:black ], [ s:white, s:black ] ] + let s:p.insert.left = [ [ s:black, s:green ], [ s:cyan, s:gray ] ] + let s:p.replace.left = [ [ s:black, s:red ], [ s:cyan, s:gray ] ] + let s:p.visual.left = [ [ s:black, s:orange ], [ s:cyan, s:gray ] ] + let s:p.normal.middle = [ [ s:white, s:gray ] ] + let s:p.inactive.middle = [ [ s:white, s:gray ] ] + let s:p.tabline.left = [ [ s:darkblue, s:gray ] ] + let s:p.tabline.tabsel = [ [ s:cyan, s:black ] ] + let s:p.tabline.middle = [ [ s:darkblue, s:gray ] ] + let s:p.tabline.right = copy(s:p.normal.right) + let s:p.normal.error = [ [ s:red, s:black ] ] + let s:p.normal.warning = [ [ s:yellow, s:black ] ] + + let g:lightline#colorscheme#dracula_pro#palette = lightline#colorscheme#flatten(s:p) + +endif + +" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0: diff --git a/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro.vim b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro.vim new file mode 100644 index 0000000..953fb03 --- /dev/null +++ b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro.vim @@ -0,0 +1,14 @@ +runtime autoload/dracula_pro.vim + +let g:dracula_pro#palette.comment = ['#7970A9', 103] +let g:dracula_pro#palette.selection = ['#454158', 60] + +let g:dracula_pro#palette.bglighter = ['#393649', 59] +let g:dracula_pro#palette.bglight = ['#2E2B3B', 59] +let g:dracula_pro#palette.bg = ['#22212C', 59] +let g:dracula_pro#palette.bgdark = ['#17161D', 17] +let g:dracula_pro#palette.bgdarker = ['#0B0B0F', 16] + +runtime colors/dracula_pro_base.vim + +let g:colors_name = 'dracula_pro' diff --git a/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_base.vim b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_base.vim new file mode 100644 index 0000000..d6c8014 --- /dev/null +++ b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_base.vim @@ -0,0 +1,301 @@ +" Configuration: {{{ + +if v:version > 580 + highlight clear + if exists('syntax_on') + syntax reset + endif +endif + +let g:colors_name = 'dracula_pro' + +if !(has('termguicolors') && &termguicolors) && !has('gui_running') && &t_Co != 256 + finish +endif + +" Palette: {{{2 + +let s:fg = g:dracula_pro#palette.fg + +let s:bglighter = g:dracula_pro#palette.bglighter +let s:bglight = g:dracula_pro#palette.bglight +let s:bg = g:dracula_pro#palette.bg +let s:bgdark = g:dracula_pro#palette.bgdark +let s:bgdarker = g:dracula_pro#palette.bgdarker + +let s:comment = g:dracula_pro#palette.comment +let s:selection = g:dracula_pro#palette.selection +let s:subtle = g:dracula_pro#palette.subtle + +let s:cyan = g:dracula_pro#palette.cyan +let s:green = g:dracula_pro#palette.green +let s:orange = g:dracula_pro#palette.orange +let s:pink = g:dracula_pro#palette.pink +let s:purple = g:dracula_pro#palette.purple +let s:red = g:dracula_pro#palette.red +let s:yellow = g:dracula_pro#palette.yellow + +let s:none = ['NONE', 'NONE'] + +if has('nvim') + for s:i in range(16) + let g:terminal_color_{s:i} = g:dracula_pro#palette['color_' . s:i] + endfor +endif + +if has('terminal') + let g:terminal_ansi_colors = [] + for s:i in range(16) + call add(g:terminal_ansi_colors, g:dracula_pro#palette['color_' . s:i]) + endfor +endif + +" }}}2 +" User Configuration: {{{2 + +if !exists('g:dracula_bold') + let g:dracula_bold = 1 +endif + +if !exists('g:dracula_italic') + let g:dracula_italic = 1 +endif + +if !exists('g:dracula_underline') + let g:dracula_underline = 1 +endif + +if !exists('g:dracula_undercurl') && g:dracula_underline != 0 + let g:dracula_undercurl = 1 +endif + +if !exists('g:dracula_inverse') + let g:dracula_inverse = 1 +endif + +if !exists('g:dracula_colorterm') + let g:dracula_colorterm = 1 +endif + +"}}}2 +" Script Helpers: {{{2 + +let s:attrs = { + \ 'bold': g:dracula_bold == 1 ? 'bold' : 0, + \ 'italic': g:dracula_italic == 1 ? 'italic' : 0, + \ 'underline': g:dracula_underline == 1 ? 'underline' : 0, + \ 'undercurl': g:dracula_undercurl == 1 ? 'undercurl' : 0, + \ 'inverse': g:dracula_inverse == 1 ? 'inverse' : 0, + \} + +function! s:h(scope, fg, ...) " bg, attr_list, special + let l:fg = copy(a:fg) + let l:bg = get(a:, 1, ['NONE', 'NONE']) + + let l:attr_list = filter(get(a:, 2, ['NONE']), 'type(v:val) == 1') + let l:attrs = len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE' + + " Falls back to coloring foreground group on terminals because + " nearly all do not support undercurl + let l:special = get(a:, 3, ['NONE', 'NONE']) + if l:special[0] !=# 'NONE' && l:fg[0] ==# 'NONE' && !has('gui_running') + let l:fg[0] = l:special[0] + let l:fg[1] = l:special[1] + endif + + let l:hl_string = [ + \ 'highlight!', a:scope, + \ 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1], + \ 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1], + \ 'gui=' . l:attrs, 'cterm=' . l:attrs, + \ 'guisp=' . l:special[0], + \] + + execute join(l:hl_string, ' ') +endfunction + +"}}}2 +" Dracula Highlight Groups: {{{2 + +call s:h('DraculaBgLight', s:none, s:bglight) +call s:h('DraculaBgLighter', s:none, s:bglighter) +call s:h('DraculaBgDark', s:none, s:bgdark) +call s:h('DraculaBgDarker', s:none, s:bgdarker) + +call s:h('DraculaFg', s:fg) +call s:h('DraculaFgUnderline', s:fg, s:none, [s:attrs.underline]) +call s:h('DraculaFgBold', s:fg, s:none, [s:attrs.bold]) + +call s:h('DraculaComment', s:comment) +call s:h('DraculaCommentBold', s:comment, s:none, [s:attrs.bold]) + +call s:h('DraculaSelection', s:none, s:selection) + +call s:h('DraculaSubtle', s:subtle) + +call s:h('DraculaCyan', s:cyan) +call s:h('DraculaCyanItalic', s:cyan, s:none, [s:attrs.italic]) + +call s:h('DraculaGreen', s:green) +call s:h('DraculaGreenBold', s:green, s:none, [s:attrs.bold]) +call s:h('DraculaGreenItalic', s:green, s:none, [s:attrs.italic]) +call s:h('DraculaGreenItalicUnderline', s:green, s:none, [s:attrs.italic, s:attrs.underline]) + +call s:h('DraculaOrange', s:orange) +call s:h('DraculaOrangeBold', s:orange, s:none, [s:attrs.bold]) +call s:h('DraculaOrangeItalic', s:orange, s:none, [s:attrs.italic]) +call s:h('DraculaOrangeBoldItalic', s:orange, s:none, [s:attrs.bold, s:attrs.italic]) +call s:h('DraculaOrangeInverse', s:bg, s:orange) + +call s:h('DraculaPink', s:pink) +call s:h('DraculaPinkItalic', s:pink, s:none, [s:attrs.italic]) + +call s:h('DraculaPurple', s:purple) +call s:h('DraculaPurpleBold', s:purple, s:none, [s:attrs.bold]) +call s:h('DraculaPurpleItalic', s:purple, s:none, [s:attrs.italic]) + +call s:h('DraculaRed', s:red) +call s:h('DraculaRedInverse', s:fg, s:red) + +call s:h('DraculaYellow', s:yellow) +call s:h('DraculaYellowItalic', s:yellow, s:none, [s:attrs.italic]) + +call s:h('DraculaError', s:red, s:none, [], s:red) + +call s:h('DraculaErrorLine', s:none, s:none, [s:attrs.undercurl], s:red) +call s:h('DraculaWarnLine', s:none, s:none, [s:attrs.undercurl], s:orange) +call s:h('DraculaInfoLine', s:none, s:none, [s:attrs.undercurl], s:cyan) + +call s:h('DraculaTodo', s:cyan, s:none, [s:attrs.bold, s:attrs.inverse]) +call s:h('DraculaSearch', s:green, s:none, [s:attrs.inverse]) +call s:h('DraculaBoundary', s:comment, s:bgdark) +call s:h('DraculaLink', s:cyan, s:none, [s:attrs.underline]) + +call s:h('DraculaDiffChange', s:orange, s:none) +call s:h('DraculaDiffText', s:bg, s:orange) +call s:h('DraculaDiffDelete', s:red, s:bgdark) + +" }}}2 + +" }}} +" User Interface: {{{ + +set background=dark + +" Required as some plugins will overwrite +call s:h('Normal', s:fg, g:dracula_colorterm || has('gui_running') ? s:bg : s:none ) +call s:h('StatusLine', s:none, s:bglighter, [s:attrs.bold]) +call s:h('StatusLineNC', s:none, s:bglight) +call s:h('StatusLineTerm', s:none, s:bglighter, [s:attrs.bold]) +call s:h('StatusLineTermNC', s:none, s:bglight) +call s:h('WildMenu', s:bg, s:purple, [s:attrs.bold]) +call s:h('CursorLine', s:none, s:subtle) + +hi! link ColorColumn DraculaBgDark +hi! link CursorColumn CursorLine +hi! link CursorLineNr DraculaYellow +hi! link DiffAdd DraculaGreen +hi! link DiffAdded DiffAdd +hi! link DiffChange DraculaDiffChange +hi! link DiffDelete DraculaDiffDelete +hi! link DiffRemoved DiffDelete +hi! link DiffText DraculaDiffText +hi! link Directory DraculaPurpleBold +hi! link ErrorMsg DraculaRedInverse +hi! link FoldColumn DraculaSubtle +hi! link Folded DraculaBoundary +hi! link IncSearch DraculaOrangeInverse +call s:h('LineNr', s:comment) +hi! link MoreMsg DraculaFgBold +hi! link NonText DraculaSubtle +hi! link Pmenu DraculaBgDark +hi! link PmenuSbar DraculaBgDark +hi! link PmenuSel DraculaSelection +hi! link PmenuThumb DraculaSelection +hi! link Question DraculaFgBold +hi! link Search DraculaSearch +call s:h('SignColumn', s:comment) +hi! link TabLine DraculaBoundary +hi! link TabLineFill DraculaBgDarker +hi! link TabLineSel Normal +hi! link Title DraculaGreenBold +hi! link VertSplit DraculaBoundary +hi! link Visual DraculaSelection +hi! link VisualNOS Visual +hi! link WarningMsg DraculaOrangeInverse + +" }}} +" Syntax: {{{ + +" Required as some plugins will overwrite +call s:h('MatchParen', s:green, s:none, [s:attrs.underline]) +call s:h('Conceal', s:cyan, s:none) + +" Neovim uses SpecialKey for escape characters only. Vim uses it for that, plus whitespace. +if has('nvim') + hi! link SpecialKey DraculaRed + hi! link LspDiagnosticsUnderline DraculaFgUnderline + hi! link LspDiagnosticsInformation DraculaCyan + hi! link LspDiagnosticsHint DraculaCyan + hi! link LspDiagnosticsError DraculaError + hi! link LspDiagnosticsWarning DraculaOrange + hi! link LspDiagnosticsUnderlineError DraculaErrorLine + hi! link LspDiagnosticsUnderlineHint DraculaInfoLine + hi! link LspDiagnosticsUnderlineInformation DraculaInfoLine + hi! link LspDiagnosticsUnderlineWarning DraculaWarnLine +else + hi! link SpecialKey DraculaSubtle +endif + +hi! link Comment DraculaComment +hi! link Underlined DraculaFgUnderline +hi! link Todo DraculaTodo + +hi! link Error DraculaError +hi! link SpellBad DraculaErrorLine +hi! link SpellLocal DraculaWarnLine +hi! link SpellCap DraculaInfoLine +hi! link SpellRare DraculaInfoLine + +hi! link Constant DraculaPurple +hi! link String DraculaYellow +hi! link Character DraculaPink +hi! link Number Constant +hi! link Boolean Constant +hi! link Float Constant + +hi! link Identifier DraculaFg +hi! link Function DraculaGreen + +hi! link Statement DraculaPink +hi! link Conditional DraculaPink +hi! link Repeat DraculaPink +hi! link Label DraculaPink +hi! link Operator DraculaPink +hi! link Keyword DraculaPink +hi! link Exception DraculaPink + +hi! link PreProc DraculaPink +hi! link Include DraculaPink +hi! link Define DraculaPink +hi! link Macro DraculaPink +hi! link PreCondit DraculaPink +hi! link StorageClass DraculaPink +hi! link Structure DraculaPink +hi! link Typedef DraculaPink + +hi! link Type DraculaCyanItalic + +hi! link Delimiter DraculaFg + +hi! link Special DraculaPink +hi! link SpecialComment DraculaCyanItalic +hi! link Tag DraculaCyan +hi! link helpHyperTextJump DraculaLink +hi! link helpCommand DraculaPurple +hi! link helpExample DraculaGreen +hi! link helpBacktick Special + +"}}} + +" vim: fdm=marker ts=2 sts=2 sw=2 fdl=0 et: diff --git a/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_blade.vim b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_blade.vim new file mode 100644 index 0000000..7b45d41 --- /dev/null +++ b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_blade.vim @@ -0,0 +1,14 @@ +runtime autoload/dracula_pro.vim + +let g:dracula_pro#palette.comment = ['#70A99F', 109] +let g:dracula_pro#palette.selection = ['#415854', 66] + +let g:dracula_pro#palette.bglighter = ['#364946', 59] +let g:dracula_pro#palette.bglight = ['#2B3B38', 59] +let g:dracula_pro#palette.bg = ['#212C2A', 59] +let g:dracula_pro#palette.bgdark = ['#161D1C', 23] +let g:dracula_pro#palette.bgdarker = ['#0B0F0E', 16] + +runtime colors/dracula_pro_base.vim + +let g:colors_name = 'dracula_pro_blade' diff --git a/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_buffy.vim b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_buffy.vim new file mode 100644 index 0000000..2cd08f7 --- /dev/null +++ b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_buffy.vim @@ -0,0 +1,14 @@ +runtime autoload/dracula_pro.vim + +let g:dracula_pro#palette.comment = ['#9F70A9', 139] +let g:dracula_pro#palette.selection = ['#544158', 96] + +let g:dracula_pro#palette.bglighter = ['#463649', 59] +let g:dracula_pro#palette.bglight = ['#382B3B', 59] +let g:dracula_pro#palette.bg = ['#2A212C', 59] +let g:dracula_pro#palette.bgdark = ['#1C161D', 53] +let g:dracula_pro#palette.bgdarker = ['#0E0B0F', 16] + +runtime colors/dracula_pro_base.vim + +let g:colors_name = 'dracula_pro_buffy' diff --git a/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_lincoln.vim b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_lincoln.vim new file mode 100644 index 0000000..a93ed1c --- /dev/null +++ b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_lincoln.vim @@ -0,0 +1,14 @@ +runtime autoload/dracula_pro.vim + +let g:dracula_pro#palette.comment = ['#A99F70', 144] +let g:dracula_pro#palette.selection = ['#585441', 101] + +let g:dracula_pro#palette.bglighter = ['#494636', 59] +let g:dracula_pro#palette.bglight = ['#3B382B', 59] +let g:dracula_pro#palette.bg = ['#2C2A21', 59] +let g:dracula_pro#palette.bgdark = ['#1D1C16', 58] +let g:dracula_pro#palette.bgdarker = ['#0F0E0B', 16] + +runtime colors/dracula_pro_base.vim + +let g:colors_name = 'dracula_pro_lincoln' diff --git a/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_morbius.vim b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_morbius.vim new file mode 100644 index 0000000..cb6baa4 --- /dev/null +++ b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_morbius.vim @@ -0,0 +1,14 @@ +runtime autoload/dracula_pro.vim + +let g:dracula_pro#palette.comment = ['#A97079', 138] +let g:dracula_pro#palette.selection = ['#584145', 95] + +let g:dracula_pro#palette.bglighter = ['#493639', 59] +let g:dracula_pro#palette.bglight = ['#3B2B2E', 59] +let g:dracula_pro#palette.bg = ['#2C2122', 59] +let g:dracula_pro#palette.bgdark = ['#1D1617', 52] +let g:dracula_pro#palette.bgdarker = ['#0F0B0B', 16] + +runtime colors/dracula_pro_base.vim + +let g:colors_name = 'dracula_pro_morbius' diff --git a/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_van_helsing.vim b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_van_helsing.vim new file mode 100644 index 0000000..2a32443 --- /dev/null +++ b/.vim/pack/themes/start/dracula_pro/vim/colors/dracula_pro_van_helsing.vim @@ -0,0 +1,14 @@ +runtime autoload/dracula_pro.vim + +let g:dracula_pro#palette.comment = ['#708CA9', 109] +let g:dracula_pro#palette.selection = ['#414D58', 66] + +let g:dracula_pro#palette.bglighter = ['#161A1D', 23] +let g:dracula_pro#palette.bglight = ['#111417', 16] +let g:dracula_pro#palette.bg = ['#0B0D0F', 16] +let g:dracula_pro#palette.bgdark = ['#070809', 16] +let g:dracula_pro#palette.bgdarker = ['#000000', 16] + +runtime colors/dracula_pro_base.vim + +let g:colors_name = 'dracula_pro_van_helsing' diff --git a/.vim/pack/themes/start/dracula_pro/vim/doc/dracula_pro.txt b/.vim/pack/themes/start/dracula_pro/vim/doc/dracula_pro.txt new file mode 100644 index 0000000..9355eb1 --- /dev/null +++ b/.vim/pack/themes/start/dracula_pro/vim/doc/dracula_pro.txt @@ -0,0 +1,146 @@ +*dracula_pro.txt* For Vim version 8 Last change: 2020 Apr 27 +*dracula-pro* *vim-dracula-pro* + + + |\ ,, ~ + \\ _ || _ ~ + / \\ ,._-_ < \, _-_ \\ \\ || < \, -_-_ ,._-_ /'\\ ~ + || || || /-|| || || || || /-|| || \\ || || || ~ + || || || (( || || || || || (( || || || || || || ~ + \\/ \\, \/\\ \\,/ \\/\\ \\ \/\\ ||-' \\, \\,/ ~ + |/ ~ + ' ~ + + A premium dark theme for vim + +================================================================================ +CONTENTS *dracula-pro-contents* + + 1. Intro .............................................. |dracula-pro-intro| + 2. Usage .............................................. |dracula-pro-usage| + 3. Configuration .............................. |dracula-pro-configuration| + 4. Personal Customization ..................... |dracula-pro-customization| + 5. License .......................................... |dracula-pro-license| + 6. Bugs ................................................ |dracula-pro-bugs| + 7. Contributing ................................ |dracula-pro-contributing| + 8. Credits .......................................... |dracula-pro-credits| + +================================================================================ +INTRO *dracula-pro-intro* + +Dracula PRO is a vim plugin that contains + + - a dark colorscheme for vim + - a similarly-themed colorscheme for the vim plugin airline + +================================================================================ +USAGE *dracula-pro-usage* + +Install it with your favorite plugin manager, and then > + colorscheme dracula_pro + " or + colorscheme dracula_pro_variation +in your vimrc! See also |dracula-pro-runtimepath|. + +If you are an airline user, you can also do > + let g:airline_theme='dracula_pro' +to have airline use Dracula. + + *dracula-pro-runtimepath* + +Note that dracula must be in your 'runtimepath' for this command to work +properly: Version 2.0 introduced autoload functionality for part of the +plugin, which doesn't work without 'runtimepath' properly set. + +For users of Vim 8's |packages| feature, it suffices to put this in your vimrc: + packadd! dracula_pro + colorscheme dracula_pro + +================================================================================ +CONFIGURATION *dracula-pro-configuration* + +There are a couple of variables used by Dracula that you might want to adjust +depending on your terminal's capabilities. + +Default values are shown. + +-------------------------------------------------------------------------------- +In the following section, `1` signifies `on` and `0` signifies `off`. + +* *g:dracula_bold* +Include bold attributes in highlighting > + let g:dracula_bold = 1 + +* *g:dracula_italic* +Include italic attributes in highlighting > + let g:dracula_italic = 1 + +* *g:dracula_underline* +Include underline attributes in highlighting > + let g:dracula_underline = 1 + +* *g:dracula_undercurl* +Include undercurl attributes in highlighting (only if underline enabled) > + let g:dracula_undercurl = 1 + +* *g:dracula_inverse* +Include inverse attributes in highlighting > + let g:dracula_inverse = 1 + +* *g:dracula_colorterm* +Include background fill colors > + let g:dracula_colorterm = 1 + +================================================================================ +CUSTOMIZATION *dracula-pro-customization* + +Like all colorschemes, Dracula PRO is easy to customize with |autocmd|. Make use +of the |ColorScheme| event as in the following examples. + +It would be a good idea to put all of your personal changes in an |augroup|, +which you can do with the following code: > + augroup dracula_customization + au! + " autocmds... + augroup END +> + +- To add underline styling to |hl-CursorLine|, you can use the following: > + autocmd ColorScheme dracula_pro* hi CursorLine cterm=underline term=underline +< +================================================================================ +LICENSE *dracula-pro-license* + +Copyright © 2020 Dracula Theme +EULA available at https://gum.co/dracula-pro + +================================================================================ +BUGS *dracula-pro-bugs* + +At the time of this writing, no major bugs have been found. + +If you find one and wish to report it, send an email to zeno@draculatheme.com + +================================================================================ +CONTRIBUTING *dracula-pro-contributing* + +Want to submit a new feature, bugfix, or hack on Dracula PRO? +Send an email to zeno@draculatheme.com + +Existing code determines style guidelines. + +================================================================================ +CREDITS *dracula-pro-credits* + +Originally Created by: +- Derek S. (https://github.com/dsifford) +- D. Ben Knoble (https://github.com/benknoble) + +Modified by: +- D. Ben Knoble (https://github.com/benknoble) +- Zeno Rocha (https://github.com/zenorocha) + +Further information available at +https://draculatheme.com/pro + + vim:tw=78:ts=8:ft=help:norl: diff --git a/.vimrc b/.vimrc index 8a41210..c887221 100644 --- a/.vimrc +++ b/.vimrc @@ -81,9 +81,11 @@ set wildmenu set lazyredraw set showmatch -" Dracula Theme +" Add Dracula Themes packadd! dracula packadd! dracula_pro + +" Enable Dracula Pro Theme +syntax enable let g:dracula_colorterm = 0 colorscheme dracula_pro -