Skip to content
Sections
Rastrillo components

Getting started

Rastrillo apps get Fiesta's stylesheets and scripts on day one. See what each file does and how large it is on Fiesta's getting started page.

In a new rastrillo app

rastrillo new writes the stylesheets and scripts into the app's static directory and links them from the layout. Edit or delete the files as you need.

rastrillo new --theme=day myapp

The theme is pinned twice. --theme decides which shipped theme is copied to static/theme.css, and logged at app generation time.

const vendoredTheme = "day"

Upgrading

The trap worth knowing before it costs you an afternoon: Fiesta's stylesheets are copied into the app's static directory at scaffold time and frozen there, while the partials they style keep upgrading with the module. An app can quietly run new markup against old CSS. Re-copy them when you upgrade, and the theme and the scripts with them.

rastrillo doctor will compare an app's frozen files against the module's and offer to re-copy.