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.mdADR-0030 · Design tokens
Where raw values, semantic roles and utility mappings belong.
docs/decisions/ADR-0030-design-token-architecture-for-cxhub-base-theme.mdADR-0031 · Components and product instances
How responsibility, ownership and product binding differ.
docs/decisions/ADR-0031-frontend-component-taxonomy-and-product-instances.mdADR-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.mdADR-0033 · Quality gates
What testing, UI verification and independent review a change requires.
docs/decisions/ADR-0033-risk-based-quality-gates-and-merge-policy.mdADR-0034 · Fluid typography
How the responsive scale and semantic text roles work.
docs/decisions/ADR-0034-fluid-typography-scale-and-semantic-contract.mdADR-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.mdADR-0036 · Tenant theme catalog
The supported console palettes and how they override semantic roles.
docs/decisions/ADR-0036-tenant-console-theme-catalog-and-overrides.mdADR-0037 · Custom palette storage
Where a tenant's custom selection is stored and published.
docs/decisions/ADR-0037-tenant-custom-palette-storage-boundary.mdADR-0038 · Custom palette derivation
How selected colors become the console's semantic palette.
docs/decisions/ADR-0038-custom-palette-semantic-token-derivation.mdADR-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.mdADR-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.mdDevelopment skills
Theme foundation
- src/theming/theme.css
- src/theming/tenantThemes.ts
- src/theming/customTheme.ts
- src/theming/colorMode.ts
- src/theming/primitives/colors.css
- src/theming/primitives/layout.css
- src/theming/primitives/motion.css
- src/theming/primitives/radii.css
- src/theming/primitives/shadows.css
- src/theming/primitives/spacing.css
- src/theming/primitives/typography.css
- src/theming/primitives/z-index.css
- src/theming/semantics/borders.css
- src/theming/semantics/charts.css
- src/theming/semantics/colorMode.css
- src/theming/semantics/core.css
- src/theming/semantics/elevation.css
- src/theming/semantics/feedback.css
- src/theming/semantics/focus.css
- src/theming/semantics/layout.css
- src/theming/semantics/navigation.css
- src/theming/semantics/showcase.css
- src/theming/semantics/sidebar.css
- src/theming/semantics/states.css
- src/theming/semantics/submissionCollection.css
- src/theming/semantics/surfaces.css
- src/theming/semantics/text.css
- src/theming/semantics/typography.css
- src/theming/utilities/generated.css
- src/theming/elevation.ts
Component implementation
- src/components/ui/accordion.tsx
- src/components/ui/alert-dialog.tsx
- src/components/ui/alert.tsx
- src/components/ui/avatar.tsx
- src/components/ui/badge.tsx
- src/components/ui/basic-markdown.tsx
- src/components/ui/breadcrumb.tsx
- src/components/ui/button.tsx
- src/components/ui/card.tsx
- src/components/ui/carousel.tsx
- src/components/ui/checkbox.tsx
- src/components/ui/command.tsx
- src/components/ui/dialog.tsx
- src/components/ui/dropdownMenu.tsx
- src/components/ui/empty-state-card.tsx
- src/components/ui/field-label.tsx
- src/components/ui/form.tsx
- src/components/ui/guidanceCard.tsx
- src/components/ui/inline-editable-field.tsx
- src/components/ui/inlineEditTrigger.tsx
- src/components/ui/input.tsx
- src/components/ui/label.tsx
- src/components/ui/markdown-textarea.tsx
- src/components/ui/pagination.tsx
- src/components/ui/popover.tsx
- src/components/ui/progress.tsx
- src/components/ui/radio-group.tsx
- src/components/ui/scroll-area.tsx
- src/components/ui/select.tsx
- src/components/ui/separator.tsx
- src/components/ui/sheet.tsx
- src/components/ui/sidebar.tsx
- src/components/ui/skeleton.tsx
- src/components/ui/sonner.tsx
- src/components/ui/switch.tsx
- src/components/ui/table.tsx
- src/components/ui/tabs.tsx
- src/components/ui/text.tsx
- src/components/ui/textarea.tsx
- src/components/ui/toggle-group.tsx
- src/components/ui/toggle.tsx
- src/components/ui/tooltip.tsx
- src/components/submissions/submissionFacts.tsx
- src/components/carousel/contentCarousel.tsx
- src/components/submissions/showcaseImageItem.tsx
- src/components/submissions/showcaseVideoItem.tsx
- src/components/submissions/showcaseOtherItem.tsx
- src/components/catalogue/catalogueHomeCard.tsx
- src/components/navigation/breadcrumbTrail.tsx
- src/components/navigation/authButton.tsx
- src/components/submissions/submissionTile.tsx
- src/components/submissions/submissionCard.tsx
- src/app/(tenants)/console/[tenantCode]/admin/programs/[programCode]/editions/[editionCode]/review-rounds/components/roundReviewLink.tsx
- src/app/(tenants)/console/[tenantCode]/admin/programs/[programCode]/editions/[editionCode]/review-rounds/components/roundStatsStrip.tsx
- src/app/(tenants)/console/[tenantCode]/admin/programs/[programCode]/editions/[editionCode]/review-rounds/components/roundListItem.tsx
- src/components/members/member-invitation-field.tsx
- src/components/members/memberCounts.tsx
- src/components/members/member-filters.tsx
- src/components/members/member-pagination.tsx
- src/components/members/member-list.tsx
- src/components/members/member-card.tsx
- src/app/(tenants)/console/[tenantCode]/admin/programs/[programCode]/editions/[editionCode]/review-rounds/components/reviewer-member-actions.tsx
- src/app/(tenants)/console/[tenantCode]/admin/programs/[programCode]/editions/[editionCode]/review-rounds/components/reviewer-category-assigner.tsx
- src/components/showcase/contentShowcase.tsx
- src/components/carousel/contentCarouselDialog.tsx
- src/components/showcase/useContentShowcase.ts
- src/components/showcase/showcaseGrid.tsx
- src/components/navigation/appShell.tsx
- src/components/colorMode/colorModeProvider.tsx
- src/components/colorMode/useColorMode.ts
- src/components/colorMode/colorModeMenuItems.tsx
- src/components/navigation/viewportNoticeFrame.tsx
- src/components/navigation/useViewportNoticeFrame.ts
- src/components/navigation/topNav.tsx
- src/components/navigation/section-navigation.tsx
- src/components/navigation/instances/documentation-navigation.tsx
- src/components/navigation/instances/public-shell.tsx
- src/components/navigation/instances/public-navigation.tsx
- src/components/navigation/nav-link-styles.ts
- src/components/editorial/content-heading.tsx
- src/components/editorial/hero-layout.tsx
- src/components/editorial/imageCtaBanner.tsx
- src/components/editorial/stat-strip.tsx
- src/components/editorial/link-directory.tsx
- src/components/editorial/decision-list.tsx
- src/components/editorial/specimen-board.tsx
- src/components/editorial/content-cards.tsx
- src/components/editorial/quiet-note.tsx
- src/components/editorial/theme-artboard.tsx
- src/components/editorial/instances/documentation-hero.tsx
- src/components/editorial/instances/documentation-summary.tsx
- src/components/editorial/instances/documentation-directory.tsx
- src/components/editorial/instances/documentation-molecule-catalog.tsx
- src/components/navigation/instances/consoleShell.tsx
- src/components/editions/overviewEditableField.tsx
- src/components/editions/overviewCards.tsx
- src/components/editions/editionCard.tsx
- src/components/editions/instances/editionSummaryCard.tsx
- src/components/reviews/reviewAssignmentOverview.tsx
- src/components/reviews/editionReviewWorklist.tsx
- src/components/reviews/editionReviewForm.tsx
- src/components/reviews/reviewDrawer.tsx
- src/components/submissions/submissionForm.tsx
- src/components/submissions/instances/edit-submission-form.tsx
- src/components/submissions/instances/editEditionSubmissionForm.tsx
- src/components/submissions/use-edit-submission.ts
- src/components/submissions/useSubmissionForm.ts
- src/components/submissions/useSubmissionUnsavedChanges.ts
- src/components/review-rounds/sortableRoundList.tsx
- src/components/members/memberManager.tsx
- src/components/members/memberDirectorySheet.tsx
- src/components/members/useMemberDirectoryFocus.ts
- src/components/members/member-directory-model.ts
- src/components/members/use-member-directory.ts
- src/components/members/use-member-layout.ts
- src/components/members/types.ts