Skip to content

Instantly share code, notes, and snippets.

@lovelock
Created January 17, 2023 10:35
Show Gist options
  • Save lovelock/c88aae07d7917de486ffc01e9bdd2b7b to your computer and use it in GitHub Desktop.
Save lovelock/c88aae07d7917de486ffc01e9bdd2b7b to your computer and use it in GitHub Desktop.
最像macOS默认输入法的皮肤方案
author: "lamb"
name: "lamb"
back_color: 0xffffff # 候选条背景色,24位色值,16进制,BGR顺序
border_color: 0xffffff # 边框色
text_color: 0x333333 # 拼音行文字颜色
hilited_back_color: 0xD75A00 # 第一候选项背景背景色
hilited_candidate_text_color: 0xFFFFFF # 第一候选项文字颜色
hilited_candidate_label_color: 0xFFFFFF # 第一候选项编号颜色
hilited_comment_text_color: 0xD05B21 # 注解文字高亮
hilited_text_color: 0xffffff # 高亮拼音 (需要开启内嵌编码)
candidate_text_color: 0x333333 # 预选项文字颜色
comment_text_color: 0xD05B21 # 拼音等提示文字颜色
horizontal: true # 水平排列
inline_preedit: true # 单行显示,false双行显示
label_color: 0x333333 # 预选栏编号颜色
candidate_format: "%c\u2005%@" # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间。
font_face: "PingFangSC" # 候选词编号字体
font_point: 18 # 候选文字大小
label_font_point: 18 # 候选编号大小
corner_radius: 5 # 候选条圆角
hilited_corner_radius: 5 # 高亮圆角
border_height: 4 # 窗口上下高度
border_width: 4 # 窗口左右宽度
border_color_width: 0 #输入条边框宽度
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment