From 2604d54749630f5feacaa8c74a0b9318f96431e4 Mon Sep 17 00:00:00 2001 From: Jordan Date: Mon, 18 Jan 2021 19:40:07 -0700 Subject: vim simple-dark, x220 alacritty --- .config/alacritty/x220/alacritty.yml | 59 ++++++++++---------- .vim/colors/simple-dark.vim | 101 +++++++++++++++++++++++++++++++++++ 2 files changed, 131 insertions(+), 29 deletions(-) create mode 100644 .vim/colors/simple-dark.vim diff --git a/.config/alacritty/x220/alacritty.yml b/.config/alacritty/x220/alacritty.yml index fb6dfb1..7672cbd 100644 --- a/.config/alacritty/x220/alacritty.yml +++ b/.config/alacritty/x220/alacritty.yml @@ -13,43 +13,44 @@ font: # The `style` can be specified to pick a specific face. # style: Regular - ## Offset is the extra space around each character. `offset.y` can be thought of - ## as modifying the line spacing, and `offset.x` as modifying the letter spacing. - #offset: - # x: 0.0 - # y: 0.0 + # Offset is the extra space around each character. `offset.y` can be thought of + # as modifying the line spacing, and `offset.x` as modifying the letter spacing. + offset: + x: 0.0 + y: 0.0 - ## Glyph offset determines the locations of the glyphs within their cells with - ## the default being at the bottom. Increasing `x` moves the glyph to the right, - ## increasing `y` moves the glyph upwards. - #glyph_offset: - # x: 0.0 - # y: 0.0 + # Glyph offset determines the locations of the glyphs within their cells with + # the default being at the bottom. Increasing `x` moves the glyph to the right, + # increasing `y` moves the glyph upwards. + glyph_offset: + x: 0.0 + y: 0.0 colors: # Default colors primary: - background: '0x0A0E14' - foreground: '0xB3B1AD' + background: '0x1f1f1f' + foreground: '0xe5e1d8' # Normal colors normal: - black: '0x01060E' - red: '0xEA6C73' - green: '0x91B362' - yellow: '0xF9AF4F' - blue: '0x53BDFA' - magenta: '0xFAE994' - cyan: '0x90E1C6' - white: '0xC7C7C7' + black: '0x000000' + red: '0xf7786d' + green: '0xbde97c' + yellow: '0xefdfac' + blue: '0x6ebaf8' + magenta: '0xef88ff' + cyan: '0x90fdf8' + white: '0xe5e1d8' # Bright colors bright: - black: '0x686868' - red: '0xF07178' - green: '0xC2D94C' - yellow: '0xFFB454' - blue: '0x59C2FF' - magenta: '0xFFEE99' - cyan: '0x95E6CB' - white: '0xFFFFFF' + black: '0xb4b4b4' + red: '0xf99f92' + green: '0xe3f7a1' + yellow: '0xf2e9bf' + blue: '0xb3d2ff' + magenta: '0xe5bdff' + cyan: '0xc2fefa' + white: '0xffffff' + diff --git a/.vim/colors/simple-dark.vim b/.vim/colors/simple-dark.vim new file mode 100644 index 0000000..cb70786 --- /dev/null +++ b/.vim/colors/simple-dark.vim @@ -0,0 +1,101 @@ +" Summary: +" This is a dark 256-color scheme for vim with mild contrast and low +" distraction. +" +" Description: +" This is a dark 256-color scheme with mild contrast and not so many colors. +" It is good for prolonged coding. This scheme is inspired by Lucius +" (vimscript #2536), and some colors here are directly copied. +" +" Screenshots: +" Java: http://imgur.com/KE7aL.png +" C: http://imgur.com/K5G5V.png +" Javascript with nerdtree: http://imgur.com/lSXx2.png +" Ruby with tagbar: http://imgur.com/NzPwu.png +" +" Installation: +" Copy the file to your vim colors directory and then do :color simple-dark. +" +" Author: Zefei Xuan +" + +if !(&t_Co == 256 || has('gui_running')) + finish +endif + +" Init +hi clear +if exists("syntax_on") + syntax reset +endif +let colors_name="simple-dark" +set background=dark + +" General Colors +hi Normal guifg=#d7d7d7 guibg=#262626 ctermfg=251 ctermbg=235 gui=none cterm=none +hi Comment guifg=#8a8a8a guibg=NONE ctermfg=245 ctermbg=NONE gui=none cterm=none +hi Constant guifg=#d7d7af guibg=NONE ctermfg=187 ctermbg=NONE gui=none cterm=none +hi Identifier guifg=#afd7d7 guibg=NONE ctermfg=152 ctermbg=NONE gui=none cterm=none +hi Statement guifg=#87afd7 guibg=NONE ctermfg=110 ctermbg=NONE gui=none cterm=none +hi PreProc guifg=#87afd7 guibg=NONE ctermfg=110 ctermbg=NONE gui=none cterm=none +hi Type guifg=#afd7d7 guibg=NONE ctermfg=152 ctermbg=NONE gui=none cterm=none +hi Special guifg=#d7d7af guibg=NONE ctermfg=187 ctermbg=NONE gui=none cterm=none + +" Text Markup +hi Underlined guifg=fg guibg=NONE ctermfg=fg ctermbg=NONE gui=underline cterm=underline +hi Error guifg=#ff8787 guibg=NONE ctermfg=210 ctermbg=NONE gui=none cterm=none +hi Todo guifg=#d7d7af guibg=NONE ctermfg=187 ctermbg=NONE gui=none cterm=none +hi MatchParen guifg=fg guibg=#5f8787 ctermfg=fg ctermbg=66 gui=none cterm=none +hi NonText guifg=#585858 guibg=NONE ctermfg=240 ctermbg=NONE gui=none cterm=none +hi SpecialKey guifg=#585858 guibg=NONE ctermfg=240 ctermbg=NONE gui=none cterm=none +hi Title guifg=#d7d7af guibg=NONE ctermfg=187 ctermbg=NONE gui=none cterm=none + +" Text Selection +hi Cursor guifg=bg guibg=fg ctermfg=bg ctermbg=fg gui=none cterm=none +hi CursorIM guifg=bg guibg=fg ctermfg=bg ctermbg=fg gui=none cterm=none +hi CursorColumn guifg=NONE guibg=#555555 ctermfg=NONE ctermbg=238 gui=none cterm=none +hi CursorLine guifg=NONE guibg=#555555 ctermfg=NONE ctermbg=238 gui=none cterm=none +hi Visual guifg=NONE guibg=#005f87 ctermfg=NONE ctermbg=24 gui=none cterm=none +hi VisualNOS guifg=fg guibg=NONE ctermfg=fg ctermbg=NONE gui=underline cterm=underline +hi IncSearch guifg=bg guibg=#87d7ff ctermfg=bg ctermbg=123 gui=none cterm=none +hi Search guifg=bg guibg=#ffd787 ctermfg=bg ctermbg=221 gui=none cterm=none + +" UI +hi LineNr guifg=#555555 guibg=#000000 ctermfg=238 ctermbg=233 gui=none cterm=none +hi CursorLineNr guifg=#afafaf guibg=#444444 ctermfg=245 ctermbg=bg gui=none cterm=none +hi Pmenu guifg=#121212 guibg=#b2b2b2 ctermfg=233 ctermbg=249 gui=none cterm=none +hi PmenuSel guifg=fg guibg=#585858 ctermfg=fg ctermbg=240 gui=none cterm=none +hi PMenuSbar guifg=#121212 guibg=#c6c6c6 ctermfg=233 ctermbg=251 gui=none cterm=none +hi PMenuThumb guifg=fg guibg=#767676 ctermfg=fg ctermbg=243 gui=none cterm=none +hi StatusLine guifg=#121212 guibg=#b2b2b2 ctermfg=233 ctermbg=249 gui=none cterm=none +hi StatusLineNC guifg=#121212 guibg=#767676 ctermfg=233 ctermbg=243 gui=none cterm=none +hi TabLine guifg=#121212 guibg=#b2b2b2 ctermfg=233 ctermbg=249 gui=none cterm=none +hi TabLineFill guifg=#121212 guibg=#b2b2b2 ctermfg=233 ctermbg=249 gui=none cterm=none +hi TabLineSel guifg=fg guibg=#585858 ctermfg=fg ctermbg=240 gui=none cterm=none +hi VertSplit guifg=#8a8a8a guibg=#b2b2b2 ctermfg=245 ctermbg=249 gui=none cterm=none +hi Folded guifg=fg guibg=#585858 ctermfg=fg ctermbg=240 gui=none cterm=none +hi FoldColumn guifg=fg guibg=#585858 ctermfg=fg ctermbg=240 gui=none cterm=none + +" Spelling +hi SpellBad guisp=#ee0000 ctermfg=fg ctermbg=160 gui=undercurl cterm=undercurl +hi SpellCap guisp=#eeee00 ctermfg=bg ctermbg=226 gui=undercurl cterm=undercurl +hi SpellRare guisp=#ffa500 ctermfg=bg ctermbg=214 gui=undercurl cterm=undercurl +hi SpellLocal guisp=#ffa500 ctermfg=bg ctermbg=214 gui=undercurl cterm=undercurl + +" Diff +hi DiffAdd guifg=fg guibg=#405040 ctermfg=fg ctermbg=22 gui=none cterm=none +hi DiffChange guifg=fg guibg=#605040 ctermfg=fg ctermbg=58 gui=none cterm=none +hi DiffDelete guifg=fg guibg=#504040 ctermfg=fg ctermbg=52 gui=none cterm=none +hi DiffText guifg=#e0b050 guibg=#605040 ctermfg=220 ctermbg=58 gui=none cterm=none + +" Misc +hi Directory guifg=fg guibg=NONE ctermfg=fg ctermbg=NONE gui=none cterm=none +hi ErrorMsg guifg=#ff8787 guibg=NONE ctermfg=210 ctermbg=NONE gui=none cterm=none +hi SignColumn guifg=#afafaf guibg=NONE ctermfg=145 ctermbg=NONE gui=none cterm=none +hi MoreMsg guifg=#87ffff guibg=NONE ctermfg=123 ctermbg=NONE gui=none cterm=none +hi ModeMsg guifg=fg guibg=NONE ctermfg=fg ctermbg=NONE gui=none cterm=none +hi Question guifg=fg guibg=NONE ctermfg=fg ctermbg=NONE gui=none cterm=none +hi WarningMsg guifg=#d7af87 guibg=NONE ctermfg=180 ctermbg=NONE gui=none cterm=none +hi WildMenu guifg=NONE guibg=#005f87 ctermfg=NONE ctermbg=24 gui=none cterm=none +hi ColorColumn guifg=NONE guibg=#303030 ctermfg=NONE ctermbg=236 gui=none cterm=none +hi Ignore guifg=bg ctermfg=bg -- cgit v1.2.3-54-g00ecf