Skip to content

Theme Agency

This page is generated from public package documentation in capell-4/packages and the package manifest checked into the source repository.

FieldValue
Composer packagecapell-app/theme-agency
Package slugtheme-agency
Product groupCapell Foundation
Tierfree
Bundlefoundation
Runtime contextsfrontend
Capell version^4.0
Source repositorycapell-app/packages
Source pathpackages/theme-agency
Docs sourcepackages/theme-agency/docs
Manifestcapell.json

Expressive agency theme for Capell.

  • Package: capell-app/theme-agency
  • Namespace: Capell\ThemeStudio\Agency\
  • Capell dependencies: capell-app/core, capell-app/foundation-theme
  • Provides expressive renderer views for studio, portfolio, and brand-led sites that need stronger visual storytelling.
  • Helps owners launch an agency-style Capell site faster by building on Foundation Theme and Layout Builder conventions.
  • Gives developers a focused theme package to extend without changing the baseline Foundation Theme.
  • Expressive agency theme for Capell.

For developers: Adds a renderer package that plugs into Foundation Theme rather than changing Capell core rendering contracts.

For teams: Provides an agency-focused visual option for sites managed through the normal Theme admin page and install flow.

This package makes its Composer dependencies visible because they are part of the value proposition, not just plumbing. When an upstream package has a public repository, its linked preview card points readers back to the maintainers so their work gets proper credit.

Capell packages used here

Open-source packages used here

  • No extra third-party Composer package beyond the Capell package stack is required here.

Screenshots are generated from docs/screenshots.json during package deployment.

  • Themes admin list showing Agency.
  • Frontend page rendered with Agency theme sections.
  • Theme preview URL output from the host signed preview route.
  • AgencyThemeServiceProvider registers the renderer.
  • capell.json declares themeKey: "agency" and extends: "capell-app/foundation-theme".
  • Uses Foundation Theme runtime data and standard section keys, while rendering its own page and section Blade views.
  • Ships Blade resources for the page wrapper and standard theme sections.
  • No migrations, config, routes, models, admin navigation, or package-owned settings are present.
AreaPathPurpose
Resourcespackages/theme-agency/resourcesBlade page wrapper, section views, and Boost guidance.
Testspackages/theme-agency/testsPackage-level Pest coverage.
  • This package does not own data.
  • It reads theme runtime data and core page content through Foundation Theme.
  • Adds an Agency renderer to theme system.
  • No database changes.
  • No admin navigation by itself.
  • No public routes by itself.
  • Install with composer require capell-app/theme-agency in the host Capell application.
  • Seed the Agency preview pages with php artisan capell:theme-agency-demo --url=https://demo.test --sites=Demo --languages=en --force.
  • The Extensions installer demo checkbox and full Capell demo install use the same manifest demo command path.
  • In this repository, verify package changes with vendor/bin/pest; do not use php artisan.
  • None proven in this package directory.
  • Install Foundation Theme before using this renderer.
  • Install Layout Builder before running capell:foundation-theme-setup; Foundation Theme layout defaults need blocks.
  • Build frontend and Filament assets in demo apps. Foundation Theme frontend CSS needs the npm dependencies published by the theme stack.
  • Keep Theme Studio’s active preset aligned with this theme (signal, gallery, or atelier). A preset from another theme will fail when Agency renders.
  • Public output must not expose package/theme identifiers. Token CSS filenames are intentionally opaque.
  • Do not install a Studio metapackage; this package installs independently.

Run package tests from the repository root:

Terminal window
vendor/bin/pest packages/theme-agency/tests --configuration=phpunit.xml

The public token filename guard is covered in Foundation Theme:

Terminal window
vendor/bin/pest packages/foundation-theme/tests/Unit/ThemeTokenStoreTest.php --configuration=phpunit.xml
  • Theme output is public output. Keep admin-only metadata and editor hooks out of rendered markup.