Revisión | 6e39c0184e0a155ab3cf972ed34e8f98a4c1260d (tree) |
---|---|
Tiempo | 2023-02-06 23:14:07 |
Autor | badcoff33 <none@none> |
Commiter | badcoff33 |
minor changes
@@ -14,29 +14,28 @@ hi clear | ||
14 | 14 | set background=dark |
15 | 15 | let g:colors_name = "apollo" |
16 | 16 | |
17 | -let white = '#FFFFFF' | |
18 | -let black = '#000000' | |
19 | - | |
20 | -let bg1 = "#132443" | |
21 | -let bg2 = "#263154" | |
22 | -let bg3 = "#344468" | |
23 | -let bg4 = "#48506F" | |
24 | -let silver1 = "#A0A0A8" | |
25 | -let silver2 = "#B8B8BE" | |
26 | -let silver3 = "#D0D0D8" | |
27 | -let silver4 = "#E0E0E8" | |
28 | -let green_bg = "#019378" | |
29 | -let green1 = "#02B360" | |
30 | -let green2 = "#07C168" | |
31 | -let green3 = "#07E070" | |
32 | -let green4 = "#07F88F" | |
33 | -let blue_bg = "#035388" | |
34 | -let blue1 = "#3068B0" | |
35 | -let blue2 = "#60A0D8" | |
36 | -let blue3 = "#70B0F8" | |
37 | -let red1 = "#B82042" | |
38 | -let red2 = "#E84070" | |
39 | -let amber = "#D0CF20" | |
17 | +let s:white = '#FFFFFF' | |
18 | +let s:black = '#000000' | |
19 | + | |
20 | +let s:bg1 = "#132443" | |
21 | +let s:bg2 = "#263154" | |
22 | +let s:bg3 = "#344468" | |
23 | +let s:bg4 = "#48506F" | |
24 | +let s:silver1 = "#A0A0A8" | |
25 | +let s:silver2 = "#B8B8BE" | |
26 | +let s:silver3 = "#D0D0D8" | |
27 | +let s:silver4 = "#E0E0E8" | |
28 | +let s:green1 = "#02A358" | |
29 | +let s:green2 = "#07C168" | |
30 | +let s:green3 = "#07E070" | |
31 | +let s:green4 = "#07F88F" | |
32 | +let s:blue_bg = "#134580" | |
33 | +let s:blue1 = "#2048B0" | |
34 | +let s:blue2 = "#4090D8" | |
35 | +let s:blue3 = "#70B0F8" | |
36 | +let s:red1 = "#B82042" | |
37 | +let s:red2 = "#E84070" | |
38 | +let s:gold = "#E0EF50" | |
40 | 39 | |
41 | 40 | let Fg = { str -> empty(str) ? "" : "guifg=" .. str } |
42 | 41 | let Bg = { str -> empty(str) ? "" : "guibg=" .. str } |
@@ -44,36 +43,36 @@ let Attr = { str -> empty(str) ? "" : "gui=" .. str } | ||
44 | 43 | let Cterm = { str -> empty(str) ? "" : "cterm=" .. str } |
45 | 44 | |
46 | 45 | " Basics |
47 | -execute "hi Bold" Fg(silver2) Attr("bold") | |
48 | -execute "hi Cursor" Fg(black) Bg(white) | |
49 | -execute "hi CursorLine" Bg(bg3) Cterm("NONE") | |
50 | -execute "hi CursorLineNr" Fg(green3) Bg(bg3) Attr("bold") | |
51 | -execute "hi ErrorMsg" Fg(red2) Bg("bg") | |
52 | -execute "hi IncSearch" Fg(black) Bg(amber) Attr("NONE") Cterm("NONE") | |
53 | -execute "hi Italic" Fg(silver2) Attr("NONE") | |
54 | -execute "hi LineNr" Fg(blue3) Bg(bg2) | |
55 | -execute "hi LineNrAbove" Fg(bg4) Bg("bg") Attr("bold") | |
56 | -execute "hi LineNrBelow" Fg(bg4) Bg("bg") Attr("bold") | |
57 | -execute "hi MatchParen" Fg(green3) Bg("bg") Attr("underline") | |
58 | -execute "hi ModeMsg" Fg(silver2) Bg("bg") | |
59 | -execute "hi NonText" Fg(blue1) Bg(bg1) | |
60 | -execute "hi Normal" Fg(silver4) Bg(bg1) Attr("NONE") | |
61 | -execute "hi Pmenu" Fg(white) Bg(blue_bg) Attr("NONE") | |
62 | -execute "hi PmenuSbar" Fg(silver3) Bg(bg3) | |
63 | -execute "hi PmenuSel" Fg(white) Bg(green_bg) Attr("NONE") | |
64 | -execute "hi PmenuThumb" Fg(blue2) Bg(bg4) | |
65 | -execute "hi Question" Fg(green2) Bg("bg") | |
66 | -execute "hi QuickFixLine" Fg(amber) Bg("bg") Attr("bold") | |
67 | -execute "hi Search" Fg(white) Bg(green_bg) Attr("NONE") | |
68 | -execute "hi StatusLine" Fg(black) Bg(blue3) Attr("NONE") Cterm("NONE") | |
69 | -execute "hi StatusLineNC" Fg(silver4) Bg(bg3) Attr("NONE") Cterm("NONE") | |
70 | -execute "hi Terminal" Fg(green3) Bg(black) | |
71 | -execute "hi Title" Fg(green3) | |
72 | -execute "hi User1" Fg(white) Bg(blue_bg) | |
73 | -execute "hi VertSplit" Fg(bg2) Bg(bg2) Attr("NONE") | |
74 | -execute "hi Visual" Fg(white) Bg(blue_bg) | |
75 | -execute "hi WarningMsg" Fg(blue1) Bg("bg") | |
76 | -execute "hi qfFileName" Fg(blue2) | |
46 | +execute "hi Bold" Fg(s:silver2) Attr("bold") | |
47 | +execute "hi Cursor" Fg(s:black) Bg(s:white) | |
48 | +execute "hi CursorLine" Bg(s:bg3) Cterm("NONE") | |
49 | +execute "hi CursorLineNr" Fg(s:green3) Bg(s:bg3) Attr("bold") | |
50 | +execute "hi ErrorMsg" Fg(s:white) Bg(s:red2) | |
51 | +execute "hi IncSearch" Fg(s:black) Bg(s:green2) Attr("NONE") Cterm("NONE") | |
52 | +execute "hi Italic" Fg(s:silver2) Attr("NONE") | |
53 | +execute "hi LineNr" Fg(s:blue3) Bg(s:bg2) | |
54 | +execute "hi LineNrAbove" Fg(s:bg4) Bg("bg") Attr("bold") | |
55 | +execute "hi LineNrBelow" Fg(s:bg4) Bg("bg") Attr("bold") | |
56 | +execute "hi MatchParen" Fg(s:green3) Bg("bg") Attr("underline") | |
57 | +execute "hi ModeMsg" Fg(s:silver2) Bg("bg") | |
58 | +execute "hi NonText" Fg(s:blue1) Bg(s:bg1) | |
59 | +execute "hi Normal" Fg(s:silver4) Bg(s:bg1) Attr("NONE") | |
60 | +execute "hi Pmenu" Fg(s:white) Bg(s:blue1) Attr("NONE") | |
61 | +execute "hi PmenuSbar" Fg(s:silver3) Bg(s:bg3) | |
62 | +execute "hi PmenuSel" Fg(s:white) Bg(s:green1) Attr("NONE") | |
63 | +execute "hi PmenuThumb" Fg(s:blue2) Bg(s:bg4) | |
64 | +execute "hi Question" Fg(s:green2) Bg("bg") | |
65 | +execute "hi QuickFixLine" Fg(s:blue3) Bg(s:blue_bg) Attr("NONE") | |
66 | +execute "hi Search" Fg(s:gold) Bg(s:blue_bg) Attr("NONE") | |
67 | +execute "hi StatusLine" Fg(s:black) Bg(s:blue3) Attr("NONE") Cterm("NONE") | |
68 | +execute "hi StatusLineNC" Fg(s:silver4) Bg(s:bg3) Attr("NONE") Cterm("NONE") | |
69 | +execute "hi Terminal" Fg(s:green3) Bg(s:black) | |
70 | +execute "hi Title" Fg(s:green3) | |
71 | +execute "hi User1" Fg(s:white) Bg(s:blue_bg) | |
72 | +execute "hi VertSplit" Fg(s:bg2) Bg(s:bg2) Attr("NONE") | |
73 | +execute "hi Visual" Fg(s:white) Bg(s:silver1) | |
74 | +execute "hi WarningMsg" Fg(s:white) Bg(s:blue1) | |
75 | +execute "hi qfFileName" Fg(s:blue2) | |
77 | 76 | execute "hi qfSeparator" Fg("fg") |
78 | 77 | |
79 | 78 | highlight! link CursorColumn CursorLine |
@@ -92,50 +91,56 @@ highlight! link WildMenu IncSearch | ||
92 | 91 | highlight! link qfLineNr LineNr |
93 | 92 | |
94 | 93 | " Code |
95 | -execute "hi Statement" Fg(blue3) | |
96 | -execute "hi Conditional" Fg(blue3) Attr("bold") | |
97 | -execute "hi Type" Fg(blue2) Attr("NONE") | |
98 | -execute "hi Structure" Fg(blue2) | |
99 | -execute "hi StorageClass" Fg(blue3) | |
100 | -execute "hi PreProc" Fg(white) Attr("bold") | |
101 | -execute "hi PreCondit" Fg(blue1) Attr("bold") | |
102 | -execute "hi Define" Fg(blue2) Attr("NONE") | |
103 | -execute "hi Comment" Fg(green3) | |
104 | -execute "hi Function" Fg(blue3) Attr("bold") | |
105 | -execute "hi Identifier" Fg(silver3) | |
106 | -execute "hi Special" Fg(green2) | |
107 | -execute "hi Constant" Fg(white) | |
108 | -execute "hi Number" Fg(white) | |
109 | -execute "hi Todo" Fg(silver2) Bg(bg3) | |
110 | -execute "hi Error" Fg(red2) Bg(bg3) | |
111 | -execute "hi Directory" Fg(silver4) Attr("underline") | |
94 | +execute "hi Statement" Fg(s:blue3) | |
95 | +execute "hi Conditional" Fg(s:blue3) Attr("bold") | |
96 | +execute "hi Type" Fg(s:blue2) Attr("NONE") | |
97 | +execute "hi Structure" Fg(s:blue2) | |
98 | +execute "hi StorageClass" Fg(s:blue3) | |
99 | +execute "hi PreProc" Fg(s:white) Attr("bold") | |
100 | +execute "hi PreCondit" Fg(s:blue1) Attr("bold") | |
101 | +execute "hi Define" Fg(s:blue2) Attr("NONE") | |
102 | +execute "hi Comment" Fg(s:green3) | |
103 | +execute "hi Function" Fg(s:blue3) Attr("bold") | |
104 | +execute "hi Identifier" Fg(s:silver3) | |
105 | +execute "hi Special" Fg(s:green2) | |
106 | +execute "hi Constant" Fg(s:white) | |
107 | +execute "hi Number" Fg(s:white) | |
108 | +execute "hi Todo" Fg(s:silver2) Bg(s:bg3) | |
109 | +execute "hi Error" Fg(s:red2) Bg(s:bg3) | |
110 | +execute "hi Directory" Fg(s:silver4) Attr("underline") | |
112 | 111 | |
113 | 112 | " Filetype VIM |
114 | -execute "hi vimCommentTitle" Fg(white) Attr("bold") | |
113 | +execute "hi vimCommentTitle" Fg(s:white) Attr("bold") | |
115 | 114 | |
116 | 115 | " Filetype C |
117 | -execute "hi cCppOut" Fg(silver3) | |
118 | -execute "hi cCppOutIf2" Fg(silver3) | |
119 | -execute "hi cParen" Fg(silver3) | |
120 | -execute "hi cBlock" Fg(silver3) | |
116 | +execute "hi cCppOut" Fg(s:silver3) | |
117 | +execute "hi cCppOutIf2" Fg(s:silver3) | |
118 | +execute "hi cParen" Fg(s:silver3) | |
119 | +execute "hi cBlock" Fg(s:silver3) | |
121 | 120 | |
122 | 121 | " filetype HTML |
123 | -execute "hi htmlH1" Fg(green4) Attr("bold") | |
124 | -execute "hi htmlH2" Fg(green3) Attr("bold") | |
125 | -execute "hi htmlH3" Fg(green2) Attr("bold") | |
122 | +execute "hi htmlH1" Fg(s:green4) Attr("bold") | |
123 | +execute "hi htmlH2" Fg(s:green3) Attr("bold") | |
124 | +execute "hi htmlH3" Fg(s:green2) Attr("bold") | |
126 | 125 | |
127 | 126 | " markdown |
128 | -execute "hi markdownCode" Fg(silver3) Bg(bg3) | |
129 | -execute "hi markdownCodeBlock" Fg(silver2) | |
130 | -execute "hi markdownUrl" Fg(silver2) Bg(bg3) Attr("underline") | |
131 | -execute "hi markdownLinkText" Fg(blue2) Attr("NONE") | |
127 | +execute "hi markdownCode" Fg(s:silver3) Bg(s:bg3) | |
128 | +execute "hi markdownCodeBlock" Fg(s:silver2) | |
129 | +execute "hi markdownUrl" Fg(s:silver2) Bg(s:bg3) Attr("underline") | |
130 | +execute "hi markdownLinkText" Fg(s:blue2) Attr("NONE") | |
132 | 131 | |
133 | 132 | " restructured text |
134 | -execute "hi rstEmphasis" Fg(green2) | |
135 | -execute "hi rstStrongEmphasis" Fg(green2) Attr("bold") | |
133 | +execute "hi rstEmphasis" Fg(s:green2) | |
134 | +execute "hi rstStrongEmphasis" Fg(s:green2) Attr("bold") | |
136 | 135 | |
137 | 136 | " Diffs |
138 | -execute "hi DiffChange" Fg(white) Bg(bg4) | |
139 | -execute "hi DiffText" Fg(blue2) Bg(bg4) Attr("bold") | |
140 | -execute "hi DiffDelete" Fg(red1) Bg(red1) | |
141 | -execute "hi DiffAdd" Fg(green2) Bg(bg3) Attr("bold") | |
137 | +execute "hi DiffChange" Fg(s:white) Bg(s:bg4) | |
138 | +execute "hi DiffText" Fg(s:blue2) Bg(s:bg4) Attr("bold") | |
139 | +execute "hi DiffDelete" Fg(s:red1) Bg(s:red1) | |
140 | +execute "hi DiffAdd" Fg(s:green2) Bg(s:bg3) Attr("bold") | |
141 | + | |
142 | +unlet Fg | |
143 | +unlet Bg | |
144 | +unlet Attr | |
145 | +unlet Cterm | |
146 | + |