# encoding: utf-8

customization:
  distribution_code_name: Weasel
  distribution_version: 0.13.3
  generator: "Weasel"
  modified_time: "2023-06-09"
  rime_version: "0.15.0"
  config_version: "0.22"

patch:
  style:
    inline_preedit: true
    color_scheme: Blue                      # 匹配正文的颜色方案,对应正文的颜色方案名
    label_format: "%s"
    display_tray_icon: false
    border_width: 30
    horizontal: true                        # 横向排列候选
    font_point: 14                          # 候选词 字号
    font_face: "Microsoft Yahei"            # 字体 - 候选文字 例子: "Microsoft Yahei:12:15:bold"

    label_font_face: "Microsoft Yahei"     # string 序号字体 标注
    label_font_point: 9                    # number    序号字体 大小
    comment_font_face: "Microsoft Yahei"   # string 解释字体
    comment_font_point: 20                 # number    解释字体 大小

    vertical_text: false                   # bool  竖排候选内的文字
    vertical_text_left_to_right: false     # bool  候选列表从左到右
    vertical_text_with_wrap: false         # bool  序号也竖向排列
    vertical_auto_reverse: false           # bool

    preedit_type: "composition"            #  "composition" | "preview" | "preview_all"
    mark_text: ""                          # 不知道这个是干嘛的,有知道的请告诉我

    layout:
      align_type: "top"        # string  "top" | "center" | "bottom" 序号、候选词、注释对齐方式

      corner_radius: 13           # number  圆角大小 候选面板
      enhanced_position: false    # bool 允许光标位置获取失败时,在当空窗口左上角绘制候选框(而不是桌面左上角)
#      max_width: 10              # number  超出部分自动换行,如果显示有问题,请重启小狼毫算法服务程序
#      max_height: 10             # number  超出部分自动换行

      # 阴影
      shadow_radius: 5
      shadow_offset_x: 3          # number 阴影横向偏移量
      shadow_offset_y: 3          # number 阴影纵向偏移量

      min_width: 160
      min_height: 160             # number 边框宽度 候选边框、面板边框
      margin_x: 13                # number 内容离边框的,左右边界  当 margin_x 和 margin_y 设置为负值时,将不显示候选窗口,但不影响方案选择
      margin_y: 13                # number 内容离边框的,上下边界  当 margin_x 和 margin_y 设置为负值时,将不显示候选窗口,但不影响方案选择
      spacing: 10                # number 候选词之间的间隔

      candidate_spacing: 15      # number 候选之间的间隔
      hilite_spacing: 5          # number 序号与候选词之间的间隔 宽度
      hilite_padding: 5         # number 候选词边界值 宽度
      round_corner: 9            # number 候选词的圆角

  preset_color_schemes:   # 主题:颜色方案
    Blue:
      name: 山田凉 / Blue
      author: "原名"
      creat_time: "2024-02-03"
      color_format: "rgba"
      back_color: 0x3F4047
      border_color: 0x292A2B                       # color 面板边框颜色
      text_color: 0xFFFFFF
      candidate_text_color: 0xFFFFFF
      comment_text_color: 0xBBCC27

      label_color: 0x999999                        # color 序号颜色 未选中的
      shadow_color:  0x313F50                      # color 面板阴影

      nextpage_color:  0x000000                    # color
      prevpage_color:  0x000000                    # color

      candidate_back_color:  0x3F4047              # color 面板背景色
      candidate_shadow_color:  0x00000000          # color 面板阴影颜色
      candidate_border_color:  0x00000000          # color 面板边框颜色

      hilited_shadow_color:  0xcccccc              # color 阴影颜色 选中的候选
      hilited_text_color: 0x000000
      hilited_back_color: 0xEDEDF9

      hilited_label_color: 0xECE975                # color 序号颜色,选中的
      hilited_candidate_text_color: 0xFFFFFF       # color 文字颜色 选中的候选
      hilited_candidate_back_color: 0x3B508A       # color 背景色 选中的候选
      hilited_candidate_shadow_color:  0x3B508A  # color aarrggbb
      hilited_candidate_border_color:  0x3B508A  # color 边框颜色 选中的候选
      hilited_mark_color:  0x000000                # color

  style/layout/border_width: 1