Skip to content

Commit

Permalink
tag v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nopdan committed Mar 18, 2021
1 parent b87cccb commit 9c0b516
Show file tree
Hide file tree
Showing 15 changed files with 635 additions and 295 deletions.
Binary file added backgrounds/xingaqr.cherry/hilited_key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added backgrounds/xingaqr.cherry/hilited_shift.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added backgrounds/xingaqr.cherry/hilited_space.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added backgrounds/xingaqr.cherry/key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added backgrounds/xingaqr.cherry/shift.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added backgrounds/xingaqr.cherry/space.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
90 changes: 76 additions & 14 deletions xingaqr.yaml

Large diffs are not rendered by default.

46 changes: 33 additions & 13 deletions 主题说明.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
!单静主题时隔两年再次更新
!简单、干净、优雅
主题版本:2.0
!简单、干净
!主文件 单静.trime.yaml
!附文件 xingaqr.yaml 符号键盘
!图片模板在 单静2.0压缩包里
主题版本:2.1
作者:单单 <xingaqr@gmail.com>

更新说明:
2021-01-13:
> 移动 符号键盘按键高度sym_height 至 单静.trime.yaml
> 优化fallback_colors
> 修复编辑键盘 Del 错误
+ 新增附属主题 单静h ,支持36,37,40布局
+ 新增附属主题 单静·cherry ,机械键盘风格
+ 符号键盘底部空白开关sym_bottom_switch,高度sym_bottom
+ 数字键盘底部空白开关number_bottom_switch,高度number_bottom
+ 新增符号键盘 (高亮)功能键文字 (hilited_)sym_text_color
+ 新增符号键盘翻页止箭头颜色off_sym_fy_text_color

2021-01-10:
> 完全重写的主题
> 优化主题结构(规范命名,见其名知其义,
Expand All @@ -21,30 +34,37 @@
7. "enter键" 长按进入功能键盘,可以临时切换键盘布局(怎么设为默认布局?见:FAQ)

FAQ:
1.怎么设置26键(或者其他布局)为默认布局呢
1. 怎么设置26键(或者其他布局)为默认布局

打开 单静.trime.yaml, 定位到370行
在对应的主题文件中搜索preset_keyboards,找到如下字段
preset_keyboards:
__include: xingaqr:/kbs

像下面这样添加一段代码
preset_keyboards:
__include: xingaqr:/kbs
<你的方案id>:
__include: /preset_keyboards/<你想设置的布局>
删掉尖括号哦
__include: /preset_keyboards/<布局id>
删掉尖括号,布局id 26键:default,27键:qwertys,26键:qwerty_

2.怎么修改键盘高度?
2. 怎么修改键盘高度?
!底部空白的高度优先修改,默认只开启主键盘的底部空白

2.1 怎么修改 单静 键盘高度?
(为了确保不同布局高度一致,请按照修改顺序进行修改)
键盘高度的定义在 单静.trime.yaml 里的第349行
键盘高度的定义在 单静.trime.yaml 里的第 8 行
符号键盘菜单高度定义在 xingaqr.yaml 里的第 9 行
修改顺序:
number_height #数字键盘按键高度
sym_height #符号键盘按键高度
menu_height #符号键盘菜单高度 #微调
key_height #按键高度
key_height_last # 第4行 按键高度 #微调
height_bottom #底部抬高 #微调

符号键盘高度定义在 xingaqr.yaml 里的第175行
2.2 怎么修改 单静h 键盘高度?
(主键盘的参数都在 单静.trime.yaml 里设置,下面的在单静h里设置)
修改顺序:
sym_height #按键高度
menu_height #菜单高度 #微调
先修改number_height和sym_height高度,
使数字键盘和符号键盘高度一致,
再修改num_height进行微调

Loading

0 comments on commit 9c0b516

Please sign in to comment.