-
Notifications
You must be signed in to change notification settings - Fork 33
/
squirrel.yaml
521 lines (448 loc) · 14.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
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
# Squirrel settings
# encoding: utf-8
# 修改自: https://github.com/rime/squirrel/blob/master/data/squirrel.yaml
#
# COMMIT SHA: 7c399be5d6d07d76dfdba3ba9f7f5639fc01284a
config_version: "2023-12-30"
# 可用选项:last | default | _custom_
# last:上次使用的拉丁字母键盘布局
# default:美国(ABC)键盘布局
# _custom_:键盘布局,例如 'com.apple.keylayout.USExtended' 或简写的 'USExtended'
keyboard_layout: last
# 给打字贼快的家伙们设置的按键持续时间(
chord_duration: 0.1 # seconds
# options: always | never | appropriate
show_notifications_when: appropriate
show_notifications_via_notification_center: true
app_options: {} # 清除应用默认输入法,防止无法输入中文(建议通过 Caps 切换中英文)
style:
color_scheme: reimu # 主题方案
color_scheme_dark: reimu_dark # 指定深色模式时输入法所使用的主题方案
translucency: true # 背景半透明总开关,不需要关掉即可
# 以下为鼠须管默认设置
# 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
line_spacing: 5
spacing: 10
# candidate_format: '%c. %@'
# 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:
# 关于主题中的各个设置项的说明,详见文件末尾
ayaya:
name: "文文/Ayaya"
author: "Lufs X <[email protected]>"
font_face: "LXGWWenKai-Regular, PingFangSC"
font_point: 16.5
label_font_face: "LXGWWenKai-Regular, PingFangSC"
label_font_point: 12
candidate_format: "%c\u2005%@"
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 5
hilited_corner_radius: 0
border_height: 0
border_width: 0
alpha: 0.95
shadow_size: 0
color_space: display_p3
back_color: 0xFFFFFF
border_color: 0xECE4FC
candidate_text_color: 0x121212
comment_text_color: 0x8E8E8E
label_color: 0x888785
hilited_candidate_back_color: 0xECE4FC
hilited_candidate_text_color: 0x7A40EC
hilited_comment_text_color: 0x8E8E8E
hilited_candidate_label_color: 0xB18FF4
text_color: 0x8100EB
hilited_text_color: 0xD8000000
ayaya_dark:
name: "文文/Ayaya/深色"
author: "Lufs X <[email protected]>"
font_face: "LXGWWenKai-Regular, PingFangSC"
font_point: 16.5
label_font_face: "LXGWWenKai-Regular, PingFangSC"
label_font_point: 12
candidate_format: "%c\u2005%@"
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 5
hilited_corner_radius: 0
border_height: 0
border_width: 0
alpha: 0.95
shadow_size: 0
color_space: display_p3
back_color: 0x000000
border_color: 0xECE4FC
candidate_text_color: 0xD2D2D2
comment_text_color: 0x8E8E8E
label_color: 0x888785
hilited_candidate_back_color: 0x2C1E3C
hilited_candidate_text_color: 0x7036E2
hilited_comment_text_color: 0x8E8E8E
hilited_candidate_label_color: 0x7036E2
text_color: 0x8100EB
hilited_text_color: 0xD8000000
reimu:
name: "灵梦/Reimu"
author: "Lufs X <[email protected]>"
font_face: "LXGWWenKai-Regular, PingFangSC"
font_point: 17
label_font_face: "LXGWWenKai-Regular, PingFangSC"
label_font_point: 14
candidate_format: "%c\u2005%@"
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 7
hilited_corner_radius: 6
border_height: 1
border_width: 1
alpha: 0.95
shadow_size: 2
color_space: display_p3
back_color: 0xF5FCFD
candidate_text_color: 0x282C32
comment_text_color: 0x717172
label_color: 0x888785
hilited_candidate_back_color: 0xF5FCFD
hilited_candidate_text_color: 0x4F00E5
hilited_comment_text_color: 0x9F9CF2
hilited_candidate_label_color: 0x4F00E5
text_color: 0x6B54E9
hilited_text_color: 0xD8000000
reimu_dark:
name: "灵梦/Reimu/深色"
author: "Lufs X <[email protected]>"
font_face: "LXGWWenKai-Regular, PingFangSC"
font_point: 17
label_font_face: "LXGWWenKai-Regular, PingFangSC"
label_font_point: 14
candidate_format: "%c\u2005%@"
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 7
hilited_corner_radius: 6
border_height: 1
border_width: 1
alpha: 0.95
shadow_size: 2
color_space: display_p3
back_color: 0x020A00
border_color: 0x020A00
candidate_text_color: 0xC0C0C0
comment_text_color: 0x717172
label_color: 0x717172
hilited_candidate_back_color: 0x0C140A
hilited_candidate_text_color: 0x3100C7
hilited_comment_text_color: 0x7772AF
hilited_candidate_label_color: 0x3100C7
text_color: 0x6B54E9
hilited_text_color: 0xD8000000
apathy:
name: "冷漠/Apathy"
author: LIANG Hai
font_face: "PingFangSC-Regular"
font_point: 16
label_font_face: "STHeitiSC-Light"
label_font_point: 12
candidate_format: "%c\u2005%@"
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 5
alpha: 0.95
color_space: srgb
back_color: 0xFFFFFF
candidate_text_color: 0xD8000000
comment_text_color: 0x999999
label_color: 0xE5555555
hilited_candidate_back_color: 0xFFF0E4
hilited_candidate_text_color: 0xEE6E00
hilited_comment_text_color: 0x999999
hilited_candidate_label_color: 0xF4994C
text_color: 0x424242
hilited_text_color: 0xD8000000
win10:
name: "WIN10"
author: "Lufs X <[email protected]>"
font_face: "LXGWWenKai-Regular, PingFangSC"
font_point: 16.5
label_font_face: "LXGWWenKai-Regular, PingFangSC"
label_font_point: 12
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 0
hilited_corner_radius: -6
border_height: 7
border_width: 6
spacing: 10
color_space: srgb
back_color: 0xFFFFFF
candidate_text_color: 0x000000
comment_text_color: 0x888888
label_color: 0x888888
hilited_candidate_back_color: 0xCC8F29
hilited_candidate_text_color: 0xFFFFFF
hilited_comment_text_color: 0xFFFFFF
hilited_candidate_label_color: 0xEEDAB8
text_color: 0x000000
hilited_back_color: 0xFFFFFF
hilited_text_color: 0x000000
win10_ayaya:
name: "WIN10/文文/Ayaya"
author: "Lufs X <[email protected]>"
font_face: "LXGWWenKai-Regular, PingFangSC"
font_point: 16.5
label_font_face: "LXGWWenKai-Regular, PingFangSC"
label_font_point: 12
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 0
hilited_corner_radius: -6
border_height: 7
border_width: 6
spacing: 10
color_space: display_p3
back_color: 0xFFFFFF
border_color: 0xFFFFFF
candidate_text_color: 0x121212
comment_text_color: 0x8E8E8E
label_color: 0x888785
hilited_candidate_back_color: 0xECE4FC
hilited_candidate_text_color: 0x7A40EC
hilited_comment_text_color: 0x8E8E8E
hilited_candidate_label_color: 0xB18FF4
text_color: 0x8100EB
hilited_text_color: 0xD8000000
macos12_light:
name: "高仿亮色 macOS"
author: "Lufs X <[email protected]>"
font_face: "PingFangSC-Regular"
font_point: 15
label_font_face: "PingFangSC-Regular"
label_font_point: 12
comment_font_face: "PingFangSC-Regular"
comment_font_point: 13
candidate_format: "%c\u2004%@"
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 7
hilited_corner_radius: 6
border_width: 2
line_spacing: 1
color_space: display_p3
back_color: 0xFFFFFF
border_color: 0xFFFFFF
candidate_text_color: 0xD8000000
comment_text_color: 0x3F000000
label_color: 0x7F7F7F
hilited_candidate_back_color: 0xD05925
hilited_candidate_text_color: 0xFFFFFF
hilited_comment_text_color: 0x808080
hilited_candidate_label_color: 0xFFFFFF
text_color: 0x3F000000
hilited_text_color: 0xD8000000
macos12_dark:
name: "高仿暗色 macOS"
author: "Lufs X <[email protected]>"
font_face: "PingFangSC-Regular"
font_point: 15
label_font_face: "PingFangSC-Regular"
label_font_point: 12
comment_font_face: "PingFangSC-Regular"
comment_font_point: 13
candidate_format: "%c\u2004%@"
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 7
hilited_corner_radius: 6
border_width: 2
line_spacing: 1
color_space: display_p3
back_color: 0x1E1F24
border_color: 0x1E1F24
candidate_text_color: 0xE8E8E8
comment_text_color: 0x3F000000
label_color: 0x7C7C7C
hilited_candidate_back_color: 0xDA6203
hilited_candidate_text_color: 0xFFFFFF
hilited_comment_text_color: 0x808080
hilited_candidate_label_color: 0xFFE7D6
text_color: 0x3F000000
hilited_text_color: 0xD8000000
wechat:
name: "高仿微信输入法"
author: "Lufs X <[email protected]>"
font_face: "PingFangSC-Regular"
font_point: 15
label_font_face: "PingFangSC-Regular"
label_font_point: 12
comment_font_face: "PingFangSC-Regular"
comment_font_point: 12
candidate_format: "%c\u2005%@"
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 7
hilited_corner_radius: 7
border_height: -2
color_space: display_p3
back_color: 0xFFFFFF
border_color: 0xFFFFFF
candidate_text_color: 0x444444
comment_text_color: 0x8E8E8E
label_color: 0x888785
hilited_candidate_back_color: 0x7BAE4F
hilited_candidate_text_color: 0xFFFFFF
hilited_comment_text_color: 0xF0F0F0
hilited_candidate_label_color: 0xFFFFFF
text_color: 0xFFFFFF
hilited_text_color: 0xD8000000
wechat_dark:
name: "高仿暗色微信输入法"
author: "Lufs X <[email protected]>"
font_face: "PingFangSC-Regular"
font_point: 15
label_font_face: "PingFangSC-Regular"
label_font_point: 12
comment_font_face: "PingFangSC-Regular"
comment_font_point: 12
candidate_format: "%c\u2005%@"
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 7
hilited_corner_radius: 7
border_height: -2
color_space: display_p3
back_color: 0x151515
border_color: 0x151515
candidate_text_color: 0xB9B9B9
comment_text_color: 0x8E8E8E
label_color: 0x888785
hilited_candidate_back_color: 0x74A54B
hilited_candidate_text_color: 0xFFFFFF
hilited_comment_text_color: 0xF0F0F0
hilited_candidate_label_color: 0xFFFFFF
text_color: 0xFFFFFF
hilited_text_color: 0x777777
macos14:
name: "高仿 macOS 14"
author: "Lufs X <[email protected]>"
font_face: "PingFangSC-Regular"
font_point: 16
label_font_face: "PingFangSC-Regular"
label_font_point: 8
comment_font_face: "PingFangSC-Regular"
comment_font_point: 13
candidate_format: "%c\u2003\u2003\u2003%@\u2004\u2001"
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 7
hilited_corner_radius: -1
border_height: -4
border_width: 2
color_space: display_p3
back_color: 0xE7E8EA
border_color: 0xE7E8EA
candidate_text_color: 0x464647
comment_text_color: 0x3F000000
label_color: 0x7F7F7F
hilited_candidate_back_color: 0xD05925
hilited_candidate_text_color: 0xFFFFFF
hilited_comment_text_color: 0xDCDCDC
hilited_candidate_label_color: 0xFFFFFF
text_color: 0x3F000000
hilited_text_color: 0xD8000000
macos14_dark:
name: "高仿暗色 macOS 14"
author: "Lufs X <[email protected]>"
font_face: "PingFangSC-Regular"
font_point: 16
label_font_face: "PingFangSC-Regular"
label_font_point: 8
comment_font_face: "PingFangSC-Regular"
comment_font_point: 13
candidate_format: "%c\u2003\u2003\u2003%@\u2004\u2001"
candidate_list_layout: linear
text_orientation: horizontal
inline_preedit: true
corner_radius: 7
hilited_corner_radius: -1
border_height: -4
border_width: 2
color_space: display_p3
back_color: 0x555557
border_color: 0x0C0C0C
candidate_text_color: 0xEEEEEE
comment_text_color: 0x80FFFFFF
label_color: 0x7C7C7C
hilited_candidate_back_color: 0xCA5824
hilited_candidate_text_color: 0xFFFFFF
hilited_comment_text_color: 0xF0F0F0
hilited_candidate_label_color: 0xFFFFFF
text_color: 0x3F000000
hilited_text_color: 0xD8000000
# 各个设置项的简要作用说明
# 以下出现的颜色均为 16 进制色值,(A)BGR顺序
## alpha: 透明度
## back_color: 候选条背景色
## base_offset: 候选框与输入框的垂直偏移量
## border_color: 边框颜色
## border_color_width: 输入条边框宽度
## border_height: 窗口上下高度
## border_width: 窗口左右宽度
## candidate_format: 候选格式
## candidate_spacing: 候选字间隔
## candidate_text_color: 预选项文字颜色
## color_space: 颜色空间
## comment_font_face: 拼音等提示文字字体
## comment_font_point: 拼音等提示文字字号
## comment_text_color: 拼音等提示文字颜色
## corner_radius: 候选条圆角
## font_face: 候选词字体
## font_point: 候选字词大小
## hilite_padding: 候选字背景色色块高度
## hilited_back_color: 第一候选项背景背景色
## hilited_candidate_back_color: 候选文字背景色
## hilited_candidate_label_color: 第一候选项编号颜色
## hilited_candidate_text_color: 第一候选项文字颜色
## hilited_comment_text_color: 注解文字高亮颜色
## hilited_corner_radius: 高亮圆角
## hilited_label_color: 已选字的数字颜色
## hilited_text_color: 高亮拼音颜色
## horizontal: 是否水平排列(鼠须管 0.15 以后已弃用)
## inline_preedit: 是否单行显示
## label_color: 预选栏编号颜色
## label_font_face: 候选词编号字体
## label_font_point: 候选编号大小
## label_format: 候选编号格式
## line_spacing: 行间距
## margin_x: 字左右边距
## margin_y: 字上下边距
## min_height: 最小高度
## min_width: 最小宽度
## round_corner: 候选字背景色块圆角幅度
## spacing: 间距
## text_color: 高亮选中词颜色