Dist theme
The generated *_dist theme that ties the build output to Drupal.
The generated files have to live in an extension Drupal knows about. The plugin therefore creates a hidden theme in dist/ called <theme>_dist, and your theme uses it as base theme.
Generated for this theme
name: uebertool_docs dist
type: theme
base theme: false
description: UEBERTOOL_DOCS Theme for compiled assets.
package: uebertool_docs
core_version_requirement: ^10.3 || ^11
hidden: true
libraries:
- uebertool_docs_dist/css__tailwind
- uebertool_docs_dist/js__main
Your theme only has to point to it:
name: 'UEBERTOOL Docs'
type: theme
base theme: uebertool_docs_dist
core_version_requirement: ^11
What it contains
- Global libraries:
css__tailwind,js__mainandcss__gin-customare attached on every page. - Base theme: none (
base theme: false), so Drupal uses the module templates for everything your theme does not override. Set one with thebaseThemeoption. - Package: the theme name, or the
themePackageoption. - Hidden: it never shows up in the Appearance UI.