Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提供一版更好的win10主题 #22

Open
phyzhenli opened this issue Jul 23, 2020 · 2 comments
Open

提供一版更好的win10主题 #22

phyzhenli opened this issue Jul 23, 2020 · 2 comments

Comments

@phyzhenli
Copy link

phyzhenli commented Jul 23, 2020

patch:

"style/horizontal": true #横排显示

"style/font_face": "Microsoft YaHei" #字体
"style/font_point": 14 #字体大小 感觉整个框的大小和字体绑定,14的字体13的框,边框宽度1或者0,argin_x和argin_y最大13,色块高度最大13
"style/inline_preedit": true #嵌入式候选窗单行显示

"style/layout/border_width": 1 #边框宽度
"style/layout/border": 0
"style/layout/margin_x": 13 #字起始距左边距离
"style/layout/margin_y": 13 #字上下边距
"style/layout/hilite_padding": 12 #候选字背景色色块高度 若想候选字背景色块无边界填充候选框,仅需其高度和候选字上下边距一致即可
"style/layout/hilite_spacing": 12 #序号和候选字之间的间隔

"style/layout/candidate_spacing": 23 #候选字间隔
"style/layout/round_corner": 0 #候选字背景色块圆角幅度

"style/label_format": "%s" #取消字号和字之间的.
"style/layout/min_width": 160
"style/layout/min_height": 0

"style/color_scheme": Microsoft

preset_color_schemes:

"Microsoft":
  name: "Microsoft"
  back_color: 0xf4f4f4 #背景色
  border_color: 0xdcdcdc #边框色

  hilited_candidate_text_color: 0x000000 #已选字颜色 纯黑
  hilited_candidate_back_color: 0xffd8a6 #已选字背景色
  candidate_text_color: 0x000000 #候选字颜色 纯黑
  
  label_color: 0x656565 #候选字的数字颜色
  hilited_label_color: 0x665645 #已选字的数字的颜色

  comment_text_color: 0x000000 #所有[全角]、[半角]等提示文字颜色
@wongdean
Copy link
Owner

wongdean commented Aug 22, 2020

多谢哈,有空我会加进去,主要没办法测试,这个issue就不关闭啦,有心人自己试试好了

@Eason0210
Copy link

这个主题很好看,和Win10 的差不多了,多谢分享。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants