• Preparing search index...
  • The search index is not available
@honua/sdk-js
  • @honua/sdk-js
  • runtime
  • applyTheme

Function applyTheme

  • applyTheme(style, theme): HonuaStyleSpecification
  • Substitute {theme:key} placeholders in string paint/layout values with the corresponding theme token. Values that resolve to nothing are left untouched so authors can spot missing tokens at review time.

    Parameters

    • style: HonuaStyleSpecification
    • theme: HonuaMapPackageThemeSpec

    Returns HonuaStyleSpecification

    • Defined in work/honua-sdk-js/honua-sdk-js/src/runtime/style-compose.ts:102

Settings

Member Visibility
@honua/sdk-js
  • Loading...

Generated using TypeDoc