actionFgColor和actionBgColor做什么?

问题描述 投票:1回答:1

capsule-info.bxb文件中,有两个键叫actionFgColoractionBgColor,我不确定他们做了什么。如果有交互式元素或动作,这是否在应用程序中使用?或者它与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?
}
bixby
1个回答
3
投票

usage of actionFgColor and actionBgColor

这是在确认按钮上呈现的(actionFgColor)和背景(actionBgColor)颜色的屏幕截图。您可以使用它为胶囊添加品牌颜色。

以下是有关文档中这些键的一些其他信息:

https://bixbydevelopers.com/dev/docs/dev-guide/release-notes/bixby-studio.2018-Q2-Bixby-Studio-Release-Notes

https://bixbydevelopers.com/dev/docs/reference/type/description.actionBgColor

© www.soinside.com 2019 - 2024. All rights reserved.