@braevi/theme-contracts
v0.1.0
Published
Versioned Braevi theme schemas, manifests, validation, and migrations
Readme
@braevi/theme-contracts
Versioned schemas, canonical JSON helpers, component manifests, and validators for Braevi declarative storefront themes.
This package is the source of truth for the first release theme document shape. It contains no React, Prisma, Puck, API client, secrets, or application code.
Compatibility
- Theme schema version:
1 - Artifact format version:
1 - Minimum Braevi runtime:
2026.9 - First release theme type:
braevi-essential - Theme CSS artifact version:
1
External React sections, arbitrary HTML, JavaScript, Liquid, unrestricted CSS, and remote server-side fetch instructions are not part of this release.
The first release supports typed design tokens and optional processed CSS. CSS is scoped to [data-braevi-theme-root], validated against selector/declaration/URL limits, hashed for cache busting, and revalidated during hosted import. Local asset URLs are allowed in braevi theme dev; hosted imports require Braevi-managed asset placeholders after the merchant asset pipeline resolves them.
