Why sites look consistent: a design system
Consistency comes from shared rules, not talent
- A design system = one shared set of style rules everyone follows.
- Two parts, both built together now: design tokens (a shared style.css) and a design steering (shared Kiro rules).
Read before you paste! The prompts below have [SQUARE BRACKETS] to fill in with your own values — your shared theme/business name and your project folder. Use the SAME shared project folder you both agreed on. Do not paste blindly — read, edit, then send.
Prompt 1 — Create the shared design tokens (do this together, once)
Context: We are two developers building ONE multi-page website together for [OUR SHARED THEME, e.g. a climbing gym called "Ascent"]. We want a single shared stylesheet of design tokens so every page looks consistent.
Task: In our shared project folder [OUR-PROJECT] create a file called style.css containing a :root block of CSS variables: a primary color, an accent color, background and surface colors, text and muted-text colors, a border color, a body font (from Google Fonts), a heading font, a base spacing unit, a border-radius, and a card shadow. Add a short comment above each group.
Constraints: Use CSS custom properties only (no components yet). Pick a palette and fonts that fit our theme, with strong text/background contrast. Keep values tasteful and cohesive.
Format: Give me the full style.css, and a one-line summary of the palette choices.
Edge cases: Make sure text-on-background contrast is easily readable.
Prompt 2 — Create the shared design steering for Kiro (both of you install it)
Context: We are building one website together and want both of our Kiro assistants to follow the exact same design rules so our pages look consistent.
Task: Create a steering file at .kiro/steering/design-system.md with rules that apply to all HTML/CSS work on this project: always use the CSS variables from style.css (never hardcode colors, fonts, spacing, or radius); every page must include the same header and footer; buttons use the class .btn; cards use BEM naming (card, card__title, card__text); use semantic HTML5 tags; keep a max-width container centered on every page; and make every page responsive (mobile-first).
Constraints: Write it as clear, short rules. It must be generic enough to apply to any page on the site.
Format: Give me the full contents of design-system.md.
Edge cases: The rules must not depend on any single page — they apply site-wide.
Watch your screen: you should end up with one style.css full of variables and one .kiro/steering/design-system.md. Both of you put that same steering in your Kiro. From now on, both AIs follow the same rules automatically.