Skip to documentation

Design system / Sources & standards

CreativeXHub design system

Sources & standards

Build-time source views, accepted architecture decisions and implementation and review guidance.

Repository source, refreshed on deployment

The documentation build reads an explicit allowlist of component, theme, ADR and skill files in _lib/repository.ts. Source routes render escaped file contents and reject unregistered paths. They expose no arbitrary-file endpoint, credentials, environment configuration or user data. ADRs establish policy; source views show current implementation, including documented exceptions.

Architecture decisions and implementation guidance

ADRs explain accepted decisions and their rationale. Development skills provide implementation and review checklists. Check the current source before applying either to an existing component; documented policy does not establish complete compliance across the repository.

ADR-0010 · shadcn and Tailwind baseline

How the shared UI foundation is adopted and maintained.

docs/decisions/ADR-0010-shadcn-and-tailwind-baseline-policy.md

ADR-0030 · Design tokens

Where raw values, semantic roles and utility mappings belong.

docs/decisions/ADR-0030-design-token-architecture-for-cxhub-base-theme.md

ADR-0031 · Components and product instances

How responsibility, ownership and product binding differ.

docs/decisions/ADR-0031-frontend-component-taxonomy-and-product-instances.md

ADR-0032 · Client behavior and state

When local state, a hook, Context or a store is justified.

docs/decisions/ADR-0032-client-behavior-and-state-escalation.md

ADR-0033 · Quality gates

What testing, UI verification and independent review a change requires.

docs/decisions/ADR-0033-risk-based-quality-gates-and-merge-policy.md

ADR-0034 · Fluid typography

How the responsive scale and semantic text roles work.

docs/decisions/ADR-0034-fluid-typography-scale-and-semantic-contract.md

ADR-0086 · Reading rhythms

How tight and loose line spacing compose with fluid text roles. Supersedes only ADR-0034's line-height prescription; values remain flexible theme details.

docs/decisions/ADR-0086-semantic-reading-rhythms.md

ADR-0036 · Tenant theme catalog

The supported console palettes and how they override semantic roles.

docs/decisions/ADR-0036-tenant-console-theme-catalog-and-overrides.md

ADR-0037 · Custom palette storage

Where a tenant's custom selection is stored and published.

docs/decisions/ADR-0037-tenant-custom-palette-storage-boundary.md

ADR-0038 · Custom palette derivation

How selected colors become the console's semantic palette.

docs/decisions/ADR-0038-custom-palette-semantic-token-derivation.md

ADR-0083 · Title-only drafts and UI readiness

Why a draft can start with a title, while Submit has UI completeness guidance. Its former per-field editing rules are superseded by ADR-0084.

docs/decisions/ADR-0083-title-only-drafts-and-ui-submit-readiness.md

ADR-0084 · Shared submission batch editing

How creation and editing share one form, save fields and attachments together, and protect unsaved changes.

docs/decisions/ADR-0084-submission-form-batch-editing.md

Development skills

Theme foundation

Component implementation

Current components and theme tokens. Fictional example data. Source views refresh on deployment; authors maintain contract notes.