├── LICENSE
├── README.md
├── autoload
├── airline
│ └── themes
│ │ └── vice.vim
└── lightline
│ └── colorscheme
│ └── vice.vim
├── colors
└── vice.vim
└── contrib
├── sublime
├── Makefile
├── VICE.tmTheme
└── maketheme.php
├── terminator
└── config
└── xresources
└── vice
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2016 bradley
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # vim-vice
2 | ![logo][logo]
3 |
“No one gossips about others' secret virtues.”
4 |
5 | Vice is a dark and vibrant colorscheme for vim.
6 |
7 | ![screencap][screencap]
8 |
9 | ## Installing
10 |
11 | Install vim-vice using your plugin manager of choice:
12 | ```
13 | " Vundle
14 | Plugin 'bcicen/vim-vice'
15 | " vim-plug
16 | Plug 'bcicen/vim-vice'
17 | " NeoBundle
18 | NeoBundle 'bcicen/vim-vice'
19 | ```
20 |
21 | Or install manually:
22 | ```
23 | curl -Lo ~/.vim/colors/vice.vim https://raw.githubusercontent.com/bcicen/vim-vice/master/colors/vice.vim
24 | ```
25 |
26 | And activate in your `.vimrc`:
27 | ```
28 | colorscheme vice
29 | ```
30 |
31 | ## Other Platforms
32 |
33 | Vice colorscheme ports to other terminal emulators and applications can be found in the `contrib/` dir
34 |
35 | ### Xresources
36 |
37 | Copy the contents of [xresources/vice](xresources/vice) into your `~/.Xresources` config file.
38 |
39 | Then run `xrdb ~/.Xresources` to reload the config.
40 |
41 | ### Terminator
42 |
43 | Backup your existing terminator config:
44 | ```bash
45 | cp -v ~/.config/terminator/config{,.bk}
46 | ```
47 |
48 | Then copy [terminator/vice](terminator/vice) to `~/.config/terminator/config` or `$XDG_CONFIG_HOME/terminator/config` if you're running OS X.
49 |
50 | Restart terminator to load the Vice colorscheme.
51 |
52 | ### Sublime
53 |
54 | Install to the default Sublime directory:
55 |
56 | ```bash
57 | cd contrib/sublime
58 | make install
59 | ```
60 |
61 | And select the Vice theme in `Preferences > Color Scheme`.
62 |
63 | ### [gotop](https://github.com/cjbassi/gotop)
64 |
65 | Provide the `-c` option to use the Vice colorscheme:
66 | ```bash
67 | gotop -c vice
68 | ```
69 |
70 | [logo]: http://i.imgur.com/HWvyN7M.png "vice"
71 | [screencap]: http://i.imgur.com/WPRvqy4.png "vice"
72 |
--------------------------------------------------------------------------------
/autoload/airline/themes/vice.vim:
--------------------------------------------------------------------------------
1 | " Function definitions
2 | function! s:MakeCol(fg, bg)
3 | return [ a:fg[1], a:bg[1], a:fg[0], a:bg[0] ]
4 | endfun
5 |
6 | " Color definitions
7 | let s:white = [231, "#ffffff"]
8 | let s:grey0 = [102, "#878787"] "lightest grey
9 | let s:grey1 = [238, "#444444"] "mid grey
10 | let s:grey2 = [235, "#303030"] "darkest grey
11 | let s:pink = [212, "#ff87d7"]
12 | let s:light_pink = [218, "#ffafdf"]
13 | let s:hot_pink = [201, "#ff00ff"]
14 | let s:red = [197, "#ff005f"]
15 | let s:teal = [123, "#87ffff"]
16 | let s:light_blue = [159, "#afffff"]
17 | let s:light_yellow = [229, "#ffffaf"]
18 | let s:mint = [158, "#afffd7"]
19 | let s:dark_mint = [ 49, "#87af87"]
20 | let s:lavender = [183, "#dfafff"]
21 | let s:gray_purple = [146, "#afafd7"]
22 | let s:dark_lavender = [ 97, "#875faf"]
23 |
24 | let g:airline#themes#vice#palette = {}
25 | let s:changed = s:MakeCol(s:dark_mint, s:grey2)
26 |
27 | "let s:modified = { 'airline_c': s:MakeCol(s:dark_mint, s:grey2) }
28 |
29 | " Normal mode
30 | let s:N1 = s:MakeCol(s:grey1, s:teal)
31 | let s:N2 = s:MakeCol(s:white, s:grey2)
32 | let s:N3 = s:MakeCol(s:mint, s:grey2)
33 | let g:airline#themes#vice#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
34 | let g:airline#themes#vice#palette.normal_modified = airline#themes#generate_color_map(s:N1, s:N2, s:changed)
35 |
36 | " Insert mode
37 | let s:I1 = s:MakeCol(s:grey1, s:mint)
38 | let s:I2 = s:N2
39 | let s:I3 = s:N3
40 | let g:airline#themes#vice#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
41 | let g:airline#themes#vice#palette.insert_modified = airline#themes#generate_color_map(s:I1, s:I2, s:changed)
42 |
43 | " Visual mode
44 | let s:V1 = s:MakeCol(s:grey1, s:pink)
45 | let s:V2 = s:N2
46 | let s:V3 = s:I3
47 | let g:airline#themes#vice#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
48 | let g:airline#themes#vice#palette.visual_modified = airline#themes#generate_color_map(s:V1, s:V2, s:changed)
49 |
50 | " Replace mode
51 | let s:R1 = s:MakeCol(s:hot_pink, s:grey2)
52 | let s:R2 = s:N2
53 | let s:R3 = s:I3
54 | let g:airline#themes#vice#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
55 | let g:airline#themes#vice#palette.replace_modified = airline#themes#generate_color_map(s:R1, s:R2, s:changed)
56 |
57 | " Inactive mode
58 | let s:IN1 = s:MakeCol(s:grey0, s:grey1)
59 | let s:IN2 = s:MakeCol(s:grey0, s:grey1)
60 | let s:IN3 = s:MakeCol(s:grey0, s:grey1)
61 | let g:airline#themes#vice#palette.inactive = airline#themes#generate_color_map(s:IN1, s:IN2, s:IN3)
62 | let g:airline#themes#vice#palette.replace_modified = airline#themes#generate_color_map(s:IN1, s:IN2, s:changed)
63 |
64 | " CtrlP
65 | if !get(g:, 'loaded_ctrlp', 0)
66 | finish
67 | endif
68 |
69 | let s:CP1 = s:MakeCol(s:white, s:grey1)
70 | let s:CP2 = s:MakeCol(s:white, s:grey1)
71 | let s:CP3 = s:MakeCol(s:white, s:grey1)
72 |
73 | let g:airline#themes#vice#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(s:CP1, s:CP2, s:CP3)
74 |
--------------------------------------------------------------------------------
/autoload/lightline/colorscheme/vice.vim:
--------------------------------------------------------------------------------
1 | let s:white = ["#ffffff", 231]
2 | let s:grey0 = ["#878787", 102]
3 | let s:grey1 = ["#444444", 238]
4 | let s:grey2 = ["#303030", 235]
5 | let s:pink = ["#ff87d7", 212]
6 | let s:light_pink = ["#ffafdf", 218]
7 | let s:hot_pink = ["#ff00ff", 201]
8 | let s:red = ["#ff005f", 197]
9 | let s:teal = ["#87ffff", 123]
10 | let s:light_blue = ["#afffff", 159]
11 | let s:light_yellow = ["#ffffaf", 229]
12 | let s:mint = ["#afffd7", 158]
13 | let s:dark_mint = ["#87af87", 49]
14 | let s:lavender = ["#dfafff", 183]
15 | let s:gray_purple = ["#afafd7", 146]
16 | let s:dark_lavender = ["#875faf", 97]
17 |
18 | let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
19 |
20 | " Normal Mode
21 | let s:p.normal.left = [[s:grey1, s:teal], [s:white, s:grey1]]
22 | let s:p.normal.middle = [[ s:white, s:grey2 ]]
23 | let s:p.normal.right = [[ s:grey2, s:teal], [s:white, s:grey1]]
24 |
25 | "Insert Mode
26 | let s:p.insert.left = [[ s:grey1, s:mint ], [s:white, s:grey1]]
27 | let s:p.insert.middle = [[ s:white, s:grey2 ]]
28 | let s:p.insert.right = [[ s:grey2, s:mint], [s:white, s:grey1]]
29 |
30 | " Visual Mode
31 | let s:p.visual.left = [ [ s:grey1, s:pink ], [ s:white, s:grey1 ] ]
32 | let s:p.visual.middle = [[ s:white, s:grey2 ]]
33 | let s:p.visual.right = [ [ s:grey2, s:pink ], [ s:white, s:grey1 ] ]
34 |
35 | " Inactive Mode
36 | let s:p.inactive.left = [ [ s:grey0, s:grey1 ], [ s:grey0, s:grey1 ] ]
37 | let s:p.inactive.middle = [ [ s:grey0, s:grey1 ] ]
38 | let s:p.inactive.right = [ [ s:grey0, s:grey1 ], [ s:grey0, s:grey1 ] ]
39 |
40 | " Replace Mode
41 | let s:p.replace.left = [ [ s:grey1, s:lavender ], [ s:white, s:grey1 ] ]
42 | let s:p.replace.right = [ [ s:grey2, s:lavender ], [ s:white, s:grey1 ] ]
43 |
44 | let g:lightline#colorscheme#vice#palette = lightline#colorscheme#flatten(s:p)
45 |
--------------------------------------------------------------------------------
/colors/vice.vim:
--------------------------------------------------------------------------------
1 | " /$$ /$$ /$$$$$$ /$$$$$$ /$$$$$$$$
2 | " | $$ | $$|_ $$_/ /$$__ $$| $$_____/
3 | " | $$ | $$ | $$ | $$ \__/| $$
4 | " | $$ / $$/ | $$ | $$ | $$$$$
5 | " \ $$ $$/ | $$ | $$ | $$__/
6 | " \ $$$/ | $$ | $$ $$| $$
7 | " \ $/ /$$$$$$| $$$$$$/| $$$$$$$$
8 | " \_/ |______/ \______/ |________/
9 |
10 | " URL: https://github.com/bcicen/vim-vice
11 | " Author: Bradley Cicenas
12 | " License: MIT
13 |
14 | set background=dark
15 | highlight clear
16 |
17 | if exists("syntax_on")
18 | syntax reset
19 | endif
20 |
21 | set t_Co=256
22 | let g:colors_name = "vice"
23 |
24 | " Color definitions
25 | let s:white = [231, "#ffffff"]
26 | let s:grey0 = [102, "#878787"] "lightest grey
27 | let s:grey1 = [238, "#444444"] "mid grey
28 | let s:grey2 = [236, "#303030"] "darkest grey
29 | let s:pink = [212, "#ff87d7"]
30 | let s:light_pink = [218, "#ffafd7"]
31 | let s:hot_pink = [201, "#ff00ff" ]
32 | let s:red = [197, "#ff005f" ]
33 | let s:teal = [123, "#87ffff"]
34 | let s:light_blue = [159, "#afffff"]
35 | let s:light_yellow = [229, "#ffffaf"]
36 | let s:mint = [158, "#afffd7"]
37 | let s:dark_mint = [49, "#00ffaf"]
38 | let s:lavender = [183, "#d7afff"]
39 | let s:gray_purple = [146, "#afafd7"]
40 | let s:dark_lavender = [97, "#875faf"]
41 | let s:none = ["NONE", ""]
42 |
43 | " func
44 | function! s:Color(name, fg, bg, style)
45 | execute "hi " . a:name . " ctermfg=" . a:fg[0] . " ctermbg=" . a:bg[0] " cterm=" . a:style
46 | if a:fg[1] != ""
47 | execute "hi " . a:name . " guifg=" . a:fg[1]
48 | endif
49 | if a:bg[1] != ""
50 | execute "hi " . a:name . " guibg=" . a:bg[1]
51 | endif
52 | execute "hi " . a:name . " gui=" . a:style
53 | endfun
54 |
55 | call s:Color("Normal", s:white, s:grey2, "NONE")
56 | call s:Color("Cursor", s:grey2, s:white, "NONE")
57 | call s:Color("Visual", s:none, s:grey0, "NONE")
58 | call s:Color("CursorLine", s:none, s:grey2, "NONE")
59 | call s:Color("CursorColumn", s:none, s:grey2, "NONE")
60 | call s:Color("CursorLineNr", s:hot_pink, s:none, "NONE")
61 | call s:Color("ColorColumn", s:none, s:grey2, "NONE")
62 | call s:Color("LineNr", s:grey0, s:grey2, "NONE")
63 | call s:Color("VertSplit", s:grey0, s:grey0, "NONE")
64 | call s:Color("MatchParen", s:grey0, s:light_blue, "NONE")
65 | call s:Color("StatusLine", s:white, s:grey1, "NONE")
66 | call s:Color("StatusLineNC", s:white, s:grey0, "NONE")
67 | call s:Color("Pmenu", s:white, s:grey0, "NONE")
68 | call s:Color("PmenuSel", s:grey0, s:light_blue, "NONE")
69 | call s:Color("IncSearch", s:grey0, s:light_blue, "NONE")
70 | call s:Color("Search", s:grey0, s:light_blue, "NONE")
71 | call s:Color("Directory", s:light_blue, s:none, "NONE")
72 | call s:Color("Folded", s:mint, s:grey1, "NONE")
73 | call s:Color("Define", s:gray_purple, s:none, "NONE")
74 |
75 | " Diff
76 | call s:Color("DiffAdd", s:white, s:dark_mint, "NONE")
77 | call s:Color("DiffDelete", s:red, s:none, "NONE")
78 | call s:Color("DiffChange", s:white, s:grey2, "NONE")
79 | call s:Color("DiffText", s:grey0, s:light_blue, "NONE")
80 |
81 | " Command line
82 | call s:Color("ErrorMsg", s:white, s:hot_pink, "NONE")
83 | call s:Color("Overlength", s:grey0, s:light_yellow, "NONE")
84 | call s:Color("WarningMsg", s:white, s:hot_pink, "NONE")
85 |
86 | " Elements
87 | call s:Color("Boolean", s:lavender, s:none, "NONE")
88 | call s:Color("Character", s:lavender, s:none, "NONE")
89 | call s:Color("Comment", s:gray_purple, s:none, "NONE")
90 | call s:Color("Conditional", s:light_pink, s:none, "NONE")
91 | call s:Color("Constant", s:mint, s:none, "NONE")
92 | call s:Color("Float", s:lavender, s:none, "NONE")
93 | call s:Color("Function", s:pink, s:none, "NONE")
94 | call s:Color("Identifier", s:pink, s:none, "NONE")
95 | call s:Color("Keyword", s:pink, s:none, "NONE")
96 | call s:Color("Label", s:teal, s:none, "NONE")
97 | call s:Color("NonText", s:white, s:grey2, "NONE")
98 | call s:Color("Number", s:mint, s:none, "NONE")
99 | call s:Color("Operator", s:light_pink, s:none, "NONE")
100 | call s:Color("PreProc", s:teal, s:none, "NONE")
101 | call s:Color("Special", s:pink, s:none, "NONE")
102 | call s:Color("SpecialKey", s:white, s:grey2, "NONE")
103 | call s:Color("Statement", s:teal, s:none, "NONE")
104 | call s:Color("StorageClass", s:mint, s:none, "NONE")
105 | call s:Color("String", s:mint, s:none, "NONE")
106 | call s:Color("Tag", s:light_pink, s:none, "NONE")
107 | call s:Color("Title", s:white, s:none, "NONE")
108 | call s:Color("Todo", s:hot_pink, s:white, "inverse,NONE")
109 | call s:Color("Type", s:mint, s:none, "NONE")
110 | call s:Color("Underlined", s:none, s:none, "underline")
111 |
112 | " Tab line
113 | call s:Color("TabLine", s:mint, s:grey1, "NONE")
114 | call s:Color("TabLineSel", s:grey1, s:mint, "NONE")
115 | call s:Color("TabLineFill", s:white, s:grey2, "NONE")
116 |
117 | " Language and filetype specific
118 | call s:Color("pythonStatement", s:teal, s:none, "NONE")
119 |
120 | call s:Color("htmlTag", s:none, s:none, "NONE")
121 | call s:Color("htmlEndTag", s:none, s:none, "NONE")
122 | call s:Color("htmlTagName", s:none, s:none, "NONE")
123 | call s:Color("htmlArg", s:none, s:none, "NONE")
124 | call s:Color("htmlSpecialChar", s:lavender, s:none, "NONE")
125 | call s:Color("htmlItalic", s:mint, s:none, "NONE")
126 | call s:Color("htmlBold", s:dark_mint, s:none, "NONE")
127 |
128 | call s:Color("javaScriptFunction", s:mint, s:none, "NONE")
129 | call s:Color("javaScriptRailsFunction", s:mint, s:none, "NONE")
130 | call s:Color("javaScriptBraces", s:none, s:none, "NONE")
131 |
132 | call s:Color("yamlKey", s:light_pink, s:none, "NONE")
133 | call s:Color("yamlAnchor", s:none, s:none, "NONE")
134 | call s:Color("yamlAlias", s:none, s:none, "NONE")
135 | call s:Color("yamlDocumentHeader", s:light_yellow, s:none, "NONE")
136 | call s:Color("yamlPlainScalar", s:light_blue, s:none, "NONE")
137 | call s:Color("yamlBlockCollectionItemStart", s:light_pink, s:none, "NONE")
138 |
139 | call s:Color("cssURL", s:hot_pink, s:none, "NONE")
140 | call s:Color("cssFunctionName", s:mint, s:none, "NONE")
141 | call s:Color("cssColor", s:lavender, s:none, "NONE")
142 | call s:Color("cssPseudoClassId", s:light_pink, s:none, "NONE")
143 | call s:Color("cssClassName", s:light_pink, s:none, "NONE")
144 | call s:Color("cssValueLength", s:lavender, s:none, "NONE")
145 | call s:Color("cssCommonAttr", s:mint, s:none, "NONE")
146 | call s:Color("cssBraces", s:none, s:none, "NONE")
147 |
148 | call s:Color("jsThis", s:light_pink, s:none, "NONE")
149 | call s:Color("jsBraces", s:pink, s:none, "NONE")
150 | call s:Color("jsGlobalObjects", s:mint, s:none, "NONE")
151 |
152 | call s:Color("coffeeCurly", s:lavender, s:none, "NONE")
153 | call s:Color("coffeeObjAssign", s:pink, s:none, "NONE")
154 |
155 | call s:Color("cjsxAttribProperty", s:lavender, s:none, "NONE")
156 |
157 | call s:Color("markdownH1", s:light_blue, s:none, "NONE")
158 | call s:Color("markdownH2", s:light_blue, s:none, "NONE")
159 | call s:Color("markdownH3", s:light_blue, s:none, "NONE")
160 | call s:Color("markdownH4", s:light_blue, s:none, "NONE")
161 | call s:Color("markdownH5", s:light_blue, s:none, "NONE")
162 | call s:Color("markdownH6", s:light_blue, s:none, "NONE")
163 | call s:Color("markdownHeadingDelimiter", s:light_blue, s:none, "NONE")
164 | call s:Color("markdownRule", s:light_blue, s:none, "NONE")
165 |
--------------------------------------------------------------------------------
/contrib/sublime/Makefile:
--------------------------------------------------------------------------------
1 | THEME := VICE.tmTheme
2 | SCRIPT := maketheme.php
3 | INSTALL_DEST := "$(HOME)/.config/sublime-text-3/Packages/Color Scheme - Default/$(THEME)"
4 |
5 | $(THEME): $(SCRIPT)
6 | php $< > $@
7 |
8 | install: $(THEME)
9 | install -Dm644 $(THEME) $(INSTALL_DEST)
10 |
11 | debug:
12 | ls $(SCRIPT) | entr -s "make install"
13 |
14 | clean:
15 | rm -f $(THEME)
16 |
--------------------------------------------------------------------------------
/contrib/sublime/VICE.tmTheme:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 | name
19 | VICE
20 | settings
21 |
22 |
23 | settings
24 |
25 | caret
26 | #00FFAF
27 | background
28 | #181818
29 | foreground
30 | #FFFFFF
31 | gutter
32 | #181818
33 | gutterForeground
34 | #878787
35 | selection
36 | #444444
37 | selectionBorder
38 | #AFAFD7
39 | invisibles
40 | #ABCDEF
41 | lineHighlight
42 | #FF00FF28
43 | highlight
44 | #FF00FF
45 | findHighlight
46 | #FFFFAF
47 | findHighlightForeground
48 | #000000
49 | accent
50 | #FF00FF
51 | guide
52 | #444444
53 | activeGuide
54 | #FFFFFF
55 | stackGuide
56 | #87FFFF
57 | bracketsForeground
58 | #FFFFAF
59 | bracketContentsForeground
60 | #FFFFAF
61 | bracketsOptions
62 | underline
63 | bracketContentsOptions
64 | underline
65 | tagsOptions
66 | stippled_underline
67 |
68 |
69 |
70 |
71 |
72 | scope
73 | entity.name
74 | settings
75 |
76 | foreground
77 | #FFFFFF
78 |
79 |
80 | scope
81 | entity.other.inherited-class
82 | settings
83 |
84 | foreground
85 | #FFFFFF
86 |
87 |
88 | scope
89 | entity.name.section
90 | settings
91 |
92 | foreground
93 | #FFFFFF
94 |
95 |
96 | scope
97 | entity.name.tag
98 | settings
99 |
100 | foreground
101 | #AFFFFF
102 |
103 |
104 | scope
105 | entity.other.attribute-name
106 | settings
107 |
108 | foreground
109 | #FFFFFF
110 |
111 |
112 | scope
113 | variable
114 | settings
115 |
116 | foreground
117 | #FFFFFF
118 |
119 |
120 | scope
121 | variable.parameter
122 | settings
123 |
124 | foreground
125 | #FFFFFF
126 |
127 |
128 | scope
129 | variable.function
130 | settings
131 |
132 | foreground
133 | #FFFFFF
134 |
135 |
136 | scope
137 | support.function
138 | settings
139 |
140 | foreground
141 | #87FFFF
142 |
143 |
144 | scope
145 | punctuation.definition.variable
146 | settings
147 |
148 | foreground
149 | #FFAFD7
150 |
151 |
152 | scope
153 | constant
154 | settings
155 |
156 | foreground
157 | #AFFFD7
158 |
159 |
160 | scope
161 | constant.language
162 | settings
163 |
164 | foreground
165 | #AFFFD7
166 |
167 |
168 | scope
169 | constant.numeric
170 | settings
171 |
172 | foreground
173 | #AFFFD7
174 |
175 |
176 | scope
177 | constant.character.escape
178 | settings
179 |
180 | foreground
181 | #00FFAF
182 |
183 |
184 | scope
185 | string
186 | settings
187 |
188 | foreground
189 | #FFFFAF
190 |
191 |
192 | scope
193 | string.unquoted
194 | settings
195 |
196 | foreground
197 | #FFFFFF
198 |
199 |
200 | scope
201 | meta.function.parameters
202 | settings
203 |
204 | foreground
205 | #87FFFF
206 |
207 |
208 | scope
209 | storage.type
210 | settings
211 |
212 | foreground
213 | #87FFFF
214 |
215 |
216 | scope
217 | storage.modifier
218 | settings
219 |
220 | foreground
221 | #00FFAF
222 |
223 |
224 | scope
225 | support.class
226 | settings
227 |
228 | foreground
229 | #FFFFFF
230 |
231 |
232 | scope
233 | keyword
234 | settings
235 |
236 | foreground
237 | #AFAFD7
238 |
239 |
240 | scope
241 | keyword.control
242 | settings
243 |
244 | foreground
245 | #AFFFFF
246 |
247 |
248 | scope
249 | keyword.operator
250 | settings
251 |
252 | foreground
253 | #AFFFFF
254 |
255 |
256 | scope
257 | keyword.operator.assignment
258 | settings
259 |
260 | foreground
261 | #FFAFD7
262 |
263 |
264 | scope
265 | comment
266 | settings
267 |
268 | foreground
269 | #FFFFFF
270 | background
271 | #44444435
272 | fontStyle
273 | bold italic
274 |
275 |
276 | scope
277 | punctuation.definition.comment
278 | settings
279 |
280 | foreground
281 | #00FFAF
282 | fontStyle
283 | bold
284 |
285 |
286 | scope
287 | invalid
288 | settings
289 |
290 | foreground
291 | #FFFFFF
292 | background
293 | #FF00FF
294 |
295 |
296 | scope
297 | punctuation
298 | settings
299 |
300 | foreground
301 | #FF87D7
302 |
303 |
304 | scope
305 | punctuation.separator
306 | settings
307 |
308 | foreground
309 | #FFFFFF
310 |
311 |
312 | scope
313 | punctuation.separator.continuation
314 | settings
315 |
316 | foreground
317 | #FFFFFF
318 |
319 |
320 | scope
321 | punctuation.terminator
322 | settings
323 |
324 | foreground
325 | #FFFFFF
326 |
327 |
328 | scope
329 | punctuation.accessor
330 | settings
331 |
332 | foreground
333 | #AFFFD7
334 |
335 |
336 | scope
337 | punctuation.definition.string.begin
338 | settings
339 |
340 | foreground
341 | #FFFFFF
342 |
343 |
344 | scope
345 | punctuation.definition.string.end
346 | settings
347 |
348 | foreground
349 | #FFFFFF
350 |
351 |
352 | scope
353 | meta.structure.dictionary.key string
354 | settings
355 |
356 | foreground
357 | #FFFFAF
358 |
359 |
360 | scope
361 | support.type.property-name.css
362 | settings
363 |
364 | foreground
365 | #FFAFD7
366 |
367 |
368 | scope
369 | support.constant.property-value.css
370 | settings
371 |
372 | foreground
373 | #FFFFFF
374 |
375 |
376 | uuid
377 | AF285292-7A98-4339-A1A8-257F162DEA6F
378 | colorSpaceName
379 | sRGB
380 | semanticClass
381 | theme.VICE
382 | author
383 | vim-vice theme Bradley Cicenas 2016. Sublime conversion Jason Stewart 2018.
384 |
385 |
386 |
--------------------------------------------------------------------------------
/contrib/sublime/maketheme.php:
--------------------------------------------------------------------------------
1 | #!/usr/bin/php
2 | $fg,
8 | 'background' => $bg,
9 | 'fontStyle' => $style,
10 | ];
11 | }
12 |
13 | function toXml($scope, $props) {
14 |
15 | $szRet = sprintf('
16 |
17 | scope
18 | %s
19 | settings
20 | ', $scope);
21 |
22 | foreach( $props as $key => $val ) {
23 |
24 | if( $val !== null ) {
25 |
26 | $szRet .= sprintf('
27 | %s
28 | %s', $key, $val);
29 | }
30 | }
31 |
32 | $szRet .= '
33 | ';
34 |
35 | return $szRet;
36 | }
37 |
38 | $white = '#FFFFFF';
39 | $grey0 = '#878787'; // lightest grey
40 | $grey1 = '#444444'; // mid grey
41 | $grey2 = '#181818'; // darkest grey
42 | $pink = '#FF87D7';
43 | $light_pink = '#FFAFD7';
44 | $hot_pink = '#FF00FF';
45 | $red = '#FF005F';
46 | $teal = '#87FFFF';
47 | $light_blue = '#AFFFFF';
48 | $light_yellow = '#FFFFAF';
49 | $mint = '#AFFFD7';
50 | $dark_mint = '#00FFAF';
51 | $lavender = '#D7AFFF';
52 | $gray_purple = '#AFAFD7';
53 | $dark_lavender = '#875FAF';
54 | $black = '#000000';
55 |
56 | // https://www.sublimetext.com/docs/3/color_schemes.html
57 | // http://www.sublimetext.com/docs/3/scope_naming.html
58 |
59 | $arSettings = [
60 | 'caret' => $dark_mint,
61 | 'background' => $grey2,
62 | 'foreground' => $white,
63 | 'gutter' => $grey2,
64 | 'gutterForeground' => $grey0,
65 | 'selection' => $grey1,
66 | 'selectionBorder' => $gray_purple,
67 | 'invisibles' => '#ABCDEF',
68 | 'lineHighlight' => $hot_pink . '28',
69 | 'highlight' => $hot_pink,
70 | 'findHighlight' => $light_yellow,
71 | 'findHighlightForeground' => $black,
72 | 'accent' => $hot_pink,
73 | 'guide' => $grey1,
74 | 'activeGuide' => $white,
75 | 'stackGuide' => $teal,
76 | 'bracketsForeground' => $light_yellow,
77 | 'bracketContentsForeground' => $light_yellow,
78 | 'bracketsOptions' => 'underline',
79 | 'bracketContentsOptions' => 'underline',
80 | 'tagsOptions' => 'stippled_underline',
81 |
82 | ];
83 |
84 | $arParts = [
85 | 'entity.name' => COL($white, null, null),
86 | 'entity.other.inherited-class' => COL($white, null, null),
87 | 'entity.name.section' => COL($white, null, null),
88 | 'entity.name.tag' => COL($white, null, null),
89 | 'entity.other.attribute-name' => COL($white, null, null),
90 |
91 | 'variable' => COL($white, null, null),
92 | 'variable.parameter' => COL($white, null, null),
93 | 'variable.function' => COL($white, null, null),
94 | 'support.function' => COL($teal, null, null),
95 | 'punctuation.definition.variable' => COL($light_pink, null, null),
96 |
97 | 'constant' => COL($mint, null, null),
98 | 'constant.language' => COL($mint, null, null),
99 | 'constant.numeric' => COL($mint, null, null),
100 | 'constant.character.escape' => COL($dark_mint, null, null),
101 | 'string' => COL($light_yellow, null, null),
102 | 'string.unquoted' => COL($white, null, null),
103 |
104 | 'meta.function.parameters' => COL($teal, null, null), // param types
105 | 'storage.type' => COL($teal, null, null), // types
106 | 'storage.modifier' => COL($dark_mint, null, null), // public, private, etc.
107 |
108 | // CLASS NAME
109 | 'support.class' => COL($white, null, null),
110 |
111 | 'keyword' => COL($gray_purple, null, null),
112 | 'keyword.control' => COL($light_blue, null, null),
113 | 'keyword.operator' => COL($light_blue, null, null),
114 | 'keyword.operator.assignment' => COL($light_pink, null, null),
115 |
116 | 'comment' => COL($white, $grey1 . '35', 'bold italic'),
117 | 'punctuation.definition.comment' => COL($dark_mint, null, 'bold'),
118 |
119 | 'invalid' => COL($white, $hot_pink, null),
120 |
121 | 'punctuation' => COL($pink, null, null),
122 | 'punctuation.separator' => COL($white, null, null),
123 | 'punctuation.separator.continuation' => COL($white, null, null),
124 | 'punctuation.terminator' => COL($white, null, null),
125 | 'punctuation.accessor' => COL($mint, null, null),
126 | 'punctuation.definition.string.begin' => COL($white, null, null),
127 | 'punctuation.definition.string.end' => COL($white, null, null),
128 |
129 | // JSON
130 | 'meta.structure.dictionary.key string' => COL($light_yellow),
131 | //'meta.structure.dictionary.value string' => COL($hot_pink, null, null),
132 |
133 | // HTML / CSS
134 | 'entity.name.tag' => COL($light_blue),
135 | 'entity.other.attribute-name' => COL($white),
136 | 'support.type.property-name.css' => COL($light_pink),
137 | 'support.constant.property-value.css' => COL($white),
138 |
139 | ];
140 |
141 | $xmlParts = '';
142 |
143 | foreach( $arParts as $scope => $color ) {
144 |
145 | $xmlParts .= toXml($scope, $color);
146 | }
147 |
148 | $xmlSettings = '';
149 |
150 | foreach( $arSettings as $key => $val ) {
151 |
152 | $xmlSettings .= sprintf(' %s
153 | %s
154 | ', $key, $val);
155 | }
156 |
157 | echo <<
159 |
160 |
171 |
172 |
173 |
174 |
175 | name
176 | VICE
177 | settings
178 |
179 |
180 | settings
181 |
182 | {$xmlSettings}
183 |
184 |
185 | {$xmlParts}
186 |
187 | uuid
188 | AF285292-7A98-4339-A1A8-257F162DEA6F
189 | colorSpaceName
190 | sRGB
191 | semanticClass
192 | theme.VICE
193 | author
194 | vim-vice theme Bradley Cicenas 2016. Sublime conversion Jason Stewart 2018.
195 |
196 |
197 |
198 | THIS_IS_THE_THEME;
199 |
200 |
--------------------------------------------------------------------------------
/contrib/terminator/config:
--------------------------------------------------------------------------------
1 | [global_config]
2 | borderless = True
3 | enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
4 | inactive_color_offset = 0.89
5 | title_inactive_bg_color = "#444444"
6 | title_inactive_fg_color = "#878787"
7 | title_receive_bg_color = "#444444"
8 | title_receive_fg_color = "#87ffff"
9 | title_transmit_bg_color = "#444444"
10 | title_transmit_fg_color = "#afffd7"
11 | [layouts]
12 | [[default]]
13 | [[[child1]]]
14 | parent = window0
15 | profile = default
16 | type = Terminal
17 | [[[window0]]]
18 | parent = ""
19 | type = Window
20 | [plugins]
21 | [profiles]
22 | [[default]]
23 | active_encodings = ANSI_X3.4-1968, UTF-8, ISO-8859-1
24 | allow_bold = False
25 | background_color = "#303030"
26 | background_image = None
27 | cursor_color = "#7b7b7b"
28 | foreground_color = "#fdfdfd"
29 | icon_bell = False
30 | login_shell = True
31 | palette = "#303030:#ff00ff:#a3d4a3:#ffffaf:#87ffff:#afafd7:#87ffff:#878787:#878787:#ff87d7:#afffd7:#ffffaf:#afffff:#ffafdf:#afffff:#ffffff"
32 | scrollbar_position = hidden
33 | show_titlebar = False
34 | use_system_font = False
35 |
--------------------------------------------------------------------------------
/contrib/xresources/vice:
--------------------------------------------------------------------------------
1 | ! special
2 | *.foreground: #fdfdfd
3 | *.background: #303030
4 | *.cursorColor: #fdfdfd
5 |
6 | ! black
7 | *.color0: #303030
8 | *.color8: #878787
9 |
10 | ! red
11 | *.color1: #ff00ff
12 | *.color9: #ff87d7
13 |
14 | ! green
15 | *.color2: #a3d4a3
16 | *.color10: #afffd7
17 |
18 | ! yellow
19 | *.color3: #ffffaf
20 | *.color11: #ffffaf
21 |
22 | ! blue
23 | *.color4: #87ffff
24 | *.color12: #afffff
25 |
26 | ! magenta
27 | *.color5: #afafd7
28 | *.color13: #ffafdf
29 |
30 | ! cyan
31 | *.color6: #87ffff
32 | *.color14: #afffff
33 |
34 | ! white
35 | *.color7: #878787
36 | *.color15: #ffffff
37 |
--------------------------------------------------------------------------------