squirrel.custom.yaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. patch:
  2. # ascii_mode、inline、no_inline、vim_mode 等等设定,可参考 /Library/Input Methods/Squirrel.app/Contents/SharedSupport/squirrel.yaml
  3. app_options:
  4. #com.raycast.macos:
  5. # ascii_mode: true # 初始爲西文模式
  6. #com.microsoft.VSCode:
  7. # ascii_mode: true # 初始爲西文模式
  8. # vim_mode: true
  9. #md.obsidian:
  10. # ascii_mode: true # 初始爲西文模式
  11. # vim_mode: true
  12. #org.alacritty:
  13. # ascii_mode: true # 初始爲西文模式
  14. #com.jetbrains.intellij:
  15. # ascii_mode: true
  16. # vim_mode: true
  17. style:
  18. # 选择皮肤,亮色与暗色主题
  19. # color_scheme: purity_of_form_custom
  20. # color_scheme_dark: purity_of_form_custom
  21. # color_scheme: macos_light
  22. # color_scheme_dark: macos_dark
  23. color_scheme: wechat_light
  24. color_scheme_dark: wechat_dark
  25. # 预设选项:(可被皮肤覆盖;如果皮肤没写,则默认使用这些属性。)
  26. text_orientation: horizontal # horizontal | vertical
  27. inline_preedit: true
  28. corner_radius: 10
  29. hilited_corner_radius: 0
  30. border_height: 0
  31. border_width: 0
  32. line_spacing: 5
  33. spacing: 10
  34. #candidate_format: '%c. %@'
  35. #base_offset: 6
  36. font_face: 'Lucida Grande'
  37. font_point: 21
  38. #label_font_face: 'Lucida Grande'
  39. label_font_point: 18
  40. #comment_font_face: 'Lucida Grande'
  41. comment_font_point: 18
  42. # 皮肤列表
  43. preset_color_schemes:
  44. macos_light:
  45. name: "MacOS 浅色/MacOS Light"
  46. author: 小码哥
  47. font_face: "PingFangSC" # 字体及大小
  48. font_point: 21
  49. label_font_face: "PingFangSC" # 序号字体及大小
  50. label_font_point: 12
  51. comment_font_face: "PingFangSC" # 注字体及大小
  52. comment_font_point: 21
  53. candidate_format: "%c\u2005%@\u2005" # 编号 %c 和候选词 %@ 前后的空间
  54. candidate_list_layout: linear # 候选排布:层叠 stacked | 行 linear
  55. text_orientation: horizontal # 行文向: 横 horizontal | 纵 vertical
  56. inline_preedit: true # 拼音位于: 候选框 false | 行内 true
  57. translucency: false # 磨砂: false | true
  58. mutual_exclusive: false # 色不叠加: false | true
  59. border_height: 1 # 外边框 高
  60. border_width: 1 # 外边框 宽
  61. corner_radius: 5 # 外边框 圆角半径
  62. hilited_corner_radius: 5 # 选中框 圆角半径
  63. surrounding_extra_expansion: 0 # 候选项背景相对大小?
  64. shadow_size: 0 # 阴影大小
  65. line_spacing: 5 # 行间距
  66. base_offset: 0 # 字基高
  67. alpha: 1 # 透明度,0~1
  68. spacing: 10 # 拼音与候选项之间的距离 (inline_preedit: false)
  69. color_space: srgb # 色彩空间: srgb | display_p3
  70. back_color: 0xFFFFFF # 底色
  71. hilited_candidate_back_color: 0xD75A00 # 选中底色
  72. label_color: 0x999999 # 序号颜色
  73. hilited_candidate_label_color: 0xFFFFFF # 选中序号颜色
  74. candidate_text_color: 0x3c3c3c # 文字颜色
  75. hilited_candidate_text_color: 0xFFFFFF # 选中文字颜色
  76. comment_text_color: 0x999999 # 注颜色
  77. hilited_comment_text_color: 0xFFFFFF # 选中注颜色
  78. text_color: 0x424242 # 拼音颜色 (inline_preedit: false)
  79. hilited_text_color: 0xFFFFFF # 选中拼音颜色 (inline_preedit: false)
  80. candidate_back_color: 0xe9e9ea # 候选项底色
  81. # preedit_back_color: # 拼音底色 (inline_preedit: false)
  82. hilited_back_color: 0xD75A00 # 选中拼音底色 (inline_preedit: false)
  83. border_color: 0xFFFFFF # 外边框颜色
  84. macos_dark:
  85. name: "MacOS 深色/MacOS Dark"
  86. author: 小码哥
  87. font_face: "PingFangSC" # 字体及大小
  88. font_point: 21
  89. label_font_face: "PingFangSC" # 序号字体及大小
  90. label_font_point: 12
  91. comment_font_face: "PingFangSC" # 注字体及大小
  92. comment_font_point: 21
  93. candidate_format: "%c\u2005%@\u2005" # 编号 %c 和候选词 %@ 前后的空间
  94. candidate_list_layout: linear # 候选排布:层叠 stacked | 行 linear
  95. text_orientation: horizontal # 行文向: 横 horizontal | 纵 vertical
  96. inline_preedit: true # 拼音位于: 候选框 false | 行内 true
  97. translucency: false # 磨砂: false | true
  98. mutual_exclusive: false # 色不叠加: false | true
  99. border_height: 1 # 外边框 高
  100. border_width: 1 # 外边框 宽
  101. corner_radius: 5 # 外边框 圆角半径
  102. hilited_corner_radius: 5 # 选中框 圆角半径
  103. surrounding_extra_expansion: 0 # 候选项背景相对大小?
  104. shadow_size: 0 # 阴影大小
  105. line_spacing: 5 # 行间距
  106. base_offset: 0 # 字基高
  107. alpha: 1 # 透明度,0~1
  108. spacing: 10 # 拼音与候选项之间的距离 (inline_preedit: false)
  109. color_space: srgb # 色彩空间: srgb | display_p3
  110. back_color: 0x1f1e2d # 底色
  111. hilited_candidate_back_color: 0xD75A00 # 选中底色
  112. label_color: 0x999999 # 序号颜色
  113. hilited_candidate_label_color: 0xFFFFFF # 选中序号颜色
  114. candidate_text_color: 0xe9e9ea # 文字颜色
  115. hilited_candidate_text_color: 0xFFFFFF # 选中文字颜色
  116. comment_text_color: 0x999999 # 注颜色
  117. hilited_comment_text_color: 0x999999 # 选中注颜色
  118. text_color: 0x808080 # 拼音颜色 (inline_preedit: false)
  119. hilited_text_color: 0xFFFFFF # 选中拼音颜色 (inline_preedit: false)
  120. candidate_back_color: 0xe9e9ea # 候选项底色
  121. # preedit_back_color: # 拼音底色 (inline_preedit: false)
  122. hilited_back_color: 0xD75A00 # 选中拼音底色 (inline_preedit: false)
  123. border_color: 0x050505 # 外边框颜色
  124. wechat_light:
  125. name: "微信浅色/Wechat Light"
  126. author: 小码哥
  127. font_face: "PingFangSC" # 字体及大小
  128. font_point: 21
  129. label_font_face: "PingFangSC" # 序号字体及大小
  130. label_font_point: 13
  131. comment_font_face: "PingFangSC" # 注字体及大小
  132. comment_font_point: 21
  133. candidate_format: "%c\u2005%@\u2005" # 编号 %c 和候选词 %@ 前后的空间
  134. candidate_list_layout: linear # 候选排布:层叠 stacked | 行 linear
  135. text_orientation: horizontal # 行文向: 横 horizontal | 纵 vertical
  136. inline_preedit: true # 拼音位于: 候选框 false | 行内 true
  137. translucency: false # 磨砂: false | true
  138. mutual_exclusive: false # 色不叠加: false | true
  139. border_height: 1 # 外边框 高
  140. border_width: 1 # 外边框 宽
  141. corner_radius: 5 # 外边框 圆角半径
  142. hilited_corner_radius: 5 # 选中框 圆角半径
  143. surrounding_extra_expansion: 0 # 候选项背景相对大小?
  144. shadow_size: 0 # 阴影大小
  145. line_spacing: 5 # 行间距
  146. base_offset: 0 # 字基高
  147. alpha: 1 # 透明度,0~1
  148. spacing: 10 # 拼音与候选项之间的距离 (inline_preedit: false)
  149. color_space: srgb # 色彩空间: srgb | display_p3
  150. back_color: 0xFFFFFF # 底色
  151. hilited_candidate_back_color: 0x79af22 # 选中底色
  152. label_color: 0x999999 # 序号颜色
  153. hilited_candidate_label_color: 0xFFFFFF # 选中序号颜色
  154. candidate_text_color: 0x3c3c3c # 文字颜色
  155. hilited_candidate_text_color: 0xFFFFFF # 选中文字颜色
  156. comment_text_color: 0x999999 # 注颜色
  157. hilited_comment_text_color: 0x999999 # 选中注颜色
  158. text_color: 0x424242 # 拼音颜色 (inline_preedit: false)
  159. hilited_text_color: 0x999999 # 选中拼音颜色 (inline_preedit: false)
  160. candidate_back_color: 0xe9e9ea # 候选项底色
  161. # preedit_back_color: # 拼音底色 (inline_preedit: false)
  162. hilited_back_color: 0x79af22 # 选中拼音底色 (inline_preedit: false)
  163. border_color: 0xFFFFFF # 外边框颜色
  164. wechat_dark:
  165. name: "微信深色/Wechat Dark"
  166. author: 小码哥
  167. font_face: "PingFangSC" # 字体及大小
  168. font_point: 21
  169. label_font_face: "PingFangSC" # 序号字体及大小
  170. label_font_point: 13
  171. comment_font_face: "PingFangSC" # 注字体及大小
  172. comment_font_point: 21
  173. candidate_format: "%c\u2005%@\u2005" # 编号 %c 和候选词 %@ 前后的空间
  174. candidate_list_layout: linear # 候选排布:层叠 stacked | 行 linear
  175. text_orientation: horizontal # 行文向: 横 horizontal | 纵 vertical
  176. inline_preedit: true # 拼音位于: 候选框 false | 行内 true
  177. translucency: false # 磨砂: false | true
  178. mutual_exclusive: false # 色不叠加: false | true
  179. border_height: 1 # 外边框 高
  180. border_width: 1 # 外边框 宽
  181. corner_radius: 5 # 外边框 圆角半径
  182. hilited_corner_radius: 5 # 选中框 圆角半径
  183. surrounding_extra_expansion: 0 # 候选项背景相对大小?
  184. shadow_size: 0 # 阴影大小
  185. line_spacing: 5 # 行间距
  186. base_offset: 0 # 字基高
  187. alpha: 1 # 透明度,0~1
  188. spacing: 10 # 拼音与候选项之间的距离 (inline_preedit: false)
  189. color_space: srgb # 色彩空间: srgb | display_p3
  190. back_color: 0x151515 # 底色
  191. hilited_candidate_back_color: 0x79af22 # 选中底色
  192. label_color: 0x999999 # 序号颜色
  193. hilited_candidate_label_color: 0xFFFFFF # 选中序号颜色
  194. candidate_text_color: 0xbbbbbb # 文字颜色
  195. hilited_candidate_text_color: 0xFFFFFF # 选中文字颜色
  196. comment_text_color: 0x999999 # 注颜色
  197. hilited_comment_text_color: 0xFFFFFF # 选中注颜色
  198. text_color: 0xbbbbbb # 拼音颜色 (inline_preedit: false)
  199. hilited_text_color: 0x999999 # 选中拼音颜色 (inline_preedit: false)
  200. candidate_back_color: 0xbbbbbb # 候选项底色
  201. # preedit_back_color: # 拼音底色 (inline_preedit: false)
  202. hilited_back_color: 0x79af22 # 选中拼音底色 (inline_preedit: false)
  203. border_color: 0x292929 # 外边框颜色