]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/colors/twilight.vim
Improve macos config
[rbdr/dotfiles] / vim / colors / twilight.vim
1
2 set background=dark
3
4 hi clear
5
6 if exists("syntax_on")
7 syntax reset
8 endif
9
10 let colors_name = "twilight"
11
12 let s:grey_blue = '#8a9597'
13 let s:light_grey_blue = '#a0a8b0'
14 let s:dark_grey_blue = '#34383c'
15 let s:mid_grey_blue = '#64686c'
16 let s:beige = '#ceb67f'
17 let s:light_orange = '#ebc471'
18 let s:yellow = '#e3d796'
19 let s:violet = '#a999ac'
20 let s:green = '#a2a96f'
21 let s:lightgreen = '#c2c98f'
22 let s:red = '#d08356'
23 let s:cyan = '#74dad9'
24 let s:darkgrey = '#1a1a1a'
25 let s:grey = '#303030'
26 let s:lightgrey = '#605958'
27 let s:white = '#fffedc'
28
29 if version >= 700
30 hi CursorLine guibg=#262626
31 hi CursorColumn guibg=#262626
32 hi MatchParen guifg=white guibg=#80a090 gui=bold
33
34 "Tabpages
35 hi TabLine guifg=#a09998 guibg=#202020 gui=underline
36 hi TabLineFill guifg=#a09998 guibg=#202020 gui=underline
37 hi TabLineSel guifg=#a09998 guibg=#404850 gui=underline
38
39 "P-Menu (auto-completion)
40 hi Pmenu guifg=#605958 guibg=#303030 gui=underline
41 hi PmenuSel guifg=#a09998 guibg=#404040 gui=underline
42 "PmenuSbar
43 "PmenuThumb
44 endif
45
46 hi Visual guibg=#404040
47
48 "hi Cursor guifg=NONE guibg=#586068
49 hi Cursor guibg=#b0d0f0
50
51
52 exe 'hi Normal guifg='.s:white .' guibg='.s:darkgrey
53 exe 'hi Underlined guifg='.s:white .' guibg='.s:darkgrey .' gui=underline'
54 exe 'hi NonText guifg='.s:lightgrey .' guibg='.s:grey
55 exe 'hi SpecialKey guifg='.s:grey .' guibg='.s:darkgrey
56
57 exe 'hi LineNr guifg='.s:mid_grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
58 exe 'hi StatusLine guifg='.s:white .' guibg='.s:grey .' gui=italic,underline'
59 exe 'hi StatusLineNC guifg='.s:lightgrey .' guibg='.s:grey .' gui=italic,underline'
60 exe 'hi VertSplit guifg='.s:grey .' guibg='.s:grey .' gui=none'
61
62 exe 'hi Folded guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
63 exe 'hi FoldColumn guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
64 exe 'hi SignColumn guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
65
66 exe 'hi Comment guifg='.s:mid_grey_blue .' guibg='.s:darkgrey .' gui=italic'
67 exe 'hi TODO guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=italic,bold'
68
69 exe 'hi Title guifg='.s:red .' guibg='.s:darkgrey .' gui=underline'
70
71 exe 'hi Constant guifg='.s:red .' guibg='.s:darkgrey .' gui=none'
72 exe 'hi String guifg='.s:green .' guibg='.s:darkgrey .' gui=none'
73 exe 'hi Special guifg='.s:lightgreen .' guibg='.s:darkgrey .' gui=none'
74
75 exe 'hi Identifier guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=none'
76 exe 'hi Statement guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
77 exe 'hi Conditional guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
78 exe 'hi Repeat guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
79 exe 'hi Structure guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
80 exe 'hi Function guifg='.s:violet .' guibg='.s:darkgrey .' gui=none'
81
82 exe 'hi PreProc guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=none'
83 exe 'hi Operator guifg='.s:light_orange .' guibg='.s:darkgrey .' gui=none'
84 exe 'hi Type guifg='.s:yellow .' guibg='.s:darkgrey .' gui=italic'
85
86 "hi Identifier guifg=#7587a6
87 " Type d: 'class'
88 "hi Structure guifg=#9B859D gui=underline
89 "hi Function guifg=#dad085
90 " dylan: method, library, ... d: if, return, ...
91 "hi Statement guifg=#7187a1 gui=NONE
92 " Keywords d: import, module...
93 "hi PreProc guifg=#8fbfdc
94 "gui=underline
95 "hi Operator guifg=#a07020
96 "hi Repeat guifg=#906040 gui=underline
97 "hi Type guifg=#708090
98
99 "hi Type guifg=#f9ee98 gui=NONE
100
101 "hi NonText guifg=#808080 guibg=#303030
102
103 "hi Macro guifg=#a0b0c0 gui=underline
104
105 "Tabs, trailing spaces, etc (lcs)
106 "hi SpecialKey guifg=#808080 guibg=#343434
107
108 "hi TooLong guibg=#ff0000 guifg=#f8f8f8
109
110 hi Search guifg=#606000 guibg=#c0c000 gui=bold
111
112 hi Directory guifg=#dad085 gui=NONE
113 hi Error guibg=#602020
114