# Theme Brutalist

## 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-brutalist` |
| Package slug | `theme-brutalist` |
| Product group | Capell Themes |
| Tier | premium |
| Bundle | `themes` |
| Runtime contexts | `frontend` |
| Capell version | `^1.0` |
| Source repository | `capell-app/packages` |
| Source path | `packages/theme-brutalist` |
| Docs source | `packages/theme-brutalist/docs` |
| Manifest | [`capell.json`](https://github.com/capell-app/packages/edit/main/packages/theme-brutalist/capell.json) |

<!-- prettier-ignore-start -->

## What This Plugin Adds

Theme Brutalist is an **Available**, **No schema impact** Capell theme in the **Capell Themes** product group. It ships as `capell-app/theme-brutalist` and extends these surfaces: frontend.

Theme Brutalist provides a Blade presentation with monospace type, stark links, visible focus states, archive dates, interview markers, and zine annotations.

Admins select Brutalist through theme management, preview it, and adjust shared theme settings. Public pages use its archive-focused presets and package-owned widgets.

Evidence: [`src/BrutalistThemeServiceProvider.php`](src/BrutalistThemeServiceProvider.php), [`src/Support/Demo/BrutalistDemoContent.php`](src/Support/Demo/BrutalistDemoContent.php), [`tests/Unit/SignatureWidgetRenderTest.php`](tests/Unit/SignatureWidgetRenderTest.php), [`capell.json`](capell.json), [`src/Manifest/ThemeManagementPageContribution.php`](src/Manifest/ThemeManagementPageContribution.php), [`tests/Unit/BrutalistThemeDefinitionTest.php`](tests/Unit/BrutalistThemeDefinitionTest.php), [`docs/overview.admin.md`](overview.admin.md).

Status details:

- Status: Available
- Tier: premium
- Bundle: themes
- Composer package: `capell-app/theme-brutalist`
- Namespace: `Capell\ThemeBrutalist`
- Theme key: `brutalist`

## Why It Matters

**For developers:** The provider extends the Foundation default theme and registers Brutalist definitions, presets, assets, and layout-widget renderables through shared registries.

**For teams:** Archive, culture, and zine teams get a deliberately plain public structure while editors keep the same Capell content workflow.

Evidence: [`src/BrutalistThemeServiceProvider.php`](src/BrutalistThemeServiceProvider.php), [`tests/Unit/BrutalistThemeDefinitionTest.php`](tests/Unit/BrutalistThemeDefinitionTest.php), [`tests/Unit/PublicOutputSafetyTest.php`](tests/Unit/PublicOutputSafetyTest.php), [`docs/overview.admin.md`](overview.admin.md), [`src/Support/Demo/BrutalistDemoContent.php`](src/Support/Demo/BrutalistDemoContent.php), [`tests/Unit/SignatureWidgetRenderTest.php`](tests/Unit/SignatureWidgetRenderTest.php).

## Screens And Workflow

Screenshot contract: `docs/screenshots.json`.

![Brutalist Homepage](screenshots/brutalist-homepage.png)

![Brutalist Landing page](screenshots/brutalist-landing.png)

Desktop, tablet, and mobile variants remain defined in the screenshot contract; this list groups them by workflow.

- Brutalist Homepage (frontend, required).
- Brutalist Landing page (frontend, required).
- Brutalist Archive (frontend, required).
- Brutalist Search results (frontend, required).
- Brutalist Contact form (frontend, optional).
- Brutalist Page Not Found (frontend, optional).
- Brutalist Call To Action (frontend, optional).

## Technical Shape

- Service providers: `Capell\ThemeBrutalist\BrutalistThemeServiceProvider`.
- Actions: `InstallBrutalistThemeDemoAction`.
- Command signatures: `capell:theme-brutalist-demo`.
- Console command classes: `DemoCommand`.
- Manifest contributions: `admin-page: Capell\ThemeBrutalist\Manifest\ThemeManagementPageContribution`.
- Health checks: `Capell\ThemeBrutalist\Health\ThemeBrutalistHealthCheck`.
- Blade views: `packages/theme-brutalist/resources/views/page.blade.php`, `packages/theme-brutalist/resources/views/sections/archive-dates--calendar.blade.php`, `packages/theme-brutalist/resources/views/sections/archive-dates.blade.php`, `packages/theme-brutalist/resources/views/sections/archive-wall--stacked.blade.php`, `packages/theme-brutalist/resources/views/sections/archive-wall.blade.php`, `packages/theme-brutalist/resources/views/sections/content-listing.blade.php`, `packages/theme-brutalist/resources/views/sections/cta.blade.php`, `packages/theme-brutalist/resources/views/sections/footer.blade.php`, `packages/theme-brutalist/resources/views/sections/hero.blade.php`, `packages/theme-brutalist/resources/views/sections/irregular-index--scattered.blade.php`, `packages/theme-brutalist/resources/views/sections/irregular-index.blade.php`, `packages/theme-brutalist/resources/views/sections/navigation.blade.php`, `and 11 more`.
- Cache tags: `theme-brutalist`.

## 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

- Required packages: `capell-app/core`, `capell-app/theme-foundation`, `capell-app/frontend`.
- Admin navigation: declares `admin-page: ThemeManagementPageContribution`; each Filament page or resource controls its own navigation visibility.
- Admin/editor extensions: none declared.
- Permissions: none declared in `capell.json`.
- Public routes: none declared.
- Database changes: no package migrations declared.
- Config: no package config files.
- Settings: no package settings declared.
- Queues or schedules: none declared.
- Cache tags: `theme-brutalist`.
- Commands: `capell:theme-brutalist-demo`.

## Common Pitfalls

- Keep required Capell packages on compatible v4 releases: `capell-app/core`, `capell-app/theme-foundation`, `capell-app/frontend`.
- 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-brutalist` cache tags.

## 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

1. Install the package: `composer require capell-app/theme-brutalist`.
2. No package-specific setup command or migrations are declared.
3. Open the Brutalist Homepage and confirm the public output renders without admin state.

## Next Steps

- [Package docs](README.md)
- [Overview](overview.md)
- [Troubleshooting](#troubleshooting)
- [Screenshot contract](screenshots.json)
- [Marketplace assets](assets/marketplace/)
- [Capell content language plan](../../docs/CONTENT_LANGUAGE_PLAN.md)
- [Capell documentation design system](../../docs/DESIGN_SYSTEM.md)
- [Capell and package ERD notes](../../docs/erd/capell-and-package-erds.md)
- Related packages: [Theme Foundation](../theme-foundation/README.md), [Form Builder](../form-builder/README.md), [Newsletter](../newsletter/README.md).
- Focused tests: `vendor/bin/pest packages/theme-brutalist/tests --configuration=phpunit.xml`.

<!-- prettier-ignore-end -->