extract_brand
Extract brand colors, fonts, and navigation links from a public site to theme a Ghost blog without manual inspection.
Instructions
Distil a live site's brand into clean tokens to theme against.
Step one of theming a customer's blog: point this at their public product or marketing site and it returns the brand to match, so you design against real colours and fonts instead of guessing or hand-reading a stylesheet. Fetches the page and its CSS (public http(s) only; private/localhost hosts refused).
It also reads the site's menus, so you can offer to reuse them on the blog
(write them with update_navigation). navigation.primary /
navigation.secondary are the header/footer content links;
navigation.membership holds login/sign-up/account links, which are kept
OUT of the suggested menu -- they are usually the parent app's own auth, not
blog nav. Ask the user what to do with any membership links rather than adding
them to the menu automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The page to read; the homepage usually carries the brand. | / |
| site_url | Yes | The public site to inspect, e.g. ``https://example.com``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||