Skip to content

Commit

Permalink
feat: update custom style setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponpon55837 committed May 6, 2024
1 parent c886836 commit c361ba3
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions squirrel.custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
# 用法:想要哪項生效,就刪去該行行首的「#」字符,但注意保留用於縮進的空格

patch:
style/color_scheme: HappySea #DyingMood #GreenWorld #ClassicChrome #TodayIsNotGood #Grassland #MaybeWeHaveHug #DarkMode #GoodEatMango #BigSurDesert #BigSurBeach #AllBlue #OrangeSugar #BigRice #YoungBlood #EastSidePurple #HappySea #Senbe #Sunset #HouseDesign #RoseofER #TriColorDumpling #Tiffany #McDonald #Lakers
style/color_scheme: HappySea #NormalBlue #DyingMood #GreenWorld #ClassicChrome #TodayIsNotGood #Grassland #MaybeWeHaveHug #DarkMode #GoodEatMango #BigSurDesert #BigSurBeach #AllBlue #OrangeSugar #BigRice #YoungBlood #EastSidePurple #HappySea #Senbe #Sunset #HouseDesign #RoseofER #TriColorDumpling #Tiffany #McDonald #Lakers
# 輸入直排 or 橫排
style/candidate_list_layout: stacked # linear | stacked
# style/text_orientation": horizontal # horizontal | vertical
# style/text_orientation": vertical # horizontal | vertical
style/display_tray_icon: true # 顯示托盤圖標
style/inline_preedit: true #true
style/line_spacing: 2 #6 #1
style/spacing: 2 #10 #5
style/line_spacing: 3 #6 #1
style/spacing: 5 #10 #5
# 文字字體 字體可以查看Mac的FontBook,你電腦裡有的字體正常都能支援
style/font_face: 'Times-Roman,YuppyTC-Regular,AppleColorEmoji' #Times-Roman,HanaMinA,HanaMinB #Times-Roman,PingFangTC-Light,AppleColorEmoji # YuppyTC-Regular
style/font_point: 20 #21
Expand All @@ -20,10 +21,14 @@ patch:
# \2002 是en space的寬度 \u2004是1/3 em \u2005 是1/4 em \u2006 是1/6 em \u2007 是圖形空間的寬度 \u2008 是標點符號的寬度
style/candidate_format: "\u2004%c\u2002%@\u2004"
style/corner_radius: 9 # 外框圓角
style/border_height: 5 # 字與上下邊框的高度差
style/border_width: 5 # 字與左右邊框的寬度差
style/base_offset: -3 # 基線調整

style/border_height: 3 # 字與上下邊框的高度差
style/border_width: 3 # 字與左右邊框的寬度差
style/base_offset: 0 # 基線調整
style/memorize_size: true # 控制候選標是否在接觸屏幕邊緣時有粘性
style/shadow_size: 0 # 陰影大小
style/mutual_exclusive: false # 控制半透明顏色是否互相疊加,默認爲false,即互相疊加
style/surrounding_extra_expansion: 10 # 控制非高亮候選背景大小,正數則相對高亮背景擴大,負數則相對高亮背景收縮,默認爲0
style/status_message_type: mix # mix(default) / long / short控制狀態改變時如何展示狀態標籤,默認短標籤優先,無短標籤則使用完整標籤,不再自動截取完整標籤首字,除非設爲short
# ARGB 透明度基本參數
# 100% FF
# 95% F2
Expand Down Expand Up @@ -184,7 +189,7 @@ patch:
name: 快樂海洋
author: upfloor5
color_space: display_p3 # 使用p3廣色域顯色
border_color: '0xF1C17E' # 邊框顏色
border_color: '0xD9F1C17E' # 邊框顏色
hilited_corner_radius: 7
back_color: '0xD9F1C17E'
text_color: '0x8564B1'
Expand Down Expand Up @@ -277,7 +282,7 @@ patch:
color_space: display_p3 # 使用p3廣色域顯色
border_color: '0xAD9642' # 邊框顏色
hilited_corner_radius: 7 # 候選字圓角
back_color: '0xAD9642'
back_color: '0xD9AD9642'
text_color: '0x372215'
hilited_text_color: '0x372215'
hilited_back_color: '0xAD9642'
Expand Down

0 comments on commit c361ba3

Please sign in to comment.