Skip to content

Instantly share code, notes, and snippets.

@lotem
Last active June 27, 2024 10:55
Show Gist options
  • Save lotem/2290714 to your computer and use it in GitHub Desktop.
Save lotem/2290714 to your computer and use it in GitHub Desktop.
【鼠鬚管】定製檔
# 適用於【鼠鬚管】0.9.13+
# 位置:~/Library/Rime/squirrel.custom.yaml
# 用法:想要哪項生效,就刪去該行行首的#字符,但注意保留用於縮進的空格
patch:
# us_keyboard_layout: true # 鍵盤選項:應用美式鍵盤佈局
# show_notifications_when: growl_is_running # 狀態通知,默認裝有Growl時顯示,也可設爲全開(always)全關(never)
# style/horizontal: true # 候選窗横向顯示
# style/inline_preedit: false # 非內嵌編碼行
# style/font_face: "儷黑 Pro" # 我喜歡的字體名稱
# style/font_point: 21 # 字號
# style/corner_radius: 10 # 窗口圓角半徑
# style/border_height: 0 # 窗口邊界高度,大於圓角半徑才有效果
# style/border_width: 0 # 窗口邊界寬度,大於圓角半徑才有效果
# style/color_scheme: luna # 選擇配色方案
# 註:預設的配色方案及代碼(指定爲 style/color_scheme )
# 系統默認色系 - native
# 碧水 - aqua
# 青天 - azure
# 明月 - luna
# 墨池 - ink
# 孤寺 - lost_temple
# 暗堂 - dark_temple
# 星際我爭霸 - starcraft
# 谷歌 - google
# 曬經石 - solarized_rock
# 简约白 - clean_white
@nanzi-code
Copy link

感谢,已经完成配置

@hubgit9981
Copy link

hubgit9981 commented Jun 4, 2024

用RIME很久了, 非常喜欢。最近的升级在我的mac上有点小问题。
# style/font_face: "儷黑 Pro" # 我喜歡的字體名稱
# style/font_point: 21 # 字號
以上两个设置开启后有效;

但是
# style/color_scheme: luna # 選擇配色方案
开启后无效;

@litszwaiboris
Copy link

我發現如果你想要在黑暗模式用配色方案的話,你要在color_scheme後加上dark把它變成color_scheme_dark

@helloteemo
Copy link

可以尝试一下mac dark,挺不错的

mac_dark:
      name: Mac深色
      horizontal: true             # true横排,false竖排
      candidate_list_layout: linear             #linear-候选词水平排列/stacked-垂直排列(1.0.0之后生效)
      text_orientation: horizontal              #设置每个词的文字排列方向 horizontal-水平/vertical-垂直(1.0.0之后生效)
      candidate_format: "%c %@ "   # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间
      corner_radius: 5                             # 窗口圆角
      dborder_width: 4                  #设置输入条左右宽度
      hilited_corner_radius: 5                     # 高亮圆角
      line_spacing: 10                              # 行间距(适用于竖排)
      border_height: 4                             # 窗口上下高度,大于圆角半径才生效
      border_width: 4                              # 窗口左右宽度,大于圆角半径才生效 
      font_face: "PingFangSC"                      # 候选词字体
      font_point: 16                               # 候选字大小
      label_font_point: 12                         # 候选编号大小
      text_color: 0x424242                    # 拼音行文字颜色
      back_color: 0x252a2e                    # 候选条背景色
      border_color: 0x050505                  # 边框色
      label_color: 0x999999                   # 预选栏编号颜色
      candidate_text_color: 0xe9e9ea          # 预选项文字颜色
      comment_text_color: 0x999999            # 拼音等提示文字颜色
      hilited_text_color: 0x999999            # 高亮拼音 (需要开启内嵌编码)
      hilited_back_color: 0xD75A00            # 第一候选项背景背景色
      hilited_candidate_text_color: 0xFFFFFF  # 第一候选项文字颜色
      hilited_candidate_label_color: 0xFFFFFF # 第一候选项编号颜色
      hilited_comment_text_color: 0x999999    # 注解文字高亮
      inline_preedit: true              # 设置是否双行显示

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment