-
Notifications
You must be signed in to change notification settings - Fork 0
/
squirrel.yaml
372 lines (342 loc) · 13.4 KB
/
squirrel.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
# Squirrel settings
# encoding: utf-8
config_version: '0.37'
us_keyboard_layout: true
# for veteran chord-typist
chord_duration: 0.1 # seconds
# options: always | never | appropriate
show_notifications_when: appropriate
style:
color_scheme: native
# optional: define both light and dark color schemes to match system appearance
#color_scheme: solarized_light
#color_scheme_dark: solarized_dark
# Deprecated since 0.36, Squirrel 0.15
#horizontal: false
# NOTE: do not set a default value for `candidate_list_layout`, in order to
# keep the deprecated `horizontal` option working for existing users.
#candidate_list_layout: stacked # stacked | linear
text_orientation: horizontal # horizontal | vertical
inline_preedit: true
corner_radius: 10
hilited_corner_radius: 0
border_height: 0
border_width: 0
# space between candidates in stacked layout
line_spacing: 5
# space between preedit and candidates in non-inline mode
spacing: 10
#candidate_format: '%c. %@'
# adjust the base line of vertical text
#base_offset: 6
font_face: 'Lucida Grande'
font_point: 21
#label_font_face: 'Lucida Grande'
label_font_point: 18
#comment_font_face: 'Lucida Grande'
comment_font_point: 18
preset_color_schemes:
native:
name: 系統配色
aqua:
name: 碧水/Aqua
author: 佛振 <[email protected]>
text_color: 0x606060
back_color: 0xeeeceeee
candidate_text_color: 0x000000
hilited_text_color: 0x000000
hilited_candidate_text_color: 0xffffff
hilited_candidate_back_color: 0xeefa3a0a
comment_text_color: 0x5a5a5a
hilited_comment_text_color: 0xfcac9d
azure:
name: 青天/Azure
author: 佛振 <[email protected]>
text_color: 0xcfa677
candidate_text_color: 0xffeacc
back_color: 0xee8b4e01
hilited_text_color: 0xffeacc
hilited_candidate_text_color: 0x7ffeff
hilited_candidate_back_color: 0x00000000
comment_text_color: 0xc69664
luna:
name: 明月/Luna
author: 佛振 <[email protected]>
text_color: 0xa5a5a5
back_color: 0xdd000000
candidate_text_color: 0xeceeee
hilited_text_color: 0x7fffff
hilited_candidate_text_color: 0x7fffff
hilited_candidate_back_color: 0x40000000
comment_text_color: 0xa5a5a5
hilited_comment_text_color: 0x449c9d
ink:
name: 墨池/Ink
author: 佛振 <[email protected]>
text_color: 0x5a5a5a
back_color: 0xeeffffff
candidate_text_color: 0x000000
hilited_text_color: 0x000000
#hilited_back_color: 0xdddddd
hilited_candidate_text_color: 0xffffff
hilited_candidate_back_color: 0xcc000000
comment_text_color: 0x5a5a5a
hilited_comment_text_color: 0x808080
lost_temple:
name: 孤寺/Lost Temple
author: 佛振 <[email protected]>, based on ir_black
text_color: 0xe8f3f6
back_color: 0xee303030
hilited_text_color: 0x82e6ca
hilited_candidate_text_color: 0x000000
hilited_candidate_back_color: 0x82e6ca
comment_text_color: 0xbb82e6ca
hilited_comment_text_color: 0xbb203d34
dark_temple:
name: 暗堂/Dark Temple
author: 佛振 <[email protected]>, based on ir_black
text_color: 0x92f6da
back_color: 0x222222
candidate_text_color: 0xd8e3e6
hilited_text_color: 0xffcf9a
hilited_back_color: 0x222222
hilited_candidate_text_color: 0x92f6da
hilited_candidate_back_color: 0x10000000 # 0x333333
comment_text_color: 0x606cff
psionics:
name: 幽能/Psionics
author: 雨過之後、佛振
text_color: 0xc2c2c2
back_color: 0x444444
candidate_text_color: 0xeeeeee
hilited_text_color: 0xeeeeee
hilited_back_color: 0x444444
hilited_candidate_label_color: 0xfafafa
hilited_candidate_text_color: 0xfafafa
hilited_candidate_back_color: 0xd4bc00
comment_text_color: 0x808080
hilited_comment_text_color: 0x444444
purity_of_form:
name: 純粹的形式/Purity of Form
author: 雨過之後、佛振
text_color: 0xc2c2c2
back_color: 0x444444
candidate_text_color: 0xeeeeee
hilited_text_color: 0xeeeeee
hilited_back_color: 0x444444
hilited_candidate_text_color: 0x000000
hilited_candidate_back_color: 0xfafafa
comment_text_color: 0x808080
purity_of_essence:
name: 純粹的本質/Purity of Essence
author: 佛振
text_color: 0x2c2ccc
back_color: 0xfafafa
candidate_text_color: 0x000000
hilited_text_color: 0x000000
hilited_back_color: 0xfafafa
hilited_candidate_text_color: 0xeeeeee
hilited_candidate_back_color: 0x444444
comment_text_color: 0x808080
starcraft:
name: 星際我爭霸/StarCraft
author: Contralisk <[email protected]>, original artwork by Blizzard Entertainment
text_color: 0xccaa88
candidate_text_color: 0x30bb55
back_color: 0xee000000
border_color: 0x1010a0
hilited_text_color: 0xfecb96
hilited_back_color: 0x000000
hilited_candidate_text_color: 0x70ffaf
hilited_candidate_back_color: 0x00000000
comment_text_color: 0x1010d0
hilited_comment_text_color: 0x1010f0
google:
name: 谷歌/Google
author: skoj <[email protected]>
text_color: 0x666666 #拼音串
candidate_text_color: 0x000000 #非第一候选项
back_color: 0xFFFFFF #背景
border_color: 0xE2E2E2 #边框
hilited_text_color: 0x000000 #拼音串高亮
hilited_back_color: 0xFFFFFF #拼音串高亮背景
hilited_candidate_text_color: 0xFFFFFF #第一候选项
hilited_candidate_back_color: 0xCE7539 #第一候选项背景
comment_text_color: 0x6D6D6D #注解文字
hilited_comment_text_color: 0xEBC6B0 #注解文字高亮
solarized_rock:
name: 曬經石/Solarized Rock
author: "Aben <[email protected]>, based on Ethan Schoonover's Solarized color scheme"
back_color: 0x362b00
border_color: 0x362b00
text_color: 0x8236d3
hilited_text_color: 0x98a12a
candidate_text_color: 0x969483
comment_text_color: 0xc098a12a
hilited_candidate_text_color: 0xffffff
hilited_candidate_back_color: 0x8236d3
hilited_comment_text_color: 0x362b00
clean_white:
name: 简约白/Clean White
author: Chongyu Zhu <[email protected]>, based on 搜狗「简约白」
horizontal: true
candidate_format: '%c %@'
corner_radius: 6
border_height: 6
border_width: 6
font_point: 16
label_font_point: 12
label_color: 0x888888
text_color: 0x808080
hilited_text_color: 0x000000
candidate_text_color: 0x000000
comment_text_color: 0x808080
back_color: 0xeeeeee
hilited_candidate_label_color: 0xa0c98915
hilited_candidate_text_color: 0xc98915
hilited_candidate_back_color: 0xeeeeee
apathy:
name: 冷漠/Apathy
author: LIANG Hai
horizontal: true # 水平排列
inline_preedit: true #单行显示,false双行显示
candidate_format: "%c\u2005%@\u2005" # 编号 %c 和候选词 %@ 前后的空间
corner_radius: 5 #候选条圆角
border_height: 0
border_width: 0
back_color: 0xFFFFFF #候选条背景色
font_face: "PingFangSC-Regular,HanaMinB" #候选词字体
font_point: 16 #候选字词大小
text_color: 0x424242 #高亮选中词颜色
label_font_face: "STHeitiSC-Light" #候选词编号字体
label_font_point: 12 #候选编号大小
hilited_candidate_text_color: 0xEE6E00 #候选文字颜色
hilited_candidate_back_color: 0xFFF0E4 #候选文字背景色
comment_text_color: 0x999999 #拼音等提示文字颜色
dust:
name: 浮尘/Dust
author: Superoutman <[email protected]>
horizontal: true # 水平排列
inline_preedit: true #单行显示,false双行显示
candidate_format: "%c\u2005%@\u2005" # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间。
corner_radius: 2 #候选条圆角
border_height: 3 # 窗口边界高度,大于圆角半径才生效
border_width: 8 # 窗口边界宽度,大于圆角半径才生效
back_color: 0xeeffffff #候选条背景色
border_color: 0xE0B693 # 边框色
font_face: "HYQiHei-55S Book,HanaMinA Regular" #候选词字体
font_point: 14 #候选字词大小
label_font_face: "SimHei" #候选词编号字体
label_font_point: 10 #候选编号大小
label_color: 0xcbcbcb # 预选栏编号颜色
candidate_text_color: 0x555555 # 预选项文字颜色
text_color: 0x424242 # 拼音行文字颜色,24位色值,16进制,BGR顺序
comment_text_color: 0x999999 # 拼音等提示文字颜色
hilited_text_color: 0x9e9e9e # 高亮拼音 (需要开启内嵌编码)
hilited_candidate_text_color: 0x000000 # 第一候选项文字颜色
hilited_candidate_back_color: 0xfff0e4 # 第一候选项背景背景色
hilited_candidate_label_color: 0x555555 # 第一候选项编号颜色
hilited_comment_text_color: 0x9e9e9e # 注解文字高亮
mojave_dark:
name: 沙漠夜/Mojave Dark
author: xiehuc <[email protected]>
horizontal: true # 水平排列
inline_preedit: true # 单行显示,false双行显示
candidate_format: "%c\u2005%@" # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间。
corner_radius: 5 # 候选条圆角
hilited_corner_radius: 3 # 高亮圆角
border_height: 6 # 窗口边界高度,大于圆角半径才生效
border_width: 6 # 窗口边界宽度,大于圆角半径才生效
font_face: "PingFangSC" # 候选词字体
font_point: 16 # 候选字词大小
label_font_point: 14 # 候选编号大小
text_color: 0xdedddd # 拼音行文字颜色,24位色值,16进制,BGR顺序
back_color: 0x252320 # 候选条背景色
label_color: 0x888785 # 预选栏编号颜色
border_color: 0x020202 # 边框色
candidate_text_color: 0xdedddd # 预选项文字颜色
hilited_text_color: 0xdedddd # 高亮拼音 (需要开启内嵌编码)
hilited_back_color: 0x252320 # 高亮拼音 (需要开启内嵌编码)
hilited_candidate_text_color: 0xffffff # 第一候选项文字颜色
hilited_candidate_back_color: 0xcb5d00 # 第一候选项背景背景色
hilited_candidate_label_color: 0xffffff # 第一候选项编号颜色
comment_text_color: 0xdedddd # 拼音等提示文字颜色
#hilited_comment_text_color: 0xdedddd # 注解文字高亮
solarized_light:
name: 曬經・日/Solarized Light
author: 雪齋 <[email protected]>
color_space: display_p3 # Only available on macOS 10.12+
back_color: 0xf0E5F6FB #Lab 97, 0, 10
border_color: 0xf0EDFFFF #Lab 100, 0, 10
preedit_back_color: 0xf0D7E8ED #Lab 92, 0, 10
candidate_text_color: 0x3942CB #Lab 50, 65, 45
label_color: 0x2566C6 #Lab 55, 45, 65
comment_text_color: 0x8144C2 #Lab 50, 65, -5
text_color: 0x756E5D #Lab 45, -7, -7
hilited_back_color: 0xf0C9DADF #Lab 87, 0, 10
hilited_candidate_back_color: 0x403516 #Lab 20, -12, -12
hilited_candidate_text_color: 0x989F52 #Lab 60, -35, -5
hilited_candidate_label_color: 0xCC8947 #Lab 55, -10, -45
hilited_comment_text_color: 0x289989 #Lab 60, -20, 65
hilited_text_color: 0xBE706D #Lab 50, 15, -45
solarized_dark:
name: 曬經・月/Solarized Dark
author: 雪齋 <[email protected]>
color_space: display_p3 # Only available on macOS 10.12+
back_color: 0xf0352A0A #Lab 15, -12, -12
border_color: 0xf02A1F00 #Lab 10, -12, -12
preedit_back_color: 0xf0403516 #Lab 20, -12, -12
candidate_text_color: 0x989F52 #Lab 60, -35, -5
label_color: 0xCC8947 #Lab 55, -10, -45
comment_text_color: 0x289989 #Lab 60, -20, 65
text_color: 0xA1A095 #Lab 65, -05, -02
hilited_back_color: 0xf04C4022 #Lab 25, -12, -12
hilited_candidate_back_color: 0xD7E8ED #Lab 92, 0, 10
hilited_candidate_text_color: 0x3942CB #Lab 50, 65, 45
hilited_candidate_label_color: 0x2566C6 #Lab 55, 45, 65
hilited_comment_text_color: 0x8144C2 #Lab 50, 65, -5
hilited_text_color: 0x2C8BAE #Lab 60, 10, 65
app_options:
com.apple.Spotlight:
ascii_mode: true
com.alfredapp.Alfred:
ascii_mode: true
com.runningwithcrayons.Alfred-2:
ascii_mode: true
com.blacktree.Quicksilver:
ascii_mode: true
com.apple.Terminal:
ascii_mode: true
no_inline: true
com.googlecode.iterm2:
ascii_mode: true
no_inline: true
org.vim.MacVim:
ascii_mode: true # 初始爲西文模式
no_inline: true # 不使用行內編輯
vim_mode: true # 退出VIM插入模式自動切換輸入法狀態
com.apple.dt.Xcode:
ascii_mode: true
com.barebones.textwrangler:
ascii_mode: true
com.macromates.TextMate.preview:
ascii_mode: true
com.github.atom:
ascii_mode: true
com.microsoft.VSCode:
ascii_mode: true
com.sublimetext.2:
ascii_mode: true
org.gnu.Aquamacs:
ascii_mode: true
org.gnu.Emacs:
ascii_mode: true
no_inline: true
co.zeit.hyper:
ascii_mode: true
com.google.Chrome:
# 規避 https://github.com/rime/squirrel/issues/435
inline: true
ru.keepcoder.Telegram:
# 規避 https://github.com/rime/squirrel/issues/475
inline: true