MARS Developer ReferenceBuild against the current Theme contract.

Compatibility and capability claims

Required dependencies, optional enhancements and sparse data.

Readiness is evaluated locally

The installed Theme validator reports compatible, warning or blocked. It checks the MARS constraint, required views, declared assets, required modules and extension contracts. Invalid inactive manifests are isolated during discovery and reported by CLI.

requirements.modules names enabled modules needed for safe rendering. Missing required modules block activation. enhancements.modules names optional features; missing ones warn and require a graceful presentation fallback.

requirements.locales describes designed and tested locales. An enabled site locale outside that list warns. An undeclared RTL claim also warns. These declarations do not erase content or grant authorization.

Capabilities are prepared facts

Modules declare available presentation capabilities. Themes declare the features they support. Core prepares their intersection with a versioned contract. Blade should consume the prepared capabilities array; it must not query module state.

Optional views follow the owning module's fallback contract. Declaring a capability does not create checkout, booking, student progress or a customer account service.

Sparse content is normal

Missing Media, excerpt, featured selection or unassigned menus must not become demo filler in a customer site. Long titles must wrap. Empty archives and 404s must remain understandable.

A demo pack demonstrates a good use of a Theme. It is outside compatibility and outside the installation package. Removing it must not break Theme activation. Use both the neutral switching fixture and the curated pack in QA; they answer different questions.

Read preview and activation before accepting a compatibility result as permission to switch.