Skip to content

Variable: BrandColorsSchema

const BrandColorsSchema: ZodPrefault<ZodObject<{ accent: ZodDefault<ZodString>; background: ZodDefault<ZodString>; border: ZodDefault<ZodString>; foreground: ZodDefault<ZodString>; muted: ZodDefault<ZodString>; primary: ZodDefault<ZodString>; primaryHover: ZodDefault<ZodString>; surface: ZodDefault<ZodString>; }, $strict>>

Strict brand palette whose omitted colors resolve to the dbx tools defaults.

  • primary (optional): Primary action and identity color.
  • primaryHover (optional): Primary hover or pressed color.
  • accent (optional): Secondary accent color.
  • foreground (optional): Default text and mark color.
  • background (optional): Default page background.
  • surface (optional): Secondary surface background.
  • muted (optional): Muted text color.
  • border (optional): Default border color.