Skip to content

Foundation Theme

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.

FieldValue
Composer packagecapell-app/theme-foundation
Package slugtheme-foundation
Product groupCapell Themes
Tierfree
Bundlethemes
Runtime contextsadmin, frontend
Capell version^1.0
Catalogue roleextension
Release channelReleased
Source repositorycapell-app/theme-foundation
Docs sourcepackages/theme-foundation/docs
Manifestcapell.json

A documentation site or a general publishing site gets a very pale green-grey page with near-black text, and links and buttons in a deep green-teal. The header stays in view as visitors scroll, and the footer shows your menu, or your latest pages if you have no menu.

This is the plain starting theme that other Capell themes build on, and they bring it with them when you install them. Pages are put together from ready-made sections. One is a hero, the large opening area at the top, and another is a call to action, which asks visitors to do something. Others cover features, content lists and search results. A form section is there too, and it needs the Form Builder package. You set colours and spacing on the theme’s settings page.

Developers get a command that moves sites off a retired theme onto its replacement. It shows a preview first and writes a report that can undo the move, though custom CSS, hero media and differing theme settings are not carried over. The dark version is a very dark green page with mint buttons. It appears when a visitor presses the dark button in the header, and not from the device’s own dark setting. The browser remembers the choice for later visits.

  • Price and availability: Check current availability and price on the Capell Marketplace listing.
  • Licence: Check the licence terms on the Capell Marketplace listing.
  • Requires: PHP ^8.4, capell-app/admin ^1.0.66, capell-app/core ^1.0.79, capell-app/frontend ^1.0.79, capell-app/layout-builder ^1.0, capell-app/navigation ^1.0, lorisleiva/laravel-actions ^2.8, spatie/laravel-data ^4.0, spatie/laravel-package-tools ^1.0.
  • Install: composer require capell-app/theme-foundation.
  1. Install the package: composer require capell-app/theme-foundation.
  2. Run the package setup: php artisan capell:theme-foundation-setup.
  3. See it working on a disposable site: run php artisan capell:theme-foundation-demo --site="Theme demo". Choose a new site name so the demo never touches a customer site.
  4. Run php artisan list and verify the package command signatures are registered.

The package centralizes theme registration, token resolution, layout defaults, and public-output safety contracts for the theme fleet.

  • Configuration files: config/capell-theme-foundation.php.
  • Admin settings: Capell\FoundationTheme\Settings\FoundationThemeSettings.
  • Commands: php artisan capell:frontend-tailwind-assets, php artisan capell:make-foundation-theme, php artisan capell:theme-catalogue-report, php artisan capell:theme-foundation-demo, php artisan capell:theme-foundation-setup, php artisan capell:theme-migrate, php artisan capell:validate-themes.
  • Install the required Capell packages at the versions in composer.json: capell-app/admin ^1.0.66, capell-app/core ^1.0.79, capell-app/frontend ^1.0.79, capell-app/layout-builder ^1.0, capell-app/navigation ^1.0.
  • 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-foundation cache tags.

Foundation Directory

Foundation Detail Article

  • Foundation Homepage (frontend).
  • Foundation Directory (frontend).
  • Foundation Detail Article (frontend).
  • Foundation Contact (frontend).
  • Foundation Empty State (frontend).
  • Foundation Page Not Found (frontend).
  • Foundation Call To Action (frontend).
  • Foundation Chrome Homepage (frontend).

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.
  • 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:theme-migrate, capell:validate-themes.
SymptomLikely causeCheckFix
Package surface is missing after installProvider or manifest is not loadedConfirm capell.json, package composer.json, and provider registrationReinstall the package, refresh Composer autoload, and clear host caches
Public output leaks unexpected stateRender data, cache variation, or authoring boundary has regressedCheck public Blade, cache tags, and public-output safety testsMove data loading out of Blade and rerun the package public-output tests

No manual steps between minor versions.

Read CHANGELOG.md before upgrading.