Foundation Theme
Package docs status
Section titled “Package docs status”This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.
| Field | Value |
|---|---|
| Composer package | capell-app/theme-foundation |
| Package slug | theme-foundation |
| Product group | Capell Themes |
| Tier | free |
| Bundle | themes |
| Runtime contexts | admin, frontend |
| Capell version | ^1.0 |
| Catalogue role | extension |
| Release channel | Released |
| Source repository | capell-app/packages |
| Source path | packages/theme-foundation |
| Docs source | packages/theme-foundation/docs |
| Manifest | capell.json |
What This Plugin Adds
Section titled “What This Plugin Adds”Foundation Theme is an Available, No schema impact Capell theme in the Capell Themes product group. It ships as capell-app/theme-foundation and extends these surfaces: admin, frontend.
Theme Foundation provides the shared public layouts, runtime design tokens, layout defaults, and override contracts used by Capell themes. It renders host-owned page data and does not introduce a separate content model.
Sites can use Foundation directly or extend it with a child theme, while public pages share predictable layout and token rendering without frontend authoring state.
Status details:
- Status: Available
- Tier: free
- Bundle: themes
- Composer package:
capell-app/theme-foundation - Namespace:
Capell\FoundationTheme - Theme key:
default
Why It Matters
Section titled “Why It Matters”For developers: The package centralizes theme registration, token resolution, layout defaults, and public-output safety contracts for the theme fleet.
For teams: Teams get a consistent baseline for site chrome, layout behavior, and design settings across Capell themes.
Screens And Workflow
Section titled “Screens And Workflow”Screenshot contract: docs/screenshots.json.


