Skip to content

Type Alias: BrandContext

BrandContext = brandUtils.BrandContext

Validated brand context consumed by dbx-tools presentation packages.

Portable identity, visual, and voice context for UI, libraries, and LLMs.

  • name (optional): Canonical display name.
  • shortName (optional): Compact name for constrained UI.
  • tagline (optional): Short product line suitable for a header or metadata.
  • description (optional): Plain-language product description.
  • assets.icon (optional): Theme-aware references to one visual asset.
  • assets.icon.light: Asset for light surfaces.
  • assets.icon.dark (optional): Asset for dark surfaces; light is the fallback.
  • assets.logo (optional): Theme-aware references to one visual asset.
  • assets.logo.light: Asset for light surfaces.
  • assets.logo.dark (optional): Asset for dark surfaces; light is the fallback.
  • colors.primary (optional): Primary action and identity color.
  • colors.primaryHover (optional): Primary hover or pressed color.
  • colors.accent (optional): Secondary accent color.
  • colors.foreground (optional): Default text and mark color.
  • colors.background (optional): Default page background.
  • colors.surface (optional): Secondary surface background.
  • colors.muted (optional): Muted text color.
  • colors.border (optional): Default border color.
  • extensions (optional): Namespaced consumer-specific values that do not belong in the portable core.