AI Visual Specs
Color, typography, iconography, and layout specifications for AI-generated and AI-assisted interface elements. These specs extend the design system's existing token system with AI-specific additions.
AI Color Palette
AI elements use the design system's Lavender family as the primary AI accent — visually distinct from the Blue CTA colors used for standard actions. This separation helps users immediately recognize AI-involved content. Confidence indicators reuse the design system's semantic Green/Yellow/Red families.
AI Accent Colors
Derived from the design system's existing Lavender palette. Used for AI attribution badges, borders on AI content, and interactive AI elements.
Confidence Indicator Colors
Mapped from the design system's existing semantic color families. These communicate how certain the AI is about a given output.
AI Gradient Stroke Colors
The AI rainbow gradient stroke is used on suggestion cards and AI-originated containers to visually signal AI involvement. The gradient uses eight accent colors from the design system's palette in a top-to-bottom linear gradient.
Token
| Token | Value | Usage |
|---|---|---|
--ai-stroke-gradient |
linear-gradient(to bottom, #ffb98c, #eeb8db, #c0c4ff, #99cdf5, #87d5d3, #aed1af, #f3c233, #ffb4bc) |
Left border on AI suggestion cards, AI containers, chat AI messages |
--ai-stroke-width |
4px | Width of the gradient left-border accent |
Chat Interface Colors
Specific color assignments for the AI chat interface used in Analytics and other conversational surfaces.
Token Reference
| Token | Light Value | Source | Usage |
|---|---|---|---|
--ai-primary |
#505382 | Design System Lavender 500 | AI badge text, AI border accents, chat header |
--ai-secondary |
#a4a4d9 | Design System Lavender 300 | AI hover states, secondary indicators, icons |
--ai-surface |
#eff0fd | Design System Lavender 100 | AI message bubbles, AI card backgrounds |
--ai-surface-light |
#f8f7ff | Lavender 50 (new) | AI container backgrounds, subtle AI tinting |
--ai-confidence-high |
#1e6421 | Design System Green 500 | High confidence text and icons |
--ai-confidence-high-bg |
#e7f4e8 | Design System Green 100 | High confidence badge backgrounds |
--ai-confidence-medium |
#9c7506 | Design System Yellow 400 | Medium confidence text and icons |
--ai-confidence-medium-bg |
#fff1bf | Design System Yellow 100 | Medium confidence badge backgrounds |
--ai-confidence-low |
#e63447 | Design System Red 400 | Low confidence text and icons |
--ai-confidence-low-bg |
#ffecee | Design System Red 100 | Low confidence badge backgrounds |
--ai-chat-user |
#1a78c1 | Design System Blue 400 | User message bubble background |
--ai-chat-bg |
#f8f9fc | Design System bg-default | Chat conversation area background |
Chat Interface Preview
Reference implementation of the color system applied to the Analytics chat interface. The AI accent (Lavender) distinguishes AI responses from user messages (Blue). The left border on AI bubbles reinforces AI attribution.
AI Suggestion Card
The suggestion card uses the AI rainbow gradient stroke on its left edge. It surfaces proactive AI recommendations with an optional action button. This pattern is sourced from the Figma AI Markers file.
Flat 15% off on all services when rebooking.
Would you like me to create this promo and send personalized rebooking messages to these guests?
| Property | Value | Token |
|---|---|---|
| Background | #ffffff | --bg-white |
| Border | 1px solid rgba(0,0,0,0.2) | --stroke-neutral-dark |
| Border radius | 4px | --radius-sm |
| Left gradient bar | 4px wide, gradient | --ai-stroke-gradient |
| Title | Lato SemiBold 14/22 | Action Button/Small |
| Description | Lato Regular 12/18 | Footnote/Large |
| Title color | #0a0a0a | --text-primary |
| Description color | #4a4a4a | --text-secondary |
| Padding | 12px 16px | --spacing-s12 / --spacing-s16 |
Chat Interface
The analytics chat interface with the AI gradient stroke applied to AI response bubbles. User messages use the design system's Blue; AI responses use the rainbow left-border for instant recognition.
Promote Facials with a seasonal campaign?
Based on the high demand, a targeted campaign could increase bookings by an estimated 15–20%.
Glow Attribution
Every AI surface must include the "Powered by Glow" attribution. Glow is Rosewood's AI brand identity — the mascot logo uses a blue-to-green gradient (#1AB2E7 → #31AB6A).
| Property | Value | Token |
|---|---|---|
| Text | "Powered by Glow" | — |
| Font | Lato Regular 11/16 | Footnote/Small |
| Text color | #5f5f5f | --text-tertiary |
| Icon size | 24 × 14.118px | — |
| Icon fill | Linear gradient #1AB2E7 → #23AFB4 → #2DAC7E → #31AB6A | --glow-gradient |
| Gap (text → icon) | 8px | --spacing-s8 |
| Placement | Bottom-right of AI chat, bottom of AI cards | — |
Rule: The "Powered by Glow" attribution must appear on every AI-powered surface — either in the chat footer, the bottom of suggestion cards, or in the AI panel header. It must not be hidden or removable by the user.
Design Rationale
| Element | Color | Why |
|---|---|---|
| User bubble | --bg-cta-blue (#1a78c1) |
Consistent with the design system's primary action color — the user is initiating |
| AI bubble background | --ai-surface (#eff0fd) |
Lavender differentiates AI from user; softer than blue to feel supportive, not assertive |
| AI bubble left border | --ai-primary (#505382) |
3px left accent clearly marks AI origin; same pattern used across all AI containers |
| Chat header | --ai-primary (#505382) |
Signals "this is an AI surface" immediately on entry |
| "AI Generated" label | --ai-primary (#505382) |
Every AI response must carry attribution — transparency principle |
| Conversation background | --bg-default (#f8f9fc) |
Neutral background from the design system; keeps focus on message content |
AI Typography
AI text uses the design system's standard Lato font family — not a different typeface. AI content should feel integrated, not foreign. The distinction comes from color (Lavender accents) and attribution badges, not typography changes.
| Style | Token | Size | Weight | Usage |
|---|---|---|---|---|
| AI Response Heading | --font-size-body-large |
16px | Semibold (600) | Section titles within AI responses |
| AI Response Body | --font-size-body-medium |
14px | Regular (400) | Main AI response text, chat messages |
| AI Attribution | --font-size-footnote-small |
10px | Semibold (600) | "AI Generated" labels, uppercase with letter-spacing |
| AI Caption | --font-size-footnote-medium |
12px | Regular (400) | Confidence scores, timestamps, metadata |
| AI Prompt Input | --font-size-body-medium |
14px | Regular (400) | User input in prompt/chat fields |
| AI Code/Data | Consolas, monospace | 13px | Regular (400) | Inline data values, formulas, API references in responses |
AI Iconography
AI icons use the product's existing icon set where possible. Where new icons are needed, they follow the design system's 24px grid, 2px stroke weight, and rounded line-cap conventions.
| Icon | Name | Usage | Status |
|---|---|---|---|
| ✨ | Sparkle / Star | Default AI indicator — used in badges, chat headers, and attribution labels | Primary — use this by default |
| ⚡ | Lightning | AI-powered quick actions, instant suggestions | Available in the icon set |
| ℹ | Info Circle | "Why this suggestion?" expandable explanations | Available in the icon set |
| Checkmark | High confidence indicator, accepted suggestion | Available in the icon set | |
| ⚠ | Warning Triangle | Low confidence indicator, needs review | Available in the icon set |
| ↻ | Refresh / Retry | Regenerate AI response, retry on error | Available in the icon set |
Rule: The Sparkle icon is the universal AI marker. Every AI-generated surface must include it at least once — either in the header, the attribution badge, or both. Do not use brain, robot, or humanoid icons (see Anti-Patterns: Anthropomorphization).
Spacing & Layout
AI containers follow the design system's spacing scale. All values map to existing --spacing-* tokens.
| Element | Padding | Margin Bottom | Border Radius | Max Width |
|---|---|---|---|---|
| AI Chat Bubble | 10px 14px | 12px | 12px (4px on tail corner) | 80% of container |
| AI Response Card | 16px 20px | 12px | --radius-lg (12px) |
720px |
| AI Inline Suggestion | 8px 12px | 4px | --radius-md (8px) |
100% of parent |
| AI Prompt Input | 12px 16px | 0 | --radius-md (8px) |
100% of container |
| AI Suggestion Card | 16px | 8px | --radius-lg (12px) |
320px |
| AI Confidence Badge | 4px 10px | 0 (inline) | 12px (pill) | n/a |
AI content left border: 3px solid --ai-primary. Applied to AI chat bubbles, AI response cards, and AI inline suggestions. This is the consistent visual signature that marks AI-originated content.
AI Badge & Label Styles
Every piece of AI content must carry an attribution badge. Three tiers exist based on AI involvement level.
| Badge | Background | Text Color | When to Use |
|---|---|---|---|
| AI Generated | --ai-surface (#eff0fd) |
--ai-primary (#505382) |
Content entirely produced by AI with no human edits. Chat responses, auto-generated reports. |
| AI Suggested | --bg-blue (#e8f3fc) |
--text-blue (#1a78c1) |
Recommendations the user can accept, modify, or dismiss. Scheduling suggestions, smart replies. |
| AI Assisted | --bg-cool-gray (#edeff5) |
--text-secondary (#435773) |
Content where AI contributed but a human authored or substantially edited. Drafts, auto-filled fields. |
Placement rules: Badges appear above or inline with the AI content they describe. In chat, use the inline label format (smaller, uppercase). In cards and reports, use the pill badge format. Never hide the badge behind a hover or expandable section.
Dark Mode Considerations
AI tokens map to dark mode via the design system's [data-theme='dark'] selector. Colors shift to preserve meaning while maintaining contrast on dark surfaces. Surface colors become elevated rather than simply inverted.
| Token | Light Mode | Dark Mode | Notes |
|---|---|---|---|
--ai-primary |
#505382 | #a4a4d9 | Lighten for contrast on dark backgrounds |
--ai-surface |
#eff0fd | #2a2b3d | Elevated dark surface with lavender tint |
--ai-confidence-high |
#1e6421 | #4ade80 | Lighten green for dark backgrounds |
--ai-confidence-medium |
#9c7506 | #fbbf24 | Lighten yellow for dark backgrounds |
--ai-confidence-low |
#e63447 | #ff8a8a | Follows the design system's dark mode red mapping |
--ai-chat-user |
#1a78c1 | #095997 | Slightly darker blue on dark bg for depth |
Contrast requirement: All text on AI surfaces must meet WCAG 2.1 AA (4.5:1 ratio for normal text, 3:1 for large text). Test each token pair in both themes before shipping.