Desktop, tablet, and mobile variants remain defined in the screenshot contract; this list groups them by workflow.
- Foundation Homepage (frontend, supplementary evidence).
- Foundation Directory (frontend, required evidence).
- Foundation Detail Article (frontend, required evidence).
- Foundation Contact (frontend, required evidence).
- Foundation Empty State (frontend, required evidence).
- Foundation Page Not Found (frontend, required evidence).
- Foundation Call To Action (frontend, required evidence).
- Foundation Chrome Homepage (frontend, required evidence).
Technical Shape
Section titled “Technical Shape”Service providers
Section titled “Service providers”Capell\FoundationTheme\Providers\FoundationThemeServiceProviderCapell\FoundationTheme\Providers\ConsoleServiceProviderFoundationThemeSiteSpecServiceProvider
Config files
Section titled “Config files”packages/theme-foundation/config/capell-theme-foundation.php
Settings migrations
Section titled “Settings migrations”packages/theme-foundation/database/settings/2026_05_10_190850_01_create_theme_foundation_settings.phppackages/theme-foundation/database/settings/2026_05_23_160819_add_theme_foundation_design_tokens.phppackages/theme-foundation/database/settings/2026_05_23_161002_refresh_theme_foundation_design_token_defaults.phppackages/theme-foundation/database/settings/2026_05_23_170001_add_theme_foundation_composition_tokens.phppackages/theme-foundation/database/settings/2026_05_23_171201_quiet_theme_foundation_composition_palette.phppackages/theme-foundation/database/settings/2026_05_23_180101_add_theme_foundation_image_tokens.phppackages/theme-foundation/database/settings/2026_06_07_000001_add_theme_foundation_dark_design_tokens.phppackages/theme-foundation/database/settings/2026_06_07_000002_add_theme_foundation_typography_tokens.phppackages/theme-foundation/database/settings/2026_07_05_000001_add_theme_foundation_motion_tokens.phppackages/theme-foundation/database/settings/2026_07_14_210000_refresh_theme_foundation_capell_palette.phppackages/theme-foundation/database/settings/2026_07_15_210000_add_theme_foundation_responsive_repeatable_layout.php
Settings classes
Section titled “Settings classes”FoundationThemeSettingsFoundationThemeSettingsMigrationProvider
Filament classes
Section titled “Filament classes”AuthMenuWidgetFoundationLayoutContainerSchemaExtenderSectionVariantSchemaExtenderFoundationThemeSettingsSchema
Livewire components
Section titled “Livewire components”AbstractAssetsPageAssetsAbstractWidgetPages
Extension contracts
Section titled “Extension contracts”CompiledThemeReceiptSigningAuthorityDesignSpecMigrationReaderInstallsThemeDemoOptionalExtensionAvailabilityProvidesThemeDemoContentResultsListingResolver
Listeners
Section titled “Listeners”RunTailwindAssetsOnPackageChange
Actions
Section titled “Actions”BuildAssetBannerItemsActionBuildBannerImageRenderDataActionBuildFooterLatestPageLinksActionBuildHeroRailItemsRenderDataActionBuildLayoutNeighborLinksDataActionBuildPageContentRenderDataActionBuildThemeDemoFormSectionActionBuildThemeDemoFormsPayloadActionBuildWidgetAssetRenderDataActionBuildCompiledThemeDistributionActionCanonicalizeDesignSpecActionCompileFoundationThemeArtifactActionReadDesignSpecActionRenderFoundationDesignTokensActionValidateCompiledThemeArtifactActionValidateCompiledThemeDistributionActionValidateDesignSpecActionGenerateThemeScaffoldActionHasThemeIntegrationEvidenceActionInstallFoundationThemeDemoActionInstallFoundationThemeLayoutDefaultsActionMarkPrimaryHeadingRenderedActionPrepareFoundationPageWidgetDataActionResolveAuthMenuPayloadsActionResolveFoundationSectionAnchorActionResolveFoundationThemeTokensActionResolveLoadedLayoutContainerBackgroundImageActionResolveLoadedWidgetBackgroundImageActionResolveNewsletterFormDataActionResolveResultsArchiveUrlActionResolveResultsListingActionResolveSafeCssColorTokenActionResolveThemeFormEmbedDataActionResolveThemeFrontendScriptDataActionResolveThemeOptionalSectionAvailabilityActionResolveWidgetBackgroundImageUrlActionSetupFoundationThemePackageActionValidateThemeCatalogueEntryActionWidgetIsSlotAction
Data objects
Section titled “Data objects”AssetBannerItemDataAuthMenuInputDataAuthMenuRenderDataBannerImageRenderDataCanonicalDesignSpecDataCompiledThemeArtifactDataCompiledThemeDistributionDataCompiledThemeDistributionFileDataCompiledThemeDistributionReceiptDataCompiledThemeFileDataDesignSpecAccessibilityDataDesignSpecAssetDataDesignSpecBrandDataDesignSpecColorModeDataDesignSpecComponentsDataDesignSpecDataDesignSpecDisplayDataDesignSpecLayoutDataDesignSpecLocaleDataDesignSpecLocaleTypographyDataDesignSpecPaletteDataDesignSpecSiteDataDesignSpecTypographyDataDesignSpecTypographyRoleDataFooterLatestPageLinkDataFoundationLayoutContainerPresentationDataFoundationPreparedPageDataFoundationThemeTokensDataLayoutNeighborLinksDataNewsletterFormDataPageContentRenderDataResultsListingDataThemeDemoInstallDataThemeFormEmbedDataThemeFrontendScriptDataThemeScaffoldRequestDataThemeValidationResultDataWidgetAssetRenderData
Command signatures
Section titled “Command signatures”capell:frontend-tailwind-assetscapell:make-foundation-themecapell:theme-catalogue-reportcapell:theme-foundation-democapell:theme-foundation-setupcapell:validate-themes
Manifest action API
Section titled “Manifest action API”demo: Capell\FoundationTheme\Actions\InstallFoundationThemeDemoActionsetup: Capell\FoundationTheme\Actions\SetupFoundationThemePackageAction
Console command classes
Section titled “Console command classes”DemoCommandGenerateTailwindAssetsCommandMakeFoundationThemeCommandSetupCommandThemeCatalogueReportCommandValidateThemesCommand
Manifest contributions
Section titled “Manifest contributions”console-command: Capell\FoundationTheme\Manifest\FoundationThemeConsoleCommandsContribution
Health checks
Section titled “Health checks”Capell\FoundationTheme\Health\FoundationThemeHealthCheck
Blade views
Section titled “Blade views”packages/theme-foundation/resources/views/app.blade.phppackages/theme-foundation/resources/views/block/wrapper.blade.phppackages/theme-foundation/resources/views/components/actions/index.blade.phppackages/theme-foundation/resources/views/components/app/body.blade.phppackages/theme-foundation/resources/views/components/app/head/custom.blade.phppackages/theme-foundation/resources/views/components/app/head/tokens.blade.phppackages/theme-foundation/resources/views/components/badge.blade.phppackages/theme-foundation/resources/views/components/block/wrapper.blade.phppackages/theme-foundation/resources/views/components/button/index.blade.phppackages/theme-foundation/resources/views/components/content.blade.phppackages/theme-foundation/resources/views/components/demo/contact-page.blade.phppackages/theme-foundation/resources/views/components/display/art-directed-picture.blade.phppackages/theme-foundation/resources/views/components/display/byline-with-metadata.blade.phppackages/theme-foundation/resources/views/components/display/card-frame-wrapper.blade.phppackages/theme-foundation/resources/views/components/display/count-up-stat.blade.phppackages/theme-foundation/resources/views/components/display/hover-video-poster.blade.phppackages/theme-foundation/resources/views/components/display/map-link.blade.phppackages/theme-foundation/resources/views/components/display/photo-treatment-filter.blade.phppackages/theme-foundation/resources/views/components/display/responsive-table-to-cards.blade.phppackages/theme-foundation/resources/views/components/display/timestamp-metadata-block.blade.phppackages/theme-foundation/resources/views/components/dropdown/index.blade.phppackages/theme-foundation/resources/views/components/dropdown/link.blade.phppackages/theme-foundation/resources/views/components/footer/index.blade.phppackages/theme-foundation/resources/views/components/footer/latest-pages.blade.phppackages/theme-foundation/resources/views/components/footer/menu.blade.phppackages/theme-foundation/resources/views/components/footer/related-sites.blade.phppackages/theme-foundation/resources/views/components/footer/site-info.blade.phppackages/theme-foundation/resources/views/components/footer/social-links.blade.phppackages/theme-foundation/resources/views/components/footer/sub-footer.blade.phppackages/theme-foundation/resources/views/components/header/index.blade.phppackages/theme-foundation/resources/views/components/header/menu/dropdown.blade.phppackages/theme-foundation/resources/views/components/header/menu/item.blade.phppackages/theme-foundation/resources/views/components/header/menu/languages-dropdown.blade.phppackages/theme-foundation/resources/views/components/heading/index.blade.phppackages/theme-foundation/resources/views/components/heading/subheading.blade.phppackages/theme-foundation/resources/views/components/icon/index.blade.phppackages/theme-foundation/resources/views/components/icon/spinner.blade.phppackages/theme-foundation/resources/views/components/languages.blade.phppackages/theme-foundation/resources/views/components/layout/area.blade.phppackages/theme-foundation/resources/views/components/layout/container.blade.phppackages/theme-foundation/resources/views/components/layout/index.blade.phppackages/theme-foundation/resources/views/components/layout/main.blade.phppackages/theme-foundation/resources/views/components/layout/widget.blade.phppackages/theme-foundation/resources/views/components/lightbox.blade.phppackages/theme-foundation/resources/views/components/list/index.blade.phppackages/theme-foundation/resources/views/components/list/item.blade.phppackages/theme-foundation/resources/views/components/list/list-item.blade.phppackages/theme-foundation/resources/views/components/logo/index.blade.phppackages/theme-foundation/resources/views/components/logo/title.blade.phppackages/theme-foundation/resources/views/components/media/background.blade.phppackages/theme-foundation/resources/views/components/media/svg.blade.phppackages/theme-foundation/resources/views/components/no-results.blade.phppackages/theme-foundation/resources/views/components/pagination/hero-summary.blade.phppackages/theme-foundation/resources/views/components/section/repeatable-carousel.blade.phppackages/theme-foundation/resources/views/components/section/team-member.blade.phppackages/theme-foundation/resources/views/components/section/widget.blade.phppackages/theme-foundation/resources/views/components/structured-data.blade.phppackages/theme-foundation/resources/views/components/theme/page-shell.blade.phppackages/theme-foundation/resources/views/components/widget/announcement-bar.blade.phppackages/theme-foundation/resources/views/components/widget/asset/accordion.blade.phppackages/theme-foundation/resources/views/components/widget/asset/banners.blade.phppackages/theme-foundation/resources/views/components/widget/asset/carousel.blade.phppackages/theme-foundation/resources/views/components/widget/asset/extended-background.blade.phppackages/theme-foundation/resources/views/components/widget/asset/feature-item.blade.phppackages/theme-foundation/resources/views/components/widget/asset/features.blade.phppackages/theme-foundation/resources/views/components/widget/asset/index.blade.phppackages/theme-foundation/resources/views/components/widget/asset/media.blade.phppackages/theme-foundation/resources/views/components/widget/asset/pages.blade.phppackages/theme-foundation/resources/views/components/widget/asset/testimonials.blade.phppackages/theme-foundation/resources/views/components/widget/asset/widgets.blade.phppackages/theme-foundation/resources/views/components/widget/banner-image.blade.phppackages/theme-foundation/resources/views/components/widget/default.blade.phppackages/theme-foundation/resources/views/components/widget/foundation-section.blade.phppackages/theme-foundation/resources/views/components/widget/hero.blade.phppackages/theme-foundation/resources/views/components/widget/kitchen-sink/reference.blade.phppackages/theme-foundation/resources/views/components/widget/modern/alternating-content.blade.phppackages/theme-foundation/resources/views/components/widget/modern/card-grid.blade.phppackages/theme-foundation/resources/views/components/widget/modern/cta-section.blade.phppackages/theme-foundation/resources/views/components/widget/modern/faq-section.blade.phppackages/theme-foundation/resources/views/components/widget/modern/feature-list.blade.phppackages/theme-foundation/resources/views/components/widget/modern/hero-banner.blade.phppackages/theme-foundation/resources/views/components/widget/modern/image-gallery.blade.phppackages/theme-foundation/resources/views/components/widget/modern/pricing-table.blade.phppackages/theme-foundation/resources/views/components/widget/modern/process-steps.blade.phppackages/theme-foundation/resources/views/components/widget/modern/stats-section.blade.phppackages/theme-foundation/resources/views/components/widget/modern/team-members.blade.phppackages/theme-foundation/resources/views/components/widget/modern/testimonials.blade.phppackages/theme-foundation/resources/views/components/widget/navigation/index.blade.phppackages/theme-foundation/resources/views/components/widget/navigation/tabs.blade.phppackages/theme-foundation/resources/views/components/widget/page/breadcrumbs.blade.phppackages/theme-foundation/resources/views/components/widget/page/content.blade.phppackages/theme-foundation/resources/views/components/widget/slot.blade.phppackages/theme-foundation/resources/views/components/widget/snippet.blade.phppackages/theme-foundation/resources/views/components/widget/wrapper.blade.phppackages/theme-foundation/resources/views/forms/embed.blade.phppackages/theme-foundation/resources/views/forms/newsletter.blade.phppackages/theme-foundation/resources/views/theme/chrome/footer.blade.phppackages/theme-foundation/resources/views/theme/chrome/navigation.blade.phppackages/theme-foundation/resources/views/theme/page.blade.phppackages/theme-foundation/resources/views/theme/partials/mobile-navigation.blade.phppackages/theme-foundation/resources/views/theme/sections/changelog-stream--grid.blade.phppackages/theme-foundation/resources/views/theme/sections/changelog-stream.blade.phppackages/theme-foundation/resources/views/theme/sections/contact-split.blade.phppackages/theme-foundation/resources/views/theme/sections/content-listing--grid.blade.phppackages/theme-foundation/resources/views/theme/sections/content-listing--masonry-safe.blade.phppackages/theme-foundation/resources/views/theme/sections/content-listing--rows.blade.phppackages/theme-foundation/resources/views/theme/sections/content-listing.blade.phppackages/theme-foundation/resources/views/theme/sections/cta--band.blade.phppackages/theme-foundation/resources/views/theme/sections/cta--card.blade.phppackages/theme-foundation/resources/views/theme/sections/cta--inline.blade.phppackages/theme-foundation/resources/views/theme/sections/cta.blade.phppackages/theme-foundation/resources/views/theme/sections/faq-search-discovery--categorised.blade.phppackages/theme-foundation/resources/views/theme/sections/faq-search-discovery.blade.phppackages/theme-foundation/resources/views/theme/sections/features.blade.phppackages/theme-foundation/resources/views/theme/sections/footer.blade.phppackages/theme-foundation/resources/views/theme/sections/form--encouraging.blade.phppackages/theme-foundation/resources/views/theme/sections/form.blade.phppackages/theme-foundation/resources/views/theme/sections/hero--full-bleed.blade.phppackages/theme-foundation/resources/views/theme/sections/hero--split.blade.phppackages/theme-foundation/resources/views/theme/sections/hero--stacked.blade.phppackages/theme-foundation/resources/views/theme/sections/hero.blade.phppackages/theme-foundation/resources/views/theme/sections/navigation.blade.phppackages/theme-foundation/resources/views/theme/sections/pagination.blade.phppackages/theme-foundation/resources/views/theme/sections/partials/contact-split-form-body.blade.phppackages/theme-foundation/resources/views/theme/sections/partials/form-body.blade.phppackages/theme-foundation/resources/views/theme/sections/partials/form-encouraging-body.blade.phppackages/theme-foundation/resources/views/theme/sections/pricing-value-spectrum--compact.blade.phppackages/theme-foundation/resources/views/theme/sections/pricing-value-spectrum.blade.phppackages/theme-foundation/resources/views/theme/sections/proof.blade.phppackages/theme-foundation/resources/views/theme/sections/search.blade.phppackages/theme-foundation/resources/views/theme/sections/stats-display-band--light.blade.phppackages/theme-foundation/resources/views/theme/sections/stats-display-band.blade.phppackages/theme-foundation/resources/views/widget/kitchen-sink/reference.blade.phppackages/theme-foundation/resources/views/widgets/auth-menu.blade.php
Cache tags
Section titled “Cache tags”theme-foundation
Child Theme Override Contract
Section titled “Child Theme Override Contract”Foundation Theme owns the stable child theme override surface for Capell themes. Child themes should declare extends: 'default' and override documented sections, views, tokens, and chrome areas instead of replacing the whole public rendering path.
Stable contract points:
- Theme Studio sections:
navigation,hero,features,proof,content-listing,search,pagination,form,contact-split,cta,footer. - Shared views:
capell::theme.page,capell::layout.area,capell::media.svg. - Runtime tokens:
--foundation-page-bg,--foundation-section-spacing,--foundation-widget-gap. - Layout Builder chrome areas:
header. - Public-output rule: child themes must not expose authoring metadata, editor controls, model IDs, field paths, permissions, or signed editor URLs.
Data Model
Section titled “Data Model”This theme has no schema impact. It relies on core Capell site, page, locale, and theme records instead of declaring package-owned tables.
Install Impact
Section titled “Install Impact”- Required packages:
capell-app/admin,capell-app/core,capell-app/frontend,capell-app/layout-builder,capell-app/navigation. - Admin navigation: no admin page or resource contribution is declared.
- Admin/editor extensions: none declared.
- Permissions: no package permission declarations or Shield gates detected; host access rules still apply.
- Public routes: none declared.
- Database changes: no package migrations declared.
- Config:
config/capell-theme-foundation.php. - Settings:
Capell\FoundationTheme\Settings\FoundationThemeSettings. - Queues or schedules: none declared.
- Cache tags:
theme-foundation. - Commands:
capell:frontend-tailwind-assets,capell:make-foundation-theme,capell:theme-catalogue-report,capell:theme-foundation-demo,capell:theme-foundation-setup,capell:validate-themes.
Common Pitfalls
Section titled “Common Pitfalls”- Keep required Capell packages on compatible v4 releases:
capell-app/admin,capell-app/core,capell-app/frontend,capell-app/layout-builder,capell-app/navigation. - Review package configuration before production-like verification:
config/capell-theme-foundation.php,Capell\FoundationTheme\Settings\FoundationThemeSettings. - Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
- Custom write integrations must preserve invalidation for
theme-foundationcache tags.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| Package surface is missing after install | Provider or manifest is not loaded | Confirm capell.json, package composer.json, and provider registration | Reinstall the package, refresh Composer autoload, and clear host caches |
| Public output leaks unexpected state | Render data, cache variation, or authoring boundary has regressed | Check public Blade, cache tags, and public-output safety tests | Move data loading out of Blade and rerun the package public-output tests |
Quick Start
Section titled “Quick Start”- Install the package:
composer require capell-app/theme-foundation. - Run the package setup:
php artisan capell:theme-foundation-setup. - See it working: run
php artisan capell:theme-foundation-demo. - Open
/theme-default-directoryand confirm the public output renders without admin state.