Explorar o código

optimistic for ice

Dew-OF-Aurora hai 2 semanas
pai
achega
e663c3fce0
Modificáronse 5 ficheiros con 93 adicións e 507 borrados
  1. 0 21
      LICENSE
  2. 0 38
      backup/deploy.old.rb
  3. 10 46
      custom/default.custom.yaml
  4. 68 173
      custom/rime_ice.custom.yaml
  5. 15 229
      custom/squirrel.custom.yaml

+ 0 - 21
LICENSE

@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2023 Mark24
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.

+ 0 - 38
backup/deploy.old.rb

@@ -1,38 +0,0 @@
-#!/usr/bin/env ruby
-
-puts "==== Rime auto deploy ===="
-puts "Have you installed Rime?(y/n)"
-
-result = gets
-if result.strip != "y"
-  puts "(1/4) Install rime ? (y/n)"
-  result = gets
-  system("brew install --cask squirrel") if result.strip == "y"
-  puts "step1: Logout and relogin system"
-  puts "step2: Make Rime Input as your input method in system pane."
-  puts "step3: Rerun this program, jump over install Rime step."
-else
-  puts "Do you want to continue?(y/n)"
-  result = gets
-  exit 0 if result.strip != "y"
-
-  puts "(2/4) Backup Rime default config."
-  puts "run `mv ~/Library/Rime ~/Library/Rime.old`"
-  system("mv ~/Library/Rime ~/Library/Rime.old")
-  puts "done ✅"
-  puts ""
-  puts "(3/4) Install Rime-ice config."
-  puts "run `git clone --depth=1 https://github.com/Mark24Code/rime-ice.git ~/Library/Rime`"
-  system(
-    "git clone --depth=1 https://github.com/Mark24Code/rime-ice.git ~/Library/Rime"
-  )
-  puts "done ✅"
-  puts ""
-  puts "(4/4) Download Custom config."
-  system("cp ./default.custom.yaml ~/Library/Rime/")
-  system("cp ./squirrel.custom.yaml ~/Library/Rime/")
-  puts "done ✅"
-  puts ""
-  puts "Deploy finised"
-  puts "Please open Rime setting pane and click `Deploy`. Enjoy~ 🍻"
-end

+ 10 - 46
custom/default.custom.yaml

@@ -1,57 +1,21 @@
 patch:
-  # 菜单
+  schema_list:
+    - schema: rime_ice # 雾凇拼音(全拼)
+    - schema: t9 # 九宫格(仓输入法)
+
   menu:
-    page_size: 8 # 候选词个数
-    # alternative_select_labels: [ ①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩ ]  # 修改候选项标签
-    # alternative_select_keys: ASDFGHJKL  # 如编码字符占用数字键,则需另设选字键
-    # ascii_mode、inline、no_inline、vim_mode 等等设定,可参考 /Library/Input Methods/Squirrel.app/Contents/SharedSupport/squirrel.yaml
-  # 中西文切换
-  #
-  # 【good_old_caps_lock】 CapsLock 切换到大写或切换中英。
-  # (macOS 偏好设置的优先级更高,如果勾选【使用大写锁定键切换“ABC”输入法】则始终会切换输入法)
-  #
-  # 切换中英:
-  # 不同的选项表示:打字打到一半时按下了 CapsLock、Shift、Control 后:
-  # commit_code  上屏原始的编码,然后切换到英文
-  # commit_text  上屏拼出的词句,然后切换到英文
-  # clear        清除未上屏内容,然后切换到英文
-  # inline_ascii 无输入时,切换中英;有输入时,切换到临时英文模式,按回车上屏后回到中文状态
-  # noop         屏蔽快捷键,不切换中英,但不要屏蔽 CapsLock
-  ascii_composer:
-    good_old_caps_lock: true # true | false
-    switch_key:
-      Caps_Lock: clear # commit_code | commit_text | clear
-      Shift_L: clear # commit_code | commit_text | inline_ascii | clear | noop
-      Shift_R: clear # commit_code | commit_text | inline_ascii | clear | noop
-      Control_L: noop # commit_code | commit_text | inline_ascii | clear | noop
-      Control_R: noop # commit_code | commit_text | inline_ascii | clear | noop
+    page_size: 8
 
-    # 方案选单相关
   switcher:
     caption: 「方案选单」
     hotkeys:
-      - F4
-      - Control+grave
-      - Control+Shift+grave
-      # - Alt+grave
-    save_options: # 开关记忆(方案中的 switches),从方案选单(而非快捷键)切换时会记住的选项,需要记忆的开关不能设定 reset
-      - ascii_mode
+      - F3
+    save_options:
       - ascii_punct
       - traditionalization
       - emoji
       - full_shape
       - search_single_char
-    fold_options: true # 呼出时是否折叠,多方案时建议折叠 true ,一个方案建议展开 false
-    abbreviate_options: true # 折叠时是否缩写选项
-    option_list_separator: " / " # 折叠时的选项分隔符
-
-  schema_list:
-    - schema: rime_ice # 雾凇拼音(全拼)
-    - schema: t9 # 九宫格(仓输入法)
-    # - schema: double_pinyin          # 自然码双拼
-    # - schema: double_pinyin_abc      # 智能 ABC 双拼
-    # - schema: double_pinyin_mspy     # 微软双拼
-    # - schema: double_pinyin_sogou    # 搜狗双拼
-    # - schema: double_pinyin_flypy    # 小鹤双拼
-    # - schema: double_pinyin_ziguang  # 紫光双拼
-    # - schema: double_pinyin_jiajia   # 拼音加加双拼
+    fold_options: false
+    abbreviate_options: true
+    option_list_separator: " / "

+ 68 - 173
custom/rime_ice.custom.yaml

@@ -1,184 +1,79 @@
-# 添加了模糊音的自定义配置文件 rime_ice.custom.yaml
-# https://github.com/Mark24Code/rime-auto-deploy/issues/1
 patch:
-  translator/enable_sentence: true
-  translator/encode_commit_history: true
-  translator/enable_encoder: true
-  translator/max_phrase_length: 10
-  reduce_english_filter/mode: all
-
-  custom_phrase:
-    dictionary: ""
-    user_dict: custom_phrase # 可以修改这里,改成自己的 txt 文件
-    db_class: tabledb # 只读数据库,无法动态调频;设为 tabledb 可以动态调频
-    enable_completion: false # 补全提示
-    enable_sentence: true # 禁止造句
-    initial_quality: 1000 # custom_phrase 的权重应该比 pinyin 和 melt_eng 大
-
-  # 开关
-  # reset: 默认状态。注释掉后,切换窗口时不会重置到默认状态。
-  # states: 方案选单显示的名称。可以注释掉,仍可以通过快捷键切换。
-  # abbrev: 默认的缩写取 states 的第一个字符,abbrev 可自定义一个字符
   switches:
     - name: ascii_mode
-      states: [中, A]
-    - name: ascii_punct # 中英标点
-      states: [¥, $]
-      reset: 1
+      states: [中, 英]
+    - name: ascii_punct
+      states: ["中标", "英标"]
     - name: traditionalization
       states: [简, 繁]
-      reset: 0
     - name: emoji
-      states: [💀, 😄]
-      reset: 1
+      states: [表情关, 表情开]
     - name: full_shape
       states: [半角, 全角]
-      reset: 0
     - name: search_single_char # search.lua 的功能开关,辅码查词时是否单字优先
-      states: [正常, 单字]
       abbrev: [词, 单]
+      states: [正常, 单字]
 
