UNPKG

@awesomate/hosting-mcp

Version:

Awesomate MCP server — lets Claude manage your Awesomate WordPress hosting, plan, limits, n8n automations, and build Node/static apps + databases

95 lines (82 loc) • 5.92 kB
# The brand design system: find it, connect it, or make one A brand design system keeps a business's colours, type, components and layout rules in one place, so everything built for it looks like the same business. Claude Design holds them (claude.ai/design, Settings, Design systems). It checks its own work against the design system, and `/design-sync` in Claude Code keeps a project's code and the design system in step. Asking for the design system before building is strongly recommended. It is never a reason to refuse to build. ## Connecting one, or making one Which design to follow (the design system, else the look on Your business, else ask) is decided in the skill's SKILL.md, section 1. This file covers the two steps it sends you here for: connecting a design system, and making one when there is none. 1. **Look it up.** When your Awesomate tools include `awesomate_design_system`, call it: it writes the copy the owner synced to Awesomate into the project. Otherwise, `awesomate_business` shows **Design system** and **Design system link** when the owner has saved them on Your business in the hub. 2. **It's in Claude Design.** Connect this project to it with `/design-sync`. The owner may need to run `/design-login` once first. Build with its tokens and components, not with new ones. When you have `awesomate_design_system_change`, offer to keep a copy in Awesomate ("sync my design system to Awesomate"): `sync` with the folder `/design-sync` wrote, its name and its Claude Design link, so any coding agent building for the business finds it. When the owner's own key syncs it, its colours and font become the brand's look on Your business; say which details it set or suggested. 3. **Nothing is saved.** Ask once: "Do you have a brand design system, in Claude Design, Figma, or your website's code?" If they do, connect it, and with their yes suggest its name and link with `awesomate_business_change` `propose` (keys `design_system` and `design_system_link`) so the owner can accept them on Your business and the next build finds it straight away. 4. **They have none.** Offer to make one. `awesomate_design_system_package` writes a starter design system into the project from their confirmed details: `tokens.css`, preview cards, the fonts and the logo inside the folder, and a README of what is still to decide. Then `/design-sync` puts it in Claude Design as their design system. With `awesomate_design_system_change`, sync the same folder to Awesomate (step 2); without it, suggest its name and link with `awesomate_business_change` `propose` for the owner to accept. Offer to work through the README's "still to decide" list with you or in Claude Design. 5. **They'd rather not now.** Build from the brand look on Your business when it has one; with none, use a plain neutral look and say so in one line. Offer again next time. Never make the build wait for a design system. Follow Anthropic's `/design-sync` for how the sync itself works. Don't describe it from memory. ## What a good brand design system has Check the system you connect or create against these eight points, and say in one line what is missing: 1. **One idea**, rooted in the business's place or story: its town, its building, its trade, its people. 2. **Type first.** One expressive face for headings and one neutral face for text. Generic system fonts are not a display face. 3. **Colour with a rule.** A tight trio (a near-black, one brand colour, a near-white), or small palettes that never mix. Large areas use off-black and off-white, not pure black and white. 4. **The name at hero scale.** The wordmark large, over an image or a flat colour. 5. **A system the owner can run:** - a type scale for phone and desktop; - spacing; - corner radii chosen once (square, small, or fully round), not one medium radius on everything; - which colours go together; - card and list patterns. 6. **One piece of motion** that expresses the idea, not scattered effects, with easing and duration tokens ([motion.md](motion.md)). 7. **Voice.** Two or three lines on how it sounds, and real copy, never placeholder text. 8. **Accessible.** AA contrast for text; every tap target at least 24 px, and buttons and main controls at least 44 px. ## Tokens to start from When you make one from the business's details, name the variables so a person can read them: ```css :root { --brand-ink: #1a1a1a; /* text and dark surfaces */ --brand-paper: #f6f7f7; /* page background */ --brand-accent: #2a5db0; /* the one brand colour: buttons, links, highlights */ --font-display: "Display Face", system-ui, sans-serif; --font-text: "Text Face", system-ui, sans-serif; --radius-card: 4px; /* cards and pictures */ --radius-control: 4px; /* buttons and inputs: or 0, or 999px, chosen once */ --radius-pill: 999px; /* tags only, unless the brand chooses round */ --space: 8px; /* multiply for layout: 2x, 3x, 4x */ --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --dur-ui: 220ms; } ``` Every value is a placeholder: replace it with the business's own, its colours from **Main colour** and **Second colour**, its font from **Font**, and its logo from **Logo**. Never ship the placeholders, and never fall back to the generated-site defaults: a cream ground with a terracotta or coral accent, Inter as the only face, or a 12 px radius on everything. The package from `awesomate_design_system_package` uses placeholders for paper and corners too: before building, set the paper (the brand's own light colour, or a neutral off-white such as `#f6f7f7` rather than cream), choose one corner radius and the button shape, and update the preview cards to match. Check the accent against the ink and paper for AA contrast before using it for text. Building the pages from these tokens: [pages.md](pages.md).