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

有谁了解 macOS 中的皮肤字段,欢迎补充 #5

Closed
KyleBing opened this issue Jun 19, 2019 · 1 comment
Closed

有谁了解 macOS 中的皮肤字段,欢迎补充 #5

KyleBing opened this issue Jun 19, 2019 · 1 comment
Labels
增强 待增强 待定 待定 需要帮助 需要帮助

Comments

@KyleBing
Copy link
Owner

KyleBing commented Jun 19, 2019

我想实现的皮肤效果如下,但目前如右

skin_design

目前我了解的有这些,但是找不到设置首选背景颜色的字段。

border_height: 5                          # 边距 - 面板上下
border_width: 5                           # 边距 - 面板左右
border_color: 0x8E8E93                    # 颜色 - 边框
back_color: 0xEFEFF4                      # 颜色 - 面板背景
label_color: 0x8E8E93                     # 颜色 - 候选序号
font_point: 18                            # 字体大小 - 候选
label_font_point: 18                      # 字体大小 - 候选序号
corner_radius: 5                          # 大小 - 圆角
horizontal: true                          # 是否横向 true 或 false
line_spacing: 10                          # horizental 为 false 时,上下候选的间隔大小
inline_preedit: true                      # 输入的编码是否直接写入编辑器中,如果为 false,未上屏的编码就会写在候选框中
spacing: 0                                # --- 未知
candidate_format: "%c %@ "                # 候选词格式,后面多个空格是为了增加候选词之间的距离
text_color: 0x000000                      # 颜色 - 输入中 - 文字
hilited_text_color: 0x8E8E93              # 颜色 - 输入中 - 编码
hilited_back_color: 0xEFEFF4              # 颜色 - 输入中 - 背景
hilited_candidate_text_color: 0xffffff    # 颜色 - 首选候选词 - 文字
hilited_candidate_back_color: 0x8E8E93    # 颜色 - 首选候选词 - 背景
hilited_candidate_label_color: 0xffffff   # 颜色 - 首选候选词 - 序号
candidate_text_color: 0x000000            # 颜色 - 其它候选词 - 文字
comment_text_color: 0x5AC461              # 颜色 - 其它候选词 - 提示编码
@KyleBing KyleBing added 增强 待增强 需要帮助 需要帮助 待定 待定 labels Jun 19, 2019
@KyleBing KyleBing pinned this issue Jun 20, 2019
@KyleBing KyleBing unpinned this issue Jun 21, 2019
@KyleBing KyleBing reopened this Jul 8, 2019
@meritozh
Copy link

hilited_candidate_back_color 就是

image

这里「测试」的蓝色就是通过这个字段设置的。注意格式是BGR,这个蓝色这里填写的是0xe16300

https://scomper.me/gtd/-shu-xu-guan-de-diao-jiao-bi-ji

@KyleBing KyleBing closed this as completed Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
增强 待增强 待定 待定 需要帮助 需要帮助
Projects
None yet
Development

No branches or pull requests

2 participants