restyle_theme
Edit a Ghost blog theme's CSS by downloading, rewriting the stylesheet, and re-uploading it. Append new rules or replace the entire stylesheet to update the live look of an active theme.
Instructions
Restyle an installed theme by editing its stylesheet, then re-upload it.
Iterate a theme already on the blog without regenerating it: this downloads
the named theme, rewrites its assets/built/screen.css -- appending new
rules by default, or mode="replace" to swap the whole stylesheet -- and
re-uploads it. The upload itself does NOT activate a theme. But if name
is the ACTIVE theme, the new CSS is what visitors see, so this changes the
live look; confirm that's intended. Ghost re-validates on upload, so any
errors/warnings are returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | Yes | CSS to append (default) or to replace the stylesheet with. | |
| mode | No | ``"append"`` (safe default) or ``"replace"``. | append |
| name | Yes | The installed theme to restyle (see ``list_themes``). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||