fix onedark vim colorscheme

This commit is contained in:
Johannes Loher 2020-09-20 16:09:03 +02:00
parent 71c9552aaa
commit cc196c44fb
3 changed files with 18 additions and 13 deletions

View file

@ -48,15 +48,14 @@ foreground_bold = #abb2bf
cursor = #abb2bf cursor = #abb2bf
cursor_foreground = #282c34 cursor_foreground = #282c34
background = #282c34 background = #282c34
#background = rgba(40, 44, 52, 0.975)
color0 = #282c34 color0 = #282c34
color8 = #282c34 color8 = #5c6370
color1 = #be5046 color1 = #e06c75
color9 = #e06c75 color9 = #be5046
color2 = #98c379 color2 = #98c379
color10 = #98c379 color10 = #98c379
color3 = #d19a66 color3 = #e5c07b
color11 = #e5c07b color11 = #d19a66
color4 = #61afef color4 = #61afef
color12 = #61afef color12 = #61afef
color5 = #c678dd color5 = #c678dd
@ -64,8 +63,7 @@ color13 = #c678dd
color6 = #56b6c2 color6 = #56b6c2
color14 = #56b6c2 color14 = #56b6c2
color7 = #abb2bf color7 = #abb2bf
color15 = #abb2bf color15 = #3e4451
# light: # light:
# special # special
@ -74,9 +72,8 @@ color15 = #abb2bf
#cursor = #383a42 #cursor = #383a42
#cursor_foreground = #fafafa #cursor_foreground = #fafafa
#background = #fafafa #background = #fafafa
##background = rgba(250, 250, 250, 0.975) #color0 = #fafafa
#color0 = #4f4d3f #color8 = #a0a1a7
#color8 = #4f4d3f
#color1 = #ca1261 #color1 = #ca1261
#color9 = #e45649 #color9 = #e45649
#color2 = #50a14f #color2 = #50a14f
@ -89,5 +86,5 @@ color15 = #abb2bf
#color13 = #a626a4 #color13 = #a626a4
#color6 = #0184bc #color6 = #0184bc
#color14 = #0184bc #color14 = #0184bc
#color7 = #fafafa #color7 = #383a42
#color15 = #fafafa #color15 = #e5e5e6

6
.vimrc
View file

@ -31,4 +31,10 @@ set listchars=tab:>-,eol:$,trail:.,extends:#
packadd! onedark.vim packadd! onedark.vim
syntax on syntax on
let g:onedark_termcolors=16 let g:onedark_termcolors=16
let g:onedark_color_overrides={
\ "comment_grey": { "gui": "#5C6370", "cterm": "59", "cterm16": "8" },
\ "gutter_fg_grey": { "gui": "#4B5263", "cterm": "238", "cterm16": "8" },
\ "visual_black": { "gui": "NONE", "cterm": "NONE", "cterm16": "NONE" }
\}
let onedark_terminal_italics=1
colorscheme onedark colorscheme onedark

View file

@ -18,6 +18,8 @@ alias ll='ls -l'
alias la='ls -a' alias la='ls -a'
alias lla='ls -al' alias lla='ls -al'
alias color-picker='grim -g "$(slurp -p)" -t ppm - | convert - -format "%[pixel:p{0,0}]" txt:-'
# Colors # Colors
eval `dircolors $HOME/.dir_colors` eval `dircolors $HOME/.dir_colors`