Sub-theming apbuilder_theme and switching themes per bundle or path.

APB-DOCS-THEME

apbuilder_theme documents itself as intended to be sub-themed. Override the --apb-theme-* token cascade so every APB component inherits a new palette without module edits. Do not globally restyle the base theme on a site that also hosts the frozen gallery.

Theme Switcher

The demo uses drupal/theme_switcher 2.1.

  • Bundle ruleapb_showcase for content type showcase_page. Holds across all language prefixes because it keys on bundle, not path. Live: /showcase.
  • Path-weighted ruleapb_terrain for /the-work and the four language-prefixed aliases, weight −10, so it beats the bundle rule only on that URL. Live: /the-work.

A dedicated translatable bundle keeps Content Translation off frozen and commercial types — the same isolation pattern as international_page and documentation.

Gotchas

  • Infinite logos does not accept SVG. Client marks were rasterized to PNG.
  • Self-host webfonts. Do not assume Google Fonts on a deterministic recording site.
  • Themed microsites hide the Drupal menu by design; each header should still offer a way back to the examples hub.