]> git.r.bdr.sh - rbdr/dotfiles/blame - vim/colors/twilight.vim
Improve macos config
[rbdr/dotfiles] / vim / colors / twilight.vim
CommitLineData
0d23b6e5
BB
1
2set background=dark
3
4hi clear
5
6if exists("syntax_on")
7 syntax reset
8endif
9
10let colors_name = "twilight"
11
12let s:grey_blue = '#8a9597'
13let s:light_grey_blue = '#a0a8b0'
14let s:dark_grey_blue = '#34383c'
15let s:mid_grey_blue = '#64686c'
16let s:beige = '#ceb67f'
17let s:light_orange = '#ebc471'
18let s:yellow = '#e3d796'
19let s:violet = '#a999ac'
20let s:green = '#a2a96f'
21let s:lightgreen = '#c2c98f'
22let s:red = '#d08356'
23let s:cyan = '#74dad9'
24let s:darkgrey = '#1a1a1a'
25let s:grey = '#303030'
26let s:lightgrey = '#605958'
27let s:white = '#fffedc'
28
29if 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
44endif
45
46hi Visual guibg=#404040
47
48"hi Cursor guifg=NONE guibg=#586068
49hi Cursor guibg=#b0d0f0
50
51
52exe 'hi Normal guifg='.s:white .' guibg='.s:darkgrey
53exe 'hi Underlined guifg='.s:white .' guibg='.s:darkgrey .' gui=underline'
54exe 'hi NonText guifg='.s:lightgrey .' guibg='.s:grey
55exe 'hi SpecialKey guifg='.s:grey .' guibg='.s:darkgrey
56
57exe 'hi LineNr guifg='.s:mid_grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
58exe 'hi StatusLine guifg='.s:white .' guibg='.s:grey .' gui=italic,underline'
59exe 'hi StatusLineNC guifg='.s:lightgrey .' guibg='.s:grey .' gui=italic,underline'
60exe 'hi VertSplit guifg='.s:grey .' guibg='.s:grey .' gui=none'
61
62exe 'hi Folded guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
63exe 'hi FoldColumn guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
64exe 'hi SignColumn guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
65
66exe 'hi Comment guifg='.s:mid_grey_blue .' guibg='.s:darkgrey .' gui=italic'
67exe 'hi TODO guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=italic,bold'
68
69exe 'hi Title guifg='.s:red .' guibg='.s:darkgrey .' gui=underline'
70
71exe 'hi Constant guifg='.s:red .' guibg='.s:darkgrey .' gui=none'
72exe 'hi String guifg='.s:green .' guibg='.s:darkgrey .' gui=none'
73exe 'hi Special guifg='.s:lightgreen .' guibg='.s:darkgrey .' gui=none'
74
75exe 'hi Identifier guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=none'
76exe 'hi Statement guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
77exe 'hi Conditional guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
78exe 'hi Repeat guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
79exe 'hi Structure guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
80exe 'hi Function guifg='.s:violet .' guibg='.s:darkgrey .' gui=none'
81
82exe 'hi PreProc guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=none'
83exe 'hi Operator guifg='.s:light_orange .' guibg='.s:darkgrey .' gui=none'
84exe '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
110hi Search guifg=#606000 guibg=#c0c000 gui=bold
111
112hi Directory guifg=#dad085 gui=NONE
113hi Error guibg=#602020
114