Skip to content

Instantly share code, notes, and snippets.

@singlepig
Created December 10, 2017 18:17
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save singlepig/3dae88024e9e644c5b93e48056eb8340 to your computer and use it in GitHub Desktop.
Save singlepig/3dae88024e9e644c5b93e48056eb8340 to your computer and use it in GitHub Desktop.
Rime主题配色,模仿官网rime.im配图
# modified from https://gist.github.com/deamwork/7cfb49777c2f163a475c71521cf7dd6e
# preview https://i.loli.net/2017/12/11/5a2d782e2f695.png
rimeblue:
name: "RimeBlue"
horizontal: false # 候选条横向显示
inline_preedit: true # 启用内嵌编码模式,候选条首行不显示拼音
candidate_format: "%c.\u2005%@\u2005" # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间。
corner_radius: 10 # 候选条圆角半径
border_height: 0 # 窗口边界高度,大于圆角半径才生效
border_width: 12 # 窗口边界宽度,大于圆角半径才生效
back_color: 0x4F4F4F # 候选条背景色
line_spacing: 0 # 候选词的行间距
# spacing: 3 # 在非内嵌编码模式下,预编辑和候选词之间的间距
border_color: 0xE0B693 # 边框色
font_face: "PingFangSC-Regular" # 候选词字体
font_point: 20 # 预选栏文字字号
label_font_face: "PingFangSC-Regular" # 候选词编号字体
label_font_point: 20 # 预选栏编号字号
text_color: 0xFFFFFF # HEX颜色代码,但是要注意顺序是蓝绿红(倒序)0xBBGGRR
candidate_text_color: 0xFFFFFF #非第一候选项
hilited_candidate_back_color: 0xD1BA53 #第一候选项背景
hilited_candidate_text_color: 0xFFFFFF #第一候选项
@SmithJson
Copy link

Thanks You

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment