鼠须管Style配置

发布时间 2023-04-11 14:06:28作者: 烟酒咖啡茶

在MAC下鼠须管没有相关的Style配置,但是可以很方便的自定义配置。
在用户配置下,找到 squirrel.custom.yaml 将以下内容配置在其中,重新部署后,可以将输入法样式修改为Win10风格的样式。当然可以在其基础上做调整和修改

patch:
  style:
    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: "Win10"
    label_format: "%s"
    font_point: 16
    inline_preedit: true
    min_width: 160
    min_height: 0
    border_width: 6
    border_height: 6
    margin_x: 12
    margin_y: 12
    spacing: 10
    candidate_spacing: 24
    hilite_spacing: 8
    hilite_padding: 12
    round_corner: 0
    horizontal: true
    candidate_format: "%c %@  "

步骤

  • 打开用户配置目录(MAC菜单栏-鼠须管-用户设定)
  • 找到 squirrel.custom.yaml 编辑
  • 重新部署后查看效果(MAC菜单栏-鼠须管-重新部署)