Skip to content

Instantly share code, notes, and snippets.

@deamwork
Created December 10, 2017 13:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deamwork/7cfb49777c2f163a475c71521cf7dd6e to your computer and use it in GitHub Desktop.
Save deamwork/7cfb49777c2f163a475c71521cf7dd6e to your computer and use it in GitHub Desktop.
基于 rime.im 官网调整的主题
# squirrel.custom.yaml
# encoding: utf-8
patch:
preset_color_schemes:
selfae:
name: "Selfae"
horizontal: false # 候选条横向显示
inline_preedit: true # 启用内嵌编码模式,候选条首行不显示拼音
candidate_format: "%c.\u2005%@\u2005" # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间。
corner_radius: 6 # 候选条圆角半径
border_height: 0 # 窗口边界高度,大于圆角半径才生效
border_width: 12 # 窗口边界宽度,大于圆角半径才生效
back_color: 0xFFFFFF # 候选条背景色
line_spacing: 5 # 候选词的行间距
# spacing: 3 # 在非内嵌编码模式下,预编辑和候选词之间的间距
border_color: 0xE0B693 # 边框色
font_face: "PingFangSC-Regular" # 候选词字体
font_point: 18 # 预选栏文字字号
label_font_face: "PingFangSC-Regular" # 候选词编号字体
label_font_point: 20 # 预选栏编号字号
text_color: 0xFFFFFF # HEX颜色代码,但是要注意顺序是蓝绿红(倒序)0xBBGGRR
candidate_text_color: 0x000000 #非第一候选项
hilited_candidate_back_color: 0xD98840 #第一候选项背景
hilited_candidate_text_color: 0xFFFFFF #第一候选项
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment