在capsule-info.bxb
文件中,有两个键叫actionFgColor
和actionBgColor
,我不确定他们做了什么。如果有交互式元素或动作,这是否在应用程序中使用?或者它与Bixby市场中胶囊的外观有关?
示例代码
description {
displayName (Example)
companyName (Example, Inc.)
iconUrl (/images/icons/example.png)
description (Example allows you to see examples of things.)
websiteUrl (https://www.example.com)
termsUrl (https://www.example.com/TOS.html)
privacy-policy-url (https://www.example.com/privacy.html)
search-keywords{
keywords (Example)
}
dispatch-name (Example)
dispatch-aliases {
alias (Example Site)
}
actionBgColor (#BF2519) // what does this do?
actionFgColor (#FFFFFF) // what about this?
}
这是在确认按钮上呈现的(actionFgColor)和背景(actionBgColor)颜色的屏幕截图。您可以使用它为胶囊添加品牌颜色。
以下是有关文档中这些键的一些其他信息:
https://bixbydevelopers.com/dev/docs/reference/type/description.actionBgColor