Skip to content

Instantly share code, notes, and snippets.

@nameoverflow
Last active October 20, 2019 06:33
Show Gist options
  • Save nameoverflow/c226e9939dfd1e5a0d40226a50de8472 to your computer and use it in GitHub Desktop.
Save nameoverflow/c226e9939dfd1e5a0d40226a50de8472 to your computer and use it in GitHub Desktop.
小狼毫高仿 Win10 内置输入法
patch:
preset_color_schemes/metro:
back_color: 0xffffff
border_color: 0x444444
hilited_back_color: 0xffffff
hilited_candidate_back_color: 0x444444
hilited_candidate_text_color: 0xffffff
hilited_text_color: 0x000000
name: "metro"
text_color: 0x000000
style/layout/border: 2
style/layout/margin_x: 15
style/layout/margin_y: 15
style/layout/hilite_padding: 15
style/layout/hilite_spacing: 15
style/layout/spacing: 15
style/layout/candidate_spacing: 30
style/layout/round_corner: 0
style/corner_radius: 0
@lotem
Copy link

lotem commented Feb 28, 2018

觀感比較像
https://github.com/rime/squirrel/blob/master/data/squirrel.yaml#L120
可否改編後作爲 psionicspurity_of_form 添加到小狼毫?

@lotem
Copy link

lotem commented Feb 28, 2018

metro 也可以加上,但我覺得(藍色或紫色)+白色更能代表系統默認。

@nameoverflow
Copy link
Author

仿系统默认重点在 layout 设置,颜色只要 border_colorhilited_candidate_back_color 相同即可,如果要作为 preset 则需要小狼毫支持 preset_color_schemes 覆写 style/layout 了。

@duhd1993
Copy link

小狼毫不支持圆角吗,修改corner radius无效

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