@@ -25,6 +25,7 @@ round_corner:
25
25
style :
26
26
auto_caps : false # 自動句首大寫:true|false|ascii
27
27
background_dim_amount : 0.5
28
+ root_background : keyboard_back_color # 整个键盘区+候选栏的背景图/色
28
29
candidate_font : han.ttf # 候选字体
29
30
candidate_padding : 5 # 候选项内边距
30
31
candidate_spacing : 0.5 # 候选间距
67
68
- {start: "\n", label: "%s.", candidate: "%s", comment: "%s", end: "", sep: "☁️️"}
68
69
key_font : symbol.ttf # 键盘字体
69
70
key_height : *jpgd4 # 键高
70
- key_long_text_size : 18 # 长标签字号
71
+ key_long_text_size : 16 # 长标签字号
71
72
key_text_size : 24 # 键字号
72
73
key_width : 10.0 # 键宽,占屏幕宽的百分比
73
74
keyboards : [.default, letter, default, number, symbols, edit, move, bqrw1, bqrw2, bqrw3, bqrw4, bqrw5, bqrw6, bqqt1, bqqt2, bqqt3, bqqt4, bqqz1, bqqz2, bqqz3, bqqz4, bqqz5, bqqz6, bqpt1, bqpt2, bqhd1, bqhd2, bqhc1, bqhc2, bqhc3, bqlx1, bqlx2, bqlx3, bqlx4, bqlx5, bqlx6, bqkj1, bqkj2, bqkj3, bqkj4, bqkj5, bqfh1, bqfh2, bqfh3, bqfh4, kao_fond, kao_sad, kao_mad, kao_astonished, kao_impotent, kao_happy, numberb] # 键盘配置
@@ -103,7 +104,6 @@ fallback_colors:
103
104
hilited_candidate_text_color : hilited_text_color
104
105
hilited_candidate_back_color : hilited_back_color
105
106
hilited_comment_text_color : comment_text_color
106
- text_back_color : back_color
107
107
hilited_key_back_color : hilited_candidate_back_color
108
108
hilited_key_text_color : hilited_candidate_text_color
109
109
hilited_key_symbol_color : hilited_comment_text_color
@@ -115,7 +115,6 @@ fallback_colors:
115
115
key_border_color : border_color
116
116
key_text_color : candidate_text_color
117
117
key_symbol_color : comment_text_color
118
- keyboard_back_color : border_color
119
118
label_color : candidate_text_color
120
119
off_key_back_color : key_back_color
121
120
off_key_text_color : key_text_color
@@ -124,6 +123,12 @@ fallback_colors:
124
123
preview_back_color : key_text_color
125
124
preview_text_color : key_back_color
126
125
shadow_color : border_color
126
+ root_background : back_color # 整个键盘区+候选栏的背景图/色
127
+ candidate_background : back_color # 候选栏的整体背景图/色
128
+ keyboard_back_color : border_color # 键盘去的背景图/色
129
+ liquid_keyboard_background : keyboard_back_color # liquidKeyboard的背景图/色
130
+ text_back_color : back_color # 编码区背景,即悬浮窗背景
131
+ long_text_back_color : key_back_color # 长文本按键的背景(剪贴板)
127
132
128
133
# 颜色
129
134
colors :
@@ -841,7 +846,115 @@ preset_color_schemes:
841
846
off_key_text_color : 0xffd7d7d7
842
847
text_color : 0xffcd8c52
843
848
# --------配色结束----------------#
844
-
849
+
850
+ liquid_keyboard :
851
+ # 目前只能直接写参数,不支持变量或者fallback机制。
852
+ # 缺少参数时,自动从style中加载参数。除非需要指定liquid_keyboard使用与主键盘不同的背景色、背景图,否则不应设置被注释掉的参数。
853
+ author : " tumuyan"
854
+ key_height : 40 # 按键高度
855
+ key_height_land : 40 # 横屏模式按键高度
856
+ single_width : 60 # single类型的按键宽度
857
+ vertical_gap : 1 # 纵向按键间隙
858
+ margin_x : 0.5 # 左右按键间隙的1/2
859
+ keyboards : [emoji, math, ascii, cn, clipboard, history, exit, list , table, symbol, ids , pinyin, jp, unit, exit, grease, rusa, korea, lation, yinbiao, exit] # tab列表
860
+ exit :
861
+ name : 返回
862
+ type : NO_KEY
863
+ keys : EXIT
864
+ emoji :
865
+ type : SINGLE
866
+ keys : " 🙂😂🤣😆🙃😅🙈🙉🙊☹😑😄🤐😨😱🌚🌝🤔❤💔♡🌹💣👌👍😣😥😮🙄😏😕😯😪😫😴😌🤑😉😋😎😍😘😚😛😜😝😒😓😔😲😷🤒😇🤓🤗🤕🙁😖😞😟😤😢😭😦😧😨😩😬😰😳😵😡😠☝✌🖕👎🙏🤘👏💪💋☘🍀🌸☕🍵🍺🍻🍦🍬🍚🍜🍲🍖🎂💤"
867
+ clipboard :
868
+ type : CLIPBOARD
869
+ name : 剪贴
870
+ history :
871
+ name : 最近
872
+ type : HISTORY
873
+ math : # tab名称
874
+ type : SINGLE
875
+ name : 数学
876
+ keys : " ≈=≠≌<>≤≥≡()[]{}-+±×*/÷&∥%‰‱°′″∫∮∯∬∭∰∞∑∧∏∈∵∴⊥∝∨∪•√〒∝∽∈∩∧⊙⌒∥∟∣∂∆∞≌∉∪∨⊕⊿⊥∠∫∬∭" # tab中的按键列表
877
+ cn :
878
+ type : SINGLE
879
+ name : 中文
880
+ keys : # keys列表可以使用多种格式混合书写。
881
+ - ,
882
+ - 。
883
+ - ?
884
+ - !
885
+ - :
886
+ - 、
887
+ - “
888
+ - ”
889
+ - ‘
890
+ - ···
891
+ - ……
892
+ - { click: "——" }
893
+ - { click: "——", label: "破折号" }
894
+ - (
895
+ - )
896
+ - 【
897
+ - 】
898
+ - 《
899
+ - 》
900
+ - [
901
+ - ]
902
+ - {
903
+ - }
904
+ - 「
905
+ - 」
906
+ - 『
907
+ - 』
908
+ - ~
909
+ symbol :
910
+ name : 特殊
911
+ keys : " △▽○◇□☆▲▼●◆■★▷◁▶◀♻♲†⚝✡⚹✦✸✹�×⌫☑☒✅❎✔✘✓✗☼☽♀☻◐㏂☀☾♂☹◑㏘☜☝☞☚☟☛▪•‥…∷※♩♪♫♬§°♭♯♮‖¶№◎¤۞℗®©卍卐℡™㏇Φ↖↑↗◤㊤◥←↔→㊧㊥㊨↙↓↘◣㊦◢⇄⇅⇆⇤↩⇥❏❐◲〼▢▣⇦⇧⇨⇩⇪↶▸◂▴▾✁↷✍⏍ϟ📝✎✆☱☰☴⚿⛮⚙☲☯☵⛶☩☐☳☷☶💬🗨⟲ღ✈☂🎤🌐🔍"
912
+ unit :
913
+ name : 单位
914
+ type : SINGLE
915
+ keys : " ℃¥$€฿£㎡m³℉¥£¢₠¹²³⁴⁵ⁿ⁶⁷⁸⁹⁰ˣ⁺⁻⁼⁽⁾½⅓¼⅔¾₁₂₃₄₅ₙ₆₇₈₉₀ₓ₊₋₌₍₎℅"
916
+ list :
917
+ name : 列表
918
+ type : SINGLE
919
+ keys : " ①②③④⑤⑥⑦⑧⑨⑩⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩➊➋➌➍➎➏➐➑➒➓㊀㊁㊂㊃㊄㊅㊆㊇㊈㊉ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ"
920
+ pinyin :
921
+ name : 拼音
922
+ type : SINGLE
923
+ keys : " āáǎàōóēéěèǒòīíǐìūúǖǘǚǜǔùêüńňㄚㄛㄜㄧㄨㄩㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙ"
924
+ grease :
925
+ type : SINGLE
926
+ name : 希腊
927
+ keys : " ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψω"
928
+ rusa :
929
+ name : 俄语
930
+ type : SINGLE
931
+ keys : " АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя"
932
+ lation :
933
+ name : 拉丁
934
+ type : SINGLE
935
+ keys : " ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞŠŸŒàáâãäåæçèéêëìíîïðñòóõôöøùúûüýþšÿœ"
936
+ korea :
937
+ type : SINGLE
938
+ name : " 韩文"
939
+ keys : " dㅏㅑㅓㅕㅗㅛㅜㅠㅡㅣㅐㅒㅔㅖㅘㅙㅚㅝㅞㅟㅢㄱㄴㄷㄹㅁㅂㅅㅇㅈㅊㅋㅌㅍㅎㄲㄸㅚㅆㅉ㉠㉡㉢㉣㉤㉥㉦㉧㉨㉩㉪㉫㉬㉭㉮㉯㉰㉱㉲㉳㉴㉵㉶㉷㉸㉹㉺㉻㈀㈁㈂㈃㈄㈅㈆㈇㈈㈉㈊㈋㈌㈍㈎㈏㈐㈑㈒㈓㈔㈕㈖㈗㈘㈙㈚㈛"
940
+ yinbiao :
941
+ type : SINGLE
942
+ name : " 音标"
943
+ keys : ["a:", "ɔ:", "ɜː", "i:", "u:", "ʌ", "ɒ", "ə", "ɪ", "ʊ", "e", "æ", "eɪ", "aɪ", "ɔɪ", "ɪə", "eə", "ʊə", "əʊ", "aʊ", "p", "t", "k", "f", "θ", "s", "b", "d", "g", "v", "ð", "z", "ʃ", "h", "ts", "tʃ", "j", "tr", "ʒ", "r", "dz", "dʒ", "dr", "w", "m", "n", "ŋ", "l"]
944
+ ascii :
945
+ type : SINGLE
946
+ name : 英文
947
+ keys : " ,.?!:;/\\ |*-+=^$`'\" ^~@#%&()[]{}_"
948
+ ids :
949
+ type : SINGLE
950
+ name : IDS
951
+ keys : " ⿰⿱⿲⿳⿴⿵⿶⿷⿸⿹⿺⿻"
952
+ jp :
953
+ type : SINGLE
954
+ name : 假名
955
+ keys : " あいうえおかがきぎくぐけげこごさざしじすずせぜそぞただちぢつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろわをんアィイウェエオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロワヲン"
956
+
957
+
845
958
# 键盘布局
846
959
preset_keyboards :
847
960
default :
@@ -889,7 +1002,7 @@ preset_keyboards:
889
1002
- {click: ',', label: ',', long_click: '<>{Left}', key_back_color: bh4, key_text_color: th4}
890
1003
- {click: space, long_click: Mode_switch, swipe_left: "Left", swipe_right: "Right", swipe_up: Schema_switchcn, width: 30, key_back_color: bkg, key_text_color: tkg}
891
1004
- {click: '.', label: '。', long_click: Keyboard_kao, key_back_color: bh4, key_text_color: th4}
892
- - {click: space_R2, long_click: '?' , key_text_size: "18", key_back_color: bh4, key_text_color: th4}
1005
+ - {click: space_R2, long_click: liquid_keyboard_switch , key_text_size: "18", key_back_color: bh4, key_text_color: th4}
893
1006
- {click: Return, swipe_up: Escape, width: 15, key_back_color: benter, key_text_color: tenter}
894
1007
895
1008
letter :
@@ -938,7 +1051,7 @@ preset_keyboards:
938
1051
- {click: ',', label: ',', long_click: '<>{Left}', key_back_color: bh4, key_text_color: th4}
939
1052
- {label: '______', click: space, long_click: space_R2, swipe_left: "Left", swipe_right: "Right", swipe_up: Keyboard_fbj, width: 30, key_back_color: bkg, key_text_color: tkg}
940
1053
- {click: '.', label: '。', long_click: Keyboard_kao, key_back_color: bh4, key_text_color: th4}
941
- - {click: space_R2, long_click: '?' , key_text_size: "18", key_back_color: bh4, key_text_color: th4}
1054
+ - {click: space_R2, long_click: liquid_keyboard_switch , key_text_size: "18", key_back_color: bh4, key_text_color: th4}
942
1055
- {click: Return, swipe_up: Escape, width: 15, key_back_color: benter, key_text_color: tenter}
943
1056
944
1057
number :
@@ -3797,6 +3910,7 @@ preset_keys:
3797
3910
Henkan : {toggle: simplification, send: Mode_switch, states: [ 汉字, 汉字 ]}
3798
3911
Charset_switch : {toggle: extended_charset, send: Mode_switch, states: [ 常用, 增广 ]}
3799
3912
Punct_switch : {toggle: ascii_punct, send: Mode_switch, states: [ 。,, ., ]}
3913
+ liquid_keyboard_switch : { toggle: _liquid_keyboard, send: Mode_switch, states: [ 更多, 普通 ] }
3800
3914
# trime设置
3801
3915
IME_switch : {label: 🌐, send: LANGUAGE_SWITCH} # 彈出對話框選擇輸入法
3802
3916
IME_last : {label: 上一输入法, send: LANGUAGE_SWITCH, select: .last} # 直接切換到上一輸入法
0 commit comments