Mark24Code / rime-auto-deploy

Rime输入法安装脚本,让一切更轻松。Make using Rime easy.
MIT License
1.21k stars 65 forks source link

鼠须管1.0.1是否会不兼容? #26

Closed luckykellan closed 4 months ago

luckykellan commented 4 months ago

使用手动模式进行2、3、4步后RIME-ICE配置生效了,我在~/Library/Rime中新建了custom文件夹并新建了squirrel.custom.yaml文件,在里面加了如下配置

patch:
  style:
    color_scheme: macos_light
    color_scheme_dark: macos_dark
    candidate_list_layout: linear

  # 皮肤列表
  preset_color_schemes:
    macos_light:
      name: "MacOS 浅色/MacOS Light"
      author: 小码哥
      font_face: "PingFangSC"          # 字体及大小
      font_point: 16
      label_font_face: "PingFangSC"    # 序号字体及大小
      label_font_point: 12
      comment_font_face: "PingFangSC"  # 注字体及大小
      comment_font_point: 16
      candidate_format: "%c\u2005%@\u2005" # 编号 %c 和候选词 %@ 前后的空间
      candidate_list_layout: linear   # 候选排布:层叠 stacked | 行 linear
      text_orientation: horizontal    # 行文向: 横 horizontal | 纵 vertical
      inline_preedit: true            # 拼音位于: 候选框 false | 行内 true
      translucency: false             # 磨砂: false | true
      mutual_exclusive: false         # 色不叠加: false | true
      border_height: 1                # 外边框 高
      border_width: 1                 # 外边框 宽
      corner_radius: 5                # 外边框 圆角半径
      hilited_corner_radius: 5       # 选中框 圆角半径
      surrounding_extra_expansion: 0 # 候选项背景相对大小?
      shadow_size: 0                 # 阴影大小
      line_spacing: 5                # 行间距
      base_offset: 0                 # 字基高
      alpha: 1                       # 透明度,0~1
      spacing: 10                    # 拼音与候选项之间的距离 (inline_preedit: false)
      color_space: srgb                       # 色彩空间: srgb | display_p3
      back_color: 0xFFFFFF                    # 底色
      hilited_candidate_back_color: 0xD75A00  # 选中底色
      label_color: 0x999999                   # 序号颜色
      hilited_candidate_label_color: 0xFFFFFF # 选中序号颜色
      candidate_text_color: 0x3c3c3c          # 文字颜色
      hilited_candidate_text_color: 0xFFFFFF  # 选中文字颜色
      comment_text_color: 0x999999            # 注颜色
      hilited_comment_text_color: 0xFFFFFF    # 选中注颜色
      text_color: 0x424242                    # 拼音颜色 (inline_preedit: false)
      hilited_text_color: 0xFFFFFF            # 选中拼音颜色 (inline_preedit: false)
      candidate_back_color: 0xFFFFFF          # 候选项底色
      # preedit_back_color:                   # 拼音底色 (inline_preedit: false)
      hilited_back_color: 0xD75A00            # 选中拼音底色 (inline_preedit: false)
      border_color: 0xFFFFFF                  # 外边框颜色

    macos_dark:
      name: "MacOS 深色/MacOS Dark"
      author: 小码哥
      font_face: "PingFangSC"          # 字体及大小
      font_point: 16
      label_font_face: "PingFangSC"    # 序号字体及大小
      label_font_point: 12
      comment_font_face: "PingFangSC"  # 注字体及大小
      comment_font_point: 16
      candidate_format: "%c\u2005%@\u2005" # 编号 %c 和候选词 %@ 前后的空间
      candidate_list_layout: linear   # 候选排布:层叠 stacked | 行 linear
      text_orientation: horizontal    # 行文向: 横 horizontal | 纵 vertical
      inline_preedit: true            # 拼音位于: 候选框 false | 行内 true
      translucency: false             # 磨砂: false | true
      mutual_exclusive: false         # 色不叠加: false | true
      border_height: 1                # 外边框 高
      border_width: 1                 # 外边框 宽
      corner_radius: 5                # 外边框 圆角半径
      hilited_corner_radius: 5       # 选中框 圆角半径
      surrounding_extra_expansion: 0 # 候选项背景相对大小?
      shadow_size: 0                 # 阴影大小
      line_spacing: 5                # 行间距
      base_offset: 0                 # 字基高
      alpha: 1                       # 透明度,0~1
      spacing: 10                    # 拼音与候选项之间的距离 (inline_preedit: false)
      color_space: srgb                       # 色彩空间: srgb | display_p3
      back_color: 0x1f1e2d                  # 底色
      hilited_candidate_back_color: 0xD75A00  # 选中底色
      label_color: 0x999999                   # 序号颜色
      hilited_candidate_label_color: 0xFFFFFF # 选中序号颜色
      candidate_text_color: 0xe9e9ea          # 文字颜色
      hilited_candidate_text_color: 0xFFFFFF  # 选中文字颜色
      comment_text_color: 0x999999            # 注颜色
      hilited_comment_text_color: 0x999999    # 选中注颜色
      text_color: 0x808080                    # 拼音颜色 (inline_preedit: false)
      hilited_text_color: 0xFFFFFF            # 选中拼音颜色 (inline_preedit: false)
      candidate_back_color: 0x1f1e2d          # 候选项底色
      # preedit_back_color:                   # 拼音底色 (inline_preedit: false)
      hilited_back_color: 0xD75A00            # 选中拼音底色 (inline_preedit: false)
      border_color: 0x050505                  # 外边框颜色

然后保存->手动模式第四步->重新部署,但是主题和候选字横向都没有生效,请问是我哪里没做对吗?

luckykellan commented 4 months ago

抱歉是我的问题,应该修改clone后该项目中的custom文件夹中的文件,而不是自己新建