Closed sfufoet closed 11 years ago
@sfufoet:
这个问题的本质是 rime / Squirrel 的配置文件中将颜色值都作为字符串处理,而我的配置工具中读到 0xffffff 这样的值会将其看作数字,所以最简单的解决方案是在你的 squirrel.custom.yaml 文件中将自定义配色方案里的颜色值都用引号括起来强制为字符串。
UPDATE: 另一个 workaround 见下佛振大大的说明。
RGBA(, , *, 0) 是全透明,RGB(0, 0, 0) 是黑色,相當於 RGBA(0, 0, 0, 255)。如果用數值,則不透明色最高位的 0xff 不能省略。
我的皮肤代码
文件是 squirrel.custom.yaml
代码如下
weasel.custom.yaml
patch: style/horizontal: true # 候選橫排
该死的 Markdown 语法。。。你懂的。