actionFgColor 和 actionBgColor 有什么作用?
What do actionFgColor and actionBgColor do?
在 capsule-info.bxb
文件中,有两个名为 actionFgColor
和 actionBgColor
的键,我不确定它们的作用。如果有交互元素或操作,是否在应用程序内部使用?还是与胶囊出现在Bixby Marketplace有关?
示例代码
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
在 capsule-info.bxb
文件中,有两个名为 actionFgColor
和 actionBgColor
的键,我不确定它们的作用。如果有交互元素或操作,是否在应用程序内部使用?还是与胶囊出现在Bixby Marketplace有关?
示例代码
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