-  # 拼写设定
-  speller:
-    # 如果不想让什么标点直接上屏,可以加在 alphabet,或者编辑标点符号为两个及以上的映射
-    alphabet: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
-    delimiter: " '" # 第一位<空格>是拼音之间的分隔符;第二位<'>表示可以手动输入单引号来分割拼音。
-    algebra:
-      ### 模糊音
-      # 声母
-      - derive/^([zcs])h/$1/ # z c s → zh ch sh
-      - derive/^([zcs])([^h])/$1h$2/ # zh ch sh → z c s
-      # - derive/^l/n/  # n → l
-      # - derive/^n/l/  # l → n
-      # - derive/^f/h/  # …………
-      # - derive/^h/f/  # …………
-      # - derive/^l/r/
-      # - derive/^r/l/
-      # - derive/^g/k/
-      # - derive/^k/g/
-      # 韵母
-      - derive/ang/an/
-      - derive/an/ang/
-      - derive/eng/en/
-      - derive/en/eng/
-      - derive/in/ing/
-      - derive/ing/in/
-      - derive/ian/iang/
-      - derive/iang/ian/
-      - derive/uan/uang/
-      - derive/uang/uan/
-      # - derive/ai/an/
-      # - derive/an/ai/
-      # - derive/ong/un/
-      # - derive/un/ong/
-      - derive/ong/on/
-      # - derive/iong/un/
-      # - derive/un/iong/
-      # - derive/ong/eng/
-      # - derive/eng/ong/
-      # 拼音音节
-      # - derive/^fei$/hui/
-      # - derive/^hui$/fei/
-      # - derive/^hu$/fu/
-      # - derive/^fu$/hu/
-      # - derive/^wang$/huang/
-      # - derive/^huang$/wang/
-
-      ### 旧时的拼写规则
-      # - derive/un$/uen/
-      # - derive/ui$/uei/
-      # - derive/iu$/iou/
-
-      ### 超级简拼
-      - erase/^hm$/ # 响应超级简拼,取消「噷 hm」的独占
-      - erase/^m$/ # 响应超级简拼,取消「呣 m」的独占
-      - erase/^n$/ # 响应超级简拼,取消「嗯 n」的独占
-      - erase/^ng$/ # 响应超级简拼,取消「嗯 ng」的独占
-      - abbrev/^([a-z]).+$/$1/ # 超级简拼
-      - abbrev/^([zcs]h).+$/$1/ # 超级简拼中,zh ch sh 视为整体(ch'sh → 城市),而不是像这样分开(c'h's'h → 吃好睡好)。
-
-      ### v u 转换,增加对词库中「nue/nve」「qu/qv」等不同注音的支持
-      - derive/^([nl])ue$/$1ve/
-      - derive/^([nl])ve$/$1ue/
-      - derive/^([jqxy])u/$1v/
-      - derive/^([jqxy])v/$1u/
-
-      ### 可输入大写字母,做了 xlit 转写是为了适配双拼
-      - xlit/āḃçďēḟḡĥīĵḱĺḿńōṕɋŕśťūṽẃẋȳź/ABCDEFGHIJKLMNOPQRSTUVWXYZ/
-
-      ### 自动纠错
-      # 有些规则对全拼简拼混输有副作用:如「x'ai 喜爱」被纠错为「xia 下」
-      # zh、ch、sh
-      - derive/([zcs])h(a|e|i|u|ai|ei|an|en|ou|uo|ua|un|ui|uan|uai|uang|ang|eng|ong)$/h$1$2/ # hzi → zhi
-      - derive/([zcs])h([aeiu])$/$1$2h/ # zih → zhi
-      # ai
-      - derive/^([wghk])ai$/$1ia/ # wia → wai
-      # ia
-      - derive/([qjx])ia$/$1ai/ # qai → qia
-      # ei
-      - derive/([wtfghkz])ei$/$1ie/
-      # ie
-      - derive/([jqx])ie$/$1ei/
-      # ao
-      - derive/([rtypsdghklzcbnm])ao$/$1oa/
-      # ou
-      - derive/([ypfm])ou$/$1uo/
-      # uo(无)
-      # an
-      - derive/([wrtypsdfghklzcbnm])an$/$1na/
-      # en
-      - derive/([wrpsdfghklzcbnm])en$/$1ne/
-      # ang
-      - derive/([wrtypsdfghklzcbnm])ang$/$1nag/
-      - derive/([wrtypsdfghklzcbnm])ang$/$1agn/
-      # eng
-      - derive/([wrtpsdfghklzcbnm])eng$/$1neg/
-      - derive/([wrtpsdfghklzcbnm])eng$/$1egn/
-      # ing
-      - derive/([qtypdjlxbnm])ing$/$1nig/
-      - derive/([qtypdjlxbnm])ing$/$1ign/
-      # ong
-      - derive/([rtysdghklzcn])ong$/$1nog/
-      - derive/([rtysdghklzcn])ong$/$1ogn/
-      # iao
-      - derive/([qtpdjlxbnm])iao$/$1ioa/
-      - derive/([qtpdjlxbnm])iao$/$1oia/
-      # ui
-      - derive/([rtsghkzc])ui$/$1iu/
-      # iu
-      - derive/([qjlxnm])iu$/$1ui/
-      # ian
-      - derive/([qtpdjlxbnm])ian$/$1ain/
-      # - derive/([qtpdjlxbnm])ian$/$1ina/ # 和「李娜、蒂娜、缉拿」等常用词有冲突
-      # in
-      - derive/([qypjlxbnm])in$/$1ni/
-      # iang
-      - derive/([qjlxn])iang$/$1aing/
-      - derive/([qjlxn])iang$/$1inag/
-      # ua
-      - derive/([g|k|h|zh|sh])ua$/$1au/
-      # uai
-      - derive/([g|h|k|zh|ch|sh])uai$/$1aui/
-      - derive/([g|h|k|zh|ch|sh])uai$/$1uia/
-      # uan
-      - derive/([qrtysdghjklzxcn])uan$/$1aun/
-      # - derive/([qrtysdghjklzxcn])uan$/$1una/ # 和「去哪、露娜」等常用词有冲突
-      # un
-      - derive/([qrtysdghjklzxc])un$/$1nu/
-      # ue
-      - derive/([nlyjqx])ue$/$1eu/
-      # uang
-      - derive/([g|h|k|zh|ch|sh])uang$/$1aung/
-      - derive/([g|h|k|zh|ch|sh])uang$/$1uagn/
-      - derive/([g|h|k|zh|ch|sh])uang$/$1unag/
-      - derive/([g|h|k|zh|ch|sh])uang$/$1augn/
-      # iong
-      - derive/([jqx])iong$/$1inog/
-      - derive/([jqx])iong$/$1oing/
-      - derive/([jqx])iong$/$1iogn/
-      - derive/([jqx])iong$/$1oign/
-      # 其他
-      - derive/([rtsdghkzc])o(u|ng)$/$1o/ # do → dou|dong
-      - derive/ong$/on/ # lon → long
-      - derive/([tl])eng$/$1en/ # ten → teng
-      - derive/([qwrtypsdfghjklzxcbnm])([aeio])ng$/$1ng/ # lng → lang、leng、ling、long
+  "speller/algebra":
+    - derive/^([zcs])h/$1/
+    - derive/^([zcs])([^h])/$1h$2/
+    - derive/ang$/an/
+    - derive/an$/ang/
+    - derive/eng$/en/
+    - derive/en$/eng/
+    - derive/in$/ing/
+    - derive/ing$/in/
+    - derive/ian$/iang/
+    - derive/iang$/ian/
+    - derive/uan$/uang/
+    - derive/uang$/uan/
+    - derive/ong$/on/
+    - derive/on$/ong/
+    #-----------------------------------
+    - erase/^hm$/
+    - erase/^m$/
+    - erase/^n$/
+    - erase/^ng$/
+    - abbrev/^([a-z]).+$/$1/
+    - abbrev/^([zcs]h).+$/$1/
+    - abbrev/^([a-z]i).+$/$1/
+    - derive/^([nl])ve$/$1ue/
+    - derive/^([jqxy])u/$1v/
+    - derive/^([nl])ue$/$1ve/
+    - derive/^([jqxy])v/$1u/
+    - derive/([zcs])h(a|e|i|u|ai|ei|an|en|ou|uo|ua|un|ui|uan|uai|uang|ang|eng|ong)$/h$1$2/
+    - derive/([wfghk])ai$/$1ia/
+    - derive/([wfghkz])ei$/$1ie/
+    - derive/([jqx])ie$/$1ei/
+    - derive/([rtypsdghklzcbnm])ao$/$1oa/
+    - derive/([ypfm])ou$/$1uo/
+    - derive/([wrtypsdfghklzcbnm])ang$/$1nag/
+    - derive/([wrtypsdfghklzcbnm])ang$/$1agn/
+    - derive/([wrtpsdfghklzcbnm])eng$/$1neg/
+    - derive/([wrtpsdfghklzcbnm])eng$/$1egn/
+    - derive/([qtypdjlxbnm])ing$/$1nig/
+    - derive/([qtypdjlxbnm])ing$/$1ign/
+    - derive/([rtysdghklzcn])ong$/$1nog/
+    - derive/([rtysdghklzcn])ong$/$1ogn/
+    - derive/([qtpdjlxbnm])iao$/$1ioa/
+    - derive/([qtpdjlxbnm])iao$/$1oia/
+    - derive/([rtsghkzc])ui$/$1iu/
+    - derive/([qjlxnm])iu$/$1ui/
+    - derive/([qjlxn])iang$/$1aing/
+    - derive/([qjlxn])iang$/$1inag/
+    - derive/([g|k|h|zh|sh])ua$/$1au/
+    - derive/([g|h|k|zh|ch|sh])uai$/$1aui/
+    - derive/([qrtysdghjklzxcn])uan$/$1aun/
+    - derive/([nlyjqx])ue$/$1eu/
+    - derive/([g|h|k|zh|ch|sh])uang$/$1aung/
+    - derive/([g|h|k|zh|ch|sh])uang$/$1uagn/
+    - derive/([g|h|k|zh|ch|sh])uang$/$1unag/
+    - derive/([g|h|k|zh|ch|sh])uang$/$1augn/
+    - derive/([jqx])iong$/$1inog/
+    - derive/([jqx])iong$/$1oing/
+    - derive/([jqx])iong$/$1iogn/
+    - derive/([jqx])iong$/$1oign/
+    - derive/([rtsdghkzc])o(u|ng)$/$1o/
+    - derive/(.+)ong$/$1on/
+    - derive/([tl])eng$/$1en/
+    - derive/([qwrtypsdfghjklzxcbnm])([aeio])ng$/$1ng/

