Revisión | 29b3691edf73e0e2da44c0e304e460730e3f1e40 (tree) |
---|---|
Tiempo | 2023-02-08 21:56:28 |
Autor | badcoff33 <none@none> |
Commiter | badcoff33 |
copied from my Nvim files
@@ -0,0 +1,164 @@ | ||
1 | +" A Vim color theme | |
2 | +" Intro: Great movie -- nice theme | |
3 | +" Name: Tron | |
4 | +" Maintainer: Markus Prepens | |
5 | +" | |
6 | + | |
7 | +if exists("syntax_on") | |
8 | + syntax reset | |
9 | +endif | |
10 | + | |
11 | +hi clear | |
12 | +set background=dark | |
13 | +let g:colors_name = "tron" | |
14 | + | |
15 | +let s:white = '#FFFFFF' | |
16 | +let s:black = '#000000' | |
17 | +let s:fg0 = "#90ACBC" | |
18 | +let s:fg1 = "#5A7387" | |
19 | +let s:fg2 = "#AACCDD" | |
20 | +let s:fg3 = "#BBF0EF" | |
21 | +let s:fg4 = "#CBECFF" | |
22 | +let s:bg0 = "#0A0F11" | |
23 | +let s:bg1 = "#17181b" | |
24 | +let s:bg2 = "#192533" | |
25 | +let s:bg3 = "#1B324B" | |
26 | +let s:bg4 = "#2B4255" | |
27 | +let s:hl_line = "#101A1F" | |
28 | +let s:bg_hl = "#2B4255" | |
29 | +let s:vc_r = "#B62D66" | |
30 | +let s:vc_g = "#4BB5BE" | |
31 | +let s:vc_b = "#387AAA" | |
32 | +let s:key2 = "#9BBDD6" | |
33 | +let s:key3 = "#AAAAAA" | |
34 | +let s:accent = "#FFFFFF" | |
35 | +let s:mode_line_bg = "#2B4255" | |
36 | +let s:line_num = "#5A7387" | |
37 | +" TRON palette | |
38 | +let s:yellow = "#DEB45B" | |
39 | +let s:bluegreen = "#4BB5BE" | |
40 | +let s:magenta = "#B62D66" | |
41 | +let s:orange = "#DEB45B" | |
42 | +let s:red = "#B62D66" | |
43 | +let s:blue = "#8Fd4FF" | |
44 | +let s:green = "#4BB5AE" | |
45 | +let s:lightred = "#FF7DBB" | |
46 | +let s:lightblue = "#A0DCFF" | |
47 | +let s:lightgreen = "#AAF0CF" | |
48 | +let s:red_bg = "#361016" | |
49 | +let s:blue_bg = "#040E3F" | |
50 | +let s:green_bg = "#03353E" | |
51 | +let s:red_bghl = "#462026" | |
52 | +let s:blue_bghl = "#243E4F" | |
53 | +let s:green_bghl = "#23483E" | |
54 | + | |
55 | +let s:Fg = {str -> empty(str) ? "":"guifg=" .. str} | |
56 | +let s:Bg = {str -> empty(str) ? "":"guibg=" .. str} | |
57 | +let s:Attr = {str -> empty(str) ? "":"gui=" .. str} | |
58 | +let s:Special = {str -> empty(str) ? "":"guisp=" .. str} | |
59 | + | |
60 | +" Basics | |
61 | +execute "hi Bold" s:Fg(s:fg2) s:Attr("bold") | |
62 | +execute "hi Cursor" s:Fg(s:black) s:Bg(s:white) | |
63 | +execute "hi CursorLine" s:Bg(s:hl_line) | |
64 | +execute "hi CursorLineNr" s:Fg(s:bluegreen) s:Bg(s:bg3) s:Attr("bold") | |
65 | +execute "hi CurSearch" s:Fg(s:green) s:Bg(s:green_bg) s:Attr("inverse") | |
66 | +execute "hi ErrorMsg" s:Fg(s:orange) s:Bg("bg") | |
67 | +execute "hi IncSearch" s:Fg(s:green_bg) s:Bg(s:yellow) s:Attr("bold") | |
68 | +execute "hi NONE" s:Fg(s:fg2) s:Attr("NONE") | |
69 | +execute "hi LineNr" s:Fg(s:lightgreen) s:Bg(s:bg2) | |
70 | +execute "hi LineNrAbove" s:Fg(s:bg4) s:Bg("bg") s:Attr("bold") | |
71 | +execute "hi LineNrBelow" s:Fg(s:bg4) s:Bg("bg") s:Attr("bold") | |
72 | +execute "hi MatchParen" s:Fg(s:bluegreen) s:Bg("bg") s:Attr("underline") | |
73 | +execute "hi ModeMsg" s:Fg(s:fg2) s:Bg("bg") | |
74 | +execute "hi NonText" s:Fg(s:magenta) s:Bg(s:bg1) | |
75 | +execute "hi Normal" s:Fg(s:fg4) s:Bg(s:bg1) s:Attr("NONE") | |
76 | +execute "hi NormalFloat" s:Fg(s:yellow) s:Bg(s:green_bg) s:Attr("NONE") | |
77 | +execute "hi NormalNC" s:Fg(s:fg4) s:Bg(s:bg0) s:Attr("NONE") | |
78 | +execute 'hi Pmenu' s:Fg(s:white) s:Bg(s:blue_bg) s:Attr('NONE') | |
79 | +execute 'hi PmenuSbar' s:Fg(s:fg3) s:Bg(s:bg3) | |
80 | +execute 'hi PmenuSel' s:Fg(s:white) s:Bg(s:magenta) s:Attr('NONE') | |
81 | +execute 'hi PmenuThumb' s:Fg(s:blue) s:Bg(s:bg4) | |
82 | +execute "hi Question" s:Fg(s:green) s:Bg("bg") | |
83 | +execute "hi QuickFixLine" s:Fg(s:yellow) s:Bg("bg") s:Attr("bold") | |
84 | +execute "hi Search" s:Fg(s:green) s:Bg(s:green_bg) s:Attr("none") | |
85 | +execute 'hi StatusLine' s:Fg(s:fg4) s:Bg(s:blue_bghl) s:Attr('NONE') | |
86 | +execute 'hi StatusLineNC' s:Fg(s:fg4) s:Bg(s:bg2) s:Attr('NONE') | |
87 | +execute "hi Terminal" s:Fg(s:blue) s:Bg(s:bg2) | |
88 | +execute "hi Title" s:Fg(s:bluegreen) | |
89 | +execute "hi VertSplit" s:Fg(s:bg1) s:Bg(s:bg1) s:Attr("NONE") | |
90 | +execute 'hi Visual' s:Fg(s:blue_bg) s:Bg(s:blue) | |
91 | +execute "hi WarningMsg" s:Fg(s:magenta) s:Bg("bg") | |
92 | +execute "hi qfFileName" s:Fg(s:blue) | |
93 | +execute "hi qfSeparator" s:Fg("fg") | |
94 | + | |
95 | +highlight! link CursorColumn CursorLine | |
96 | +highlight! link FoldColumn Normal | |
97 | +highlight! link Folded StatusLineNC | |
98 | +highlight! link SignColumn Normal | |
99 | +highlight! link StatusLineTerm StatusLine | |
100 | +highlight! link StatusLineTermNC StatusLineNC | |
101 | +highlight! link TabLine Normal | |
102 | +highlight! link TabLineFill Normal | |
103 | +highlight! link TabLineSel StatusLine | |
104 | +highlight! link User1 StatusLine | |
105 | +highlight! link User2 StatusLine | |
106 | +highlight! link User3 StatusLine | |
107 | +highlight! link User4 StatusLine | |
108 | +highlight! link WildMenu IncSearch | |
109 | +highlight! link WinBar StatusLine | |
110 | +highlight! link qfLineNr LineNr | |
111 | + | |
112 | +" Code | |
113 | +execute "hi Statement" s:Fg(s:yellow) s:Attr("NONE") | |
114 | +execute "hi Conditional" s:Fg(s:magenta) s:Attr("bold") | |
115 | +execute "hi Type" s:Fg(s:lightred) s:Attr("NONE") | |
116 | +execute "hi Structure" s:Fg(s:blue) | |
117 | +execute "hi StorageClass" s:Fg(s:lightgreen) | |
118 | +execute "hi PreProc" s:Fg(s:white) s:Attr("bold") | |
119 | +execute "hi PreCondit" s:Fg(s:lightgreen) s:Attr("bold") | |
120 | +execute "hi Define" s:Fg(s:blue) s:Attr("NONE") | |
121 | +execute "hi Comment" s:Fg(s:bluegreen) | |
122 | +execute "hi Function" s:Fg(s:lightgreen) s:Attr("bold") | |
123 | +execute "hi Identifier" s:Fg(s:fg3) | |
124 | +execute "hi Special" s:Fg(s:green) | |
125 | +execute "hi Constant" s:Fg(s:fg2) | |
126 | +execute "hi Number" s:Fg(s:white) | |
127 | +execute "hi Todo" s:Fg(s:fg2) s:Bg(s:bg3) | |
128 | +execute "hi Error" s:Fg(s:red) s:Bg(s:red_bg) | |
129 | +execute "hi Directory" s:Fg(s:lightgreen) s:Attr("underline") s:Special(s:lightgreen) | |
130 | + | |
131 | +" Filetype VIM | |
132 | +execute "hi vimCommentTitle" s:Fg(s:white) s:Attr("bold") | |
133 | + | |
134 | +" Filetype C | |
135 | +execute "hi cCppOut" s:Fg(s:fg3) | |
136 | +execute "hi cCppOutIf2" s:Fg(s:fg3) | |
137 | +execute "hi cParen" s:Fg(s:fg3) | |
138 | +execute "hi cBlock" s:Fg(s:fg3) | |
139 | + | |
140 | +" filetype HTML | |
141 | +execute "hi htmlH1" s:Fg(s:orange) s:Attr("bold") | |
142 | +execute "hi htmlH2" s:Fg(s:orange) s:Attr("bold") | |
143 | +execute "hi htmlH3" s:Fg(s:orange) s:Attr("bold") | |
144 | + | |
145 | +" markdown | |
146 | +execute "hi markdownCode" s:Fg(s:lightgreen) | |
147 | +execute "hi markdownCodeBlock" s:Fg(s:lightgreen) | |
148 | +execute "hi markdownUrl" s:Fg(s:blue) s:Attr("underline") s:Special(s:blue) | |
149 | +execute "hi markdownLinkText" s:Fg(s:blue) s:Attr("none") | |
150 | + | |
151 | +" restructured text | |
152 | +execute "hi rstEmphasis" s:Fg(s:green) | |
153 | +execute "hi rstStrongEmphasis" s:Fg(s:green) s:Attr("bold") | |
154 | + | |
155 | +" Diffs | |
156 | +execute "hi diffAdded" s:Fg(s:green) s:Bg(s:bg3) s:Attr("bold") | |
157 | +execute "hi diffChanged" s:Fg(s:white) s:Bg(s:bg4) | |
158 | +execute "hi diffRemoved" s:Fg(s:red) s:Bg(s:red) | |
159 | + | |
160 | +" Diff Mode | |
161 | +execute "hi DiffText" s:Fg(s:blue) s:Bg(s:bg4) s:Attr("bold") | |
162 | +hi! link DiffAdd diffAdded | |
163 | +hi! link DiffChange diffChange | |
164 | +hi! link DiffDelete diffRemoved |