This project is not covered by Drupal’s security advisory policy.
An agent-first base theme: restyle a whole site by editing data, with no
build pipeline in the way.
Droost Theme is built so an AI coding agent, or a person, can change how a
site looks by editing tokens and classes rather than a build. It is the
theme layer of Droost and the default theme of the
Droost CMS recipe.
- Tailwind CSS v4. In development, every utility class works the moment
it is written: no build step, no safelist, no purge. - daisyUI components.
btn btn-primary,card,hero,navbar,
stats,alertand the rest, in any template. - Design tokens as editable CSS.
css/tokens.cssholds the theme's
colours, radii and surfaces (--color-primary,--color-base-100,
--radius-box). Rebranding the whole site is an edit to that one file. - 21 Canvas-ready components. Single Directory Components (hero, card,
button, section, grid, stats, steps, tabs, timeline, carousel and more)
with prop schemas strict enough for Drupal Canvas and UI Patterns'
component formatters.
The three styling layers
Edit the highest layer that solves the problem:
- Tokens (
css/tokens.css): palette, radii, surfaces. The right layer
for "make it feel like our brand". - Component classes: daisyUI's vocabulary in templates.
- Utility classes: any Tailwind utility, in Twig or component markup.
Rebranding that survives composer update
An edit to css/tokens.css in themes/contrib lasts until the next
composer update. The durable way is a subtheme: the same tokens, the same
daisyUI vocabulary and still no build step, with the file you edit in your
own repository. The README walks through the three short files a subtheme
needs, including the one that is easy to miss (regions are not inherited,
so restate them).
Production CSS, no Node needed
The css_mode setting chooses how Tailwind and daisyUI arrive:
compiled(the default, for production):css/droost_theme.cssis
built and committed, so installing the theme never needs Node. No
JavaScript at runtime, no flash of unstyled content, nothing for a
Content Security Policy to allow.jit(for development): the Tailwind browser runtime and daisyUI, so
an agent can use any utility class in any template at once.
Install
composer require 'drupal/droost_theme:^1.0'
drush theme:install droost_theme
drush config:set system.theme default droost_theme
Block placements (branding, main menu, messages, local tasks, title) ship
as optional configuration. The Droost CMS recipe installs this theme and
makes it the default for you.
Works best with Droost
Tokens, daisyUI classes and components are exactly what a
Droost agent styles a site
through. On its own it is a capable Tailwind and daisyUI base theme, but
without Droost you maintain by hand what Droost automates, and a
general-purpose base theme may suit you better.
Requirements
- Drupal 10.3 or later, 11 or 12; PHP 8.3 or later.
- No Node to install. Node is needed only to rebuild the compiled CSS
yourself.
Part of Droost Framework
Droost Framework is the
map of the whole ecosystem: the droost command, its repositories and the
documentation at droost.org. The Drupal projects:
| Project | What it is |
|---|---|
| Droost | The site's tools for AI agents: read the live site, change it through gated writes |
| Droost UI Kit | Manage Display composed from Single Directory Components, on UI Patterns 2 |
| Droost CMS | A Drupal CMS recipe for sites an AI agent builds |
| Droost Theme | An agent-first base theme: Tailwind v4, daisyUI, design tokens, Canvas-ready components |
Project information
- Ecosystem: Drupal CMS, AI (Artificial Intelligence), Droost Framework, Droost
7 sites report using this theme
- Created by chadmandoo on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Droost Theme 1.1.1 follows an audit of 1.0.0 and a site built on Drupal CMS 2.2.10: the compiled stylesheet holds every daisyUI class, messages, the page title and the tabs render above the content and are styled, and components start clean in Canvas; it
