Skip to main content

default.custom.yaml

# Rime settings

patch:
schema_list:
- schema: wubi98_ci
- schema: py

switcher:
caption: 输入法
hotkeys:
- Control+grave
save_options:
- full_shape
- ascii_punct
- simplification
- extended_charset
- zh_hant
- zh_hans
- zh_hant_tw
fold_options: true
abbreviate_options: true
option_list_separator: '/'

menu:
page_size: 5

speller:
max_code_length: 4
auto_select: true
auto_select_unique_candidate: true

punctuator:
full_shape:
__include: punctuation:/full_shape
half_shape:
__include: punctuation:/half_shape

key_binder:
bindings:
__patch:
- key_bindings:/emacs_editing
- key_bindings:/move_by_word_with_tab
- key_bindings:/paging_with_minus_equal
- key_bindings:/paging_with_comma_period
- key_bindings:/numbered_mode_switch

recognizer:
patterns:
email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$"
uppercase: "[A-Z][-_+.'0-9A-Za-z]*$"
url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$"

ascii_composer:
good_old_caps_lock: true
switch_key:
Shift_L: commit_code
Shift_R: inline_ascii
Control_L: noop
Control_R: noop
Caps_Lock: commit_code
Eisu_toggle: clear

style:
font_face: 'YaoSans'
font_point: 16
color_scheme: wechat
color_scheme_dark: wechat_dark
text_orientation: horizontal
candidate_list_layout: linear
inline_preedit: true
border_height: 0
border_width: 0
corner_radius: 8
spacing: 8

preset_color_schemes:
wechat:
name: "微信键盘 / WeChat-keyboard" # 配色取自微信键盘
author: zsakvo
back_color: 0xC8F0F0F0
comment_text_color: 0x999999
hilited_candidate_back_color: 0x75B100
hilited_candidate_text_color: 0xFFFFFF
hilited_mark_color: 0xBF616A # 标签前的标记
horizontal: true
text_color: 0x424242
border_color: 0xFFFFFF
# 选中区域配色
hilited_candidate_shadow_color: 0xDDDDDD # 阴影
# 候选框配色
shadow_color: 0xDDDDDD
wechat_dark:
name: '微信键盘_深色 / WeChat-keyboard_dark' # 配色取自微信键盘
back_color: 0xC85D5D5D #设置输入条的背景色,色值是按照 BGR 的形式 16 进制填写
border_color: 0x151515 #输入条边框颜色,似乎在横向模式下不起作用
border_color_width: 0 #输入条边框宽度
candidate_text_color: 0xFFFFFF #候选字颜色
text_color: 0xFFFFFF #普通候选字的颜色,非第一候选字
hilited_candidate_label_color: 0x151515 #第一候选字标签颜色,也就是数字 1
hilited_text_color: 0x151515 #第一候选字颜色
hilited_candidate_back_color: 0x75B100 #第一候选字高亮颜色(背景色)
# label_color: 0x888888 #普通标签的颜色(非第一候选字),也就是候选字数字
hilited_candidate_shadow_color: 0xDDDDDD # 阴影