rime自定义皮肤

2022-11-29 17:16:49 浏览数 (3)

打开配置目录

定位到文件:weasel.custom.yaml(mac: squirrel.custom.yaml)

编辑文件

在patch下,添加皮肤的配置,这里以皮肤win10为例,并且指定配置为"style/color_scheme": win10,重新部署即可

代码语言:javascript复制
...... 
patch: 
 "preset_color_schemes/win10": 
    candidate_text_color: 0x000000 
    comment_text_color: 0x888888 
    text_color: 0x000000 
    back_color: 0xffffff 
    border_color: 0xcc8f29 
    hilited_text_color: 0x000000 
    hilited_back_color: 0xffffff 
    hilited_candidate_text_color: 0xffffff 
    hilited_candidate_back_color: 0xcc8f29 
    hilited_comment_text_color: 0xffffff 
    hilited_label_color: 0xffffff 
    label_color: 0x888888 
    name: "Windows 10" 
  style/label_format: "%s" 
  style/font_point: 14 
  style/inline_preedit: true 
  style/layout: 
    min_width: 160 
    min_height: 0 
    border_width: 1 
    margin_x: 12 
    margin_y: 12 
    spacing: 10 
    candidate_spacing: 24 
    hilite_spacing: 8 
    hilite_padding: 12 
    round_corner: 0 
 "style/color_scheme": win10 
 "style/horizontal": true 

来自 大脸猪 写于 2022-05-16 13:42 -- 更新于2022-11-11 14:47

0 人点赞