weasel.yaml 是常规设置,主要控制托盘图标、候选词横竖排列、界面配色等等功能。

    1. customization:
    2. distribution_code_name: Weasel
    3. distribution_version: 0.14.3
    4. generator: "Weasel::UIStyleSettings"
    5. modified_time: "Tue Dec 29 16:27:22 2020"
    6. rime_version: 1.5.3
    7. patch:
    8. "style/display_tray_icon": true
    9. "style/horizontal": true #横排显示
    10. "style/font_face": "Microsoft YaHei" #字体
    11. "style/font_point": 13 #字体大小
    12. "style/inline_preedit": true # 嵌入式候选窗单行显示
    13. "style/layout/border_width": 0
    14. "style/layout/border": 0
    15. "style/layout/margin_x": 12 #候选字左右边距
    16. "style/layout/margin_y": 12 #候选字上下边距
    17. "style/layout/hilite_padding": 12 #候选字背景色色块高度 若想候选字背景色块无边界填充候选框,仅需其高度和候选字上下边距一致即可
    18. "style/layout/hilite_spacing": 3 # 序号和候选字之间的间隔
    19. "style/layout/spacing": 10 #作用不明
    20. "style/layout/candidate_spacing": 24 # 候选字间隔
    21. "style/layout/round_corner": 0 #候选字背景色块圆角幅度
    22. "style/color_scheme": Micosoft
    23. "preset_color_schemes/Micosoft":
    24. name: "Micosoft"
    25. author: "XNOM"
    26. back_color: 0xffffff #候选框 背景色
    27. border_color: 0xD77800 #候选框 边框颜色
    28. text_color: 0x000000 #已选择字 文字颜色
    29. hilited_text_color: 0x000000 #已选择字右侧拼音 文字颜色
    30. hilited_back_color: 0xffffff #已选择字右侧拼音 背景色
    31. hilited_candidate_text_color: 0xffffff #候选字颜色
    32. hilited_candidate_back_color: 0xD77800 #候选字背景色
    33. candidate_text_color: 0x000000 #未候选字颜色