+ 15 - 229
custom/squirrel.custom.yaml

@@ -1,30 +1,22 @@
 patch:
-  # ascii_mode、inline、no_inline、vim_mode 等等设定,可参考 /Library/Input Methods/Squirrel.app/Contents/SharedSupport/squirrel.yaml
   app_options:
-    #com.raycast.macos:
-    #  ascii_mode: true   # 初始爲西文模式
-    #com.microsoft.VSCode:
-    #  ascii_mode: true   # 初始爲西文模式
-    #  vim_mode: true
-    #md.obsidian:
-    #  ascii_mode: true   # 初始爲西文模式
-    #  vim_mode: true
-    #org.alacritty:
-    #  ascii_mode: true   # 初始爲西文模式
-    #com.jetbrains.intellij:
-    #  ascii_mode: true
-    #  vim_mode: true
-
+    com.apple.Spotlight:
+      ascii_mode: false
+    com.apple.Terminal:
+      ascii_mode: true
+    com.microsoft.VSCode:
+      ascii_mode: true
+      ascii_punct: true
+    com.jetbrains.intellij:
+      ascii_mode: true
+    com.jetbrains.CLion:
+      ascii_mode: true
+    st:
+      ascii_mode: true
   style:
-    # 选择皮肤,亮色与暗色主题
-    # color_scheme: purity_of_form_custom
-    # color_scheme_dark: purity_of_form_custom
     color_scheme: macos_light
     color_scheme_dark: macos_dark
-    # color_scheme: mac_light
-    # color_scheme_dark: mac_dark
 
-    # 预设选项:(可被皮肤覆盖;如果皮肤没写,则默认使用这些属性。)
     text_orientation: horizontal # horizontal | vertical
     candidate_list_layout: linear
     inline_preedit: true
@@ -38,9 +30,7 @@ patch:
     #base_offset: 6
     font_face: "Lucida Grande"
     font_point: 21
-    #label_font_face: 'Lucida Grande'
     label_font_point: 18
-    #comment_font_face: 'Lucida Grande'
     comment_font_point: 18
 
   # 皮肤列表
@@ -49,7 +39,7 @@ patch:
       name: "MacOS 浅色/MacOS Light"
       author: 小码哥
       font_face: "PingFangSC" # 字体及大小
-      font_point: 16
+      font_point: 18
       label_font_face: "PingFangSC" # 序号字体及大小
       label_font_point: 12
       comment_font_face: "PingFangSC" # 注字体及大小
@@ -90,7 +80,7 @@ patch:
       name: "MacOS 深色/MacOS Dark"
       author: 小码哥
       font_face: "PingFangSC" # 字体及大小
-      font_point: 16
+      font_point: 18
       label_font_face: "PingFangSC" # 序号字体及大小
       label_font_point: 12
       comment_font_face: "PingFangSC" # 注字体及大小
@@ -325,26 +315,6 @@ patch:
       hilited_candidate_label_color: 0xFFFFFF # 第一候选项编号颜色
       hilited_comment_text_color: 0x999999 # 注解文字高亮
 
-    psionics:
-      name: 幽能
-      horizontal: true # true横排,false竖排
-      candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
-      corner_radius: 5 # 窗口圆角
-      font_point: 21 # 候选文字大小
-      label_font_point: 14 # 候选编号大小
-      font_face: "PingFangSC-Regular,HanaMinB" # 候选词字体
-      line_spacing: 10 # 行间距(适用于竖排)
-      text_color: 0xc2c2c2 # 拼音行文字颜色
-      back_color: 0x444444 # 候选条背景色,24位色值,16进制,BGR顺序
-      candidate_text_color: 0xeeeeee # 预选项文字颜色
-      hilited_candidate_back_color: 0xd4bc00 # 候选文字背景色
-      comment_text_color: 0x808080 # 拼音等提示文字颜色
-      hilited_text_color: 0xeeeeee # 高亮拼音 (需要开启内嵌编码)
-      hilited_back_color: 0x444444 # 第一候选项背景背景色
-      hilited_candidate_label_color: 0xfafafa # 第一候选项编号颜色
-      hilited_candidate_text_color: 0xfafafa # 第一候选项文字颜色
-      hilited_comment_text_color: 0x444444 # 注解文字高亮
-
     win10:
       horizontal: true # true横排,false竖排
       candidate_format: "%c %@  " # 如果是竖排建议改为 "%c\u2005%@"
@@ -372,187 +342,3 @@ patch:
       hilited_comment_text_color: 0xffffff # 注解文字高亮
       hilited_label_color: 0xffffff # 已选字的数字的颜色
       label_color: 0x888888 # 预选栏编号颜色
-
-    solarized_rock:
-      name: 日光石
-      horizontal: true # true横排,false竖排
-      candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
-      corner_radius: 6 # 窗口圆角
-      font_point: 21 # 候选文字大小
-      label_font_point: 15 # 候选编号大小
-      line_spacing: 10 # 行间距(适用于竖排)
-      font_face: "PingFangSC-Regular,HanaMinB" # 候选词字体
-      text_color: 0x8236d3 # 拼音行文字颜色
-      back_color: 0x362b00 # 候选条背景色,24位色值,16进制,BGR顺序
-      candidate_text_color: 0x969483 # 预选项文字颜色
-      comment_text_color: 0xc098a12a # 拼音等提示文字颜色
-      hilited_text_color: 0x98a12a # 高亮拼音 (需要开启内嵌编码)
-      hilited_back_color: 0x444444 # 第一候选项背景背景色
-      hilited_candidate_label_color: 0xfafafa # 第一候选项编号颜色
-      hilited_candidate_back_color: 0x8236d3 # 候选文字背景色
-      hilited_candidate_text_color: 0xffffff # 第一候选项文字颜色
-      hilited_comment_text_color: 0x362b00 # 注解文字高亮
-
-    solarized_dark:
-      name: 夜光石
-      horizontal: true # true横排,false竖排
-      candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
-      corner_radius: 6 # 窗口圆角
-      font_point: 21 # 候选文字大小
-      label_font_point: 15 # 候选编号大小
-      line_spacing: 10 # 行间距(适用于竖排)
-      font_face: "PingFangSC-Regular,HanaMinB" # 候选词字体
-      text_color: 0xA1A095 # 拼音行文字颜色
-      border_color: 0xf02A1F00 # 边框颜色
-      label_color: 0xCC8947 # 预选栏编号颜色
-      back_color: 0xf0352A0A # 候选条背景色,24位色值,16进制,BGR顺序
-      candidate_text_color: 0x989F52 # 预选项文字颜色
-      comment_text_color: 0x289989 # 拼音等提示文字颜色
-      hilited_text_color: 0x2C8BAE # 高亮拼音 (需要开启内嵌编码)
-      hilited_back_color: 0x444444 # 第一候选项背景背景色
-      hilited_candidate_label_color: 0x2566C6 # 第一候选项编号颜色
-      hilited_candidate_back_color: 0xD7E8ED # 候选文字背景色
-      hilited_candidate_text_color: 0x3942CB # 第一候选项文字颜色
-      hilited_comment_text_color: 0x8144C2 # 注解文字高亮
-
-    apathy:
-      name: 冷漠
-      horizontal: true # true横排,false竖排
-      back_color: 0xFFFFFF # 候选条背景色,24位色值,16进制,BGR顺序
-      border_height: 0 # 窗口上下高度,大于圆角半径才生效
-      border_width: 8 # 窗口左右宽度
-      line_spacing: 10 # 行间距(适用于竖排)
-      candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
-      comment_text_color: 0x999999 # 拼音等提示文字颜色
-      corner_radius: 5 # 窗口圆角
-      font_point: 17 # 候选文字大小
-      hilited_candidate_back_color: 0xFFF0E4 # 候选文字背景色
-      hilited_candidate_text_color: 0xEE6E00 # 第一候选项文字颜色
-      inline_preedit: true
-      label_font_point: 12 # 候选编号大小
-      text_color: 0x424242 # 拼音行文字颜色
-
-    google:
-      name: 谷歌
-      horizontal: true # true横排,false竖排
-      candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
-      font_point: 21 # 候选文字大小
-      label_font_point: 15 # 候选编号大小
-      corner_radius: 6 # 窗口圆角
-      line_spacing: 10 # 行间距(适用于竖排)
-      text_color: 0x666666 # 拼音行文字颜色
-      candidate_text_color: 0x000000 # 预选项文字颜色
-      back_color: 0xFFFFFF # 候选条背景色,24位色值,16进制,BGR顺序
-      border_color: 0xE2E2E2 # 边框
-      hilited_text_color: 0x000000 # 高亮拼音 (需要开启内嵌编码)
-      hilited_back_color: 0xFFFFFF # 第一候选项背景背景色
-      hilited_candidate_text_color: 0xffffff # 第一候选项文字颜色
-      hilited_candidate_back_color: 0xCE7539 # 候选文字背景色
-      comment_text_color: 0x6D6D6D # 拼音等提示文字颜色
-      hilited_comment_text_color: 0xEBC6B0 # 注解文字高亮
-      hilited_candidate_label_color: 0xfafafa # 第一候选项编号颜色
-
-    milan:
-      name: 米兰
-      horizontal: true # true横排,false竖排
-      candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
-      font_point: 21 # 候选文字大小
-      label_font_point: 14 # 候选编号大小
-      line_spacing: 10 # 行间距(适用于竖排)
-      border_height: 4 # 窗口上下高度,大于圆角半径才生效
-      border_width: 4 # 窗口左右宽度,大于圆角半径才生效
-      corner_radius: 5 # 窗口圆角
-      back_color: 0xFFFFFF # 候选条背景色
-      comment_text_color: 0x999999 # 拼音等提示文字颜色
-      hilited_candidate_back_color: 0xF5803B # 候选文字背景色
-      hilited_candidate_text_color: 0xFFFFFF # 第一候选项文字颜色
-      text_color: 0x424242 # 拼音行文字颜色
-
-    ink:
-      name: 墨池
-      horizontal: true # true横排,false竖排
-      candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
-      font_point: 21 # 候选文字大小
-      label_font_point: 14 # 候选编号大小
-      corner_radius: 5 # 窗口圆角
-      line_spacing: 10 # 行间距(适用于竖排)
-      text_color: 0x5a5a5a # 拼音等提示文字颜色
-      back_color: 0xeeffffff # 候选条背景色
-      candidate_text_color: 0x000000 # 第一候选项文字颜色
-      hilited_text_color: 0x000000 # 高亮拼音 (需要开启内嵌编码)
-      hilited_candidate_text_color: 0xffffff # 第一候选项文字颜色
-      hilited_candidate_back_color: 0xcc000000 # 候选文字背景色
-      comment_text_color: 0x5a5a5a # 拼音等提示文字颜色
-      hilited_comment_text_color: 0x808080 # 注解文字高亮
-
-    purity:
-      name: 纯洁
-      horizontal: true # true横排,false竖排
-      candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
-      font_point: 21 # 候选文字大小
-      label_font_point: 14 # 候选编号大小
-      corner_radius: 5 # 窗口圆角
-      line_spacing: 10 # 行间距(适用于竖排)
-      text_color: 0xc2c2c2 # 拼音等提示文字颜色
-      back_color: 0x444444 # 候选条背景色
-      candidate_text_color: 0xeeeeee # 第一候选项文字颜色
-      hilited_text_color: 0xeeeeee # 高亮拼音 (需要开启内嵌编码)
-      hilited_back_color: 0x444444 # 第一候选项背景背景色
-      hilited_candidate_text_color: 0x000000 # 第一候选项文字颜色
-      hilited_candidate_back_color: 0xfafafa # 候选文字背景色
-      comment_text_color: 0x808080 # 拼音等提示文字颜色
-
-    starcraft:
-      name: 星际争霸
-      horizontal: true # true横排,false竖排
-      candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
-      font_point: 21 # 候选文字大小
-      label_font_point: 14 # 候选编号大小
-      corner_radius: 5 # 窗口圆角
-      line_spacing: 10 # 行间距(适用于竖排)
-      text_color: 0xccaa88 # 拼音等提示文字颜色
-      candidate_text_color: 0x30bb55 # 第一候选项文字颜色
-      back_color: 0xee000000 # 候选条背景色
-      border_color: 0x1010a0 # 边框色
-      hilited_text_color: 0xfecb96 # 高亮拼音 (需要开启内嵌编码)
-      hilited_back_color: 0x000000 # 第一候选项背景背景色
-      hilited_candidate_text_color: 0x70ffaf # 第一候选项文字颜色
-      hilited_candidate_back_color: 0x000000 # 候选文字背景色
-      comment_text_color: 0x1010d0 # 拼音等提示文字颜色
-      hilited_comment_text_color: 0x1010f0 # 注解文字高亮
-
-    nord_light:
-      name: 北方浅色
-      horizontal: true # true横排,false竖排
-      candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
-      font_point: 21 # 候选文字大小
-      label_font_point: 14 # 候选编号大小
-      corner_radius: 5 # 窗口圆角
-      line_spacing: 10 # 行间距(适用于竖排)
-      back_color: 0xF4EFEC # 候选条背景色
-      border_color: 0xF4EFEC # 边框色
-      candidate_text_color: 0xC1A181 # 第一候选项文字颜色
-      comment_text_color: 0xD0C088 # 拼音等提示文字颜色
-      hilited_back_color: 0xF0E9E5 # 第一候选项背景背景色
-      hilited_candidate_back_color: 0xE9DED8 # 候选文字背景色
-      hilited_candidate_text_color: 0xAC815E # 第一候选项文字颜色
-      hilited_text_color: 0xAD8EB4 # 高亮拼音 (需要开启内嵌编码)
-      text_color: 0x7087D0 # 拼音等提示文字颜色
-
-    nord_dark:
-      name: 北方深色
-      horizontal: true # true横排,false竖排
-      candidate_format: "%c %@ " # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
-      font_point: 21 # 候选文字大小
-      label_font_point: 14 # 候选编号大小
-      corner_radius: 5 # 窗口圆角
-      line_spacing: 10 # 行间距(适用于竖排)
-      back_color: 0x473A33 # 候选条背景色
-      border_color: 0x473A33 # 边框色
-      candidate_text_color: 0xF5D887 # 第一候选项文字颜色
-      comment_text_color: 0xE6B687 # 拼音等提示文字颜色
-      hilited_back_color: 0x473A33 # 第一候选项背景背景色
-      hilited_candidate_back_color: 0x5D4C43 # 候选文字背景色
-      hilited_candidate_text_color: 0xC0E077 # 第一候选项文字颜色
-      hilited_text_color: 0x6EC8F5 # 高亮拼音 (需要开启内嵌编码)
-      text_color: 0x78E8F0 # 拼音等提示文字颜色