{
  "_meta": {
    "version": "1.0",
    "generated_by": "brandiddit.ai",
    "important": "This is the COMPLETE brand design system. Apply EVERY token below — logo, colors (light + dark), typography, spacing, sizing, radius, shadows, opacity, iconography, voice, messaging, imagery — to anything you generate for this brand. Do NOT substitute defaults, invent new colors, or pick different fonts.",
    "ai_instructions": "If you only read one field, read `ai_prompt` — it is the canonical, ready-to-use system prompt for this brand. All structured tokens below are referenced from it.",
    "usage_instructions": {
      "ai_prompt": "Drop the value of `ai_prompt` directly into your system prompt. It already contains identity, voice, messaging, imagery, color and typography rules.",
      "logo": "No logo is set. Render a letter avatar using the brand's first letter on a square tile filled with the primary color.",
      "colors": "Use these exact hex values for all brand surfaces. Honor light and dark mode tokens (dark_* prefixed) when rendering in dark mode.",
      "fonts": "Load the specified Google Fonts (heading_font and body_font) and apply them — heading_font for headings, body_font for body text.",
      "tokens": "Respect spacing_scale, sizing_scale, radius_scale, shadows, and opacity_scale instead of framework defaults.",
      "iconography": "Use the specified icon_library for any icons in the generated UI."
    }
  },
  "ai_prompt": "You are designing and writing for the brand \"Portland Rides\".\n\nFetch the full brand system JSON here: https://zadvgtvudyyjcriuawvg.supabase.co/functions/v1/design-system?token=0df1c77196c44b83\n\n## Logo\n\nNo uploaded logo. Render a letter avatar showing \"P\" on a square tile filled with #3e54d3, white text, rounded corners.\n\n## Identity\n\n- Name: Portland Rides\n- Personality: Trustworthy, Minimal, Friendly\n\n## Voice\n\n_(not defined)_\n\n## Messaging\n\n_(not defined)_\n\n## Imagery\n\n_(not defined)_\n\n## Design tokens\n\n- Heading font: Figtree. Body font: Inter.\n\n- Primary: #3e54d3 · Secondary: #ffd166 · Accent: #118ab2\n\n- Background: #f7fafc · Surface: #ffffff · Text: #1a202c\n\n- Dark — Primary: #5c71e8 · Background: #0f172a · Text: #f8fafc\n\n- Base spacing: 8px · Border radius: lg\n\n## Rules\n\n- Use only the colors, fonts, spacing, radius and shadows from the brand system above.\n\n- Match the brand voice and messaging in any copy you generate. Respect the Do/Don't list.\n\n- When showing the app icon, use the exact logo src from the Logo section above on the specified logo background. Never use raw storage URLs in Claude artifacts.\n\n- Never invent new brand colors, fonts, or messaging. If something isn't defined, derive it from existing tokens.\n\n- Output production-ready code that references the tokens (CSS variables or Tailwind classes) rather than hardcoded values.\n\n- UI Element overrides are defined in `ui_elements_overrides`. Respect custom button/badge/chip/tag labels, colors, and style tokens (radius, padding, font size/weight, border width) when generating interface components.",
  "logo": {
    "url": null,
    "proxy_url": null,
    "raw_url": null,
    "data_uri": null,
    "usage": null,
    "fallback": {
      "type": "letter_avatar",
      "letter": "P",
      "background_color": "#3e54d3",
      "text_color": "#FFFFFF"
    }
  },
  "id": "f9037b26-d446-43fb-92dd-05f39ae6cf5f",
  "name": "Portland Rides Design System",
  "brand_name": "Portland Rides",
  "industry": null,
  "brand_personality": [
    "Trustworthy",
    "Minimal",
    "Friendly"
  ],
  "primary_color": "#3e54d3",
  "secondary_color": "#ffd166",
  "tertiary_color": "#06d6a0",
  "accent_color": "#118ab2",
  "neutral_color": "#4a5568",
  "background_color": "#f7fafc",
  "surface_color": "#ffffff",
  "surface_elevated_color": "#ffffff",
  "surface_muted_color": "#edf2f7",
  "border_color": "#e2e8f0",
  "text_color": "#1a202c",
  "success_color": "#AEE9D1",
  "warning_color": "#FFD979",
  "error_color": "#FED3D1",
  "info_color": "#B4E1FA",
  "link_color": "#3e54d3",
  "link_hover_color": "#2d3ea0",
  "focus_ring_color": "#3e54d3",
  "hover_opacity": 0.9,
  "active_opacity": 0.8,
  "disabled_opacity": 0.4,
  "dark_primary_color": "#5c71e8",
  "dark_secondary_color": "#ffdb85",
  "dark_tertiary_color": "#26eec1",
  "dark_accent_color": "#22a6d1",
  "dark_neutral_color": "#a0aec0",
  "dark_background_color": "#0f172a",
  "dark_surface_color": "#1e293b",
  "dark_surface_elevated_color": "#334155",
  "dark_surface_muted_color": "#1e293b",
  "dark_border_color": "#334155",
  "dark_text_color": "#f8fafc",
  "dark_success_color": "#1C3829",
  "dark_warning_color": "#3D2E14",
  "dark_error_color": "#3B1C1C",
  "dark_info_color": "#1C2E3D",
  "dark_link_color": "#7a8df3",
  "dark_link_hover_color": "#9caaf7",
  "dark_focus_ring_color": "#5c71e8",
  "heading_font": "Figtree",
  "body_font": "Inter",
  "typography_scale": {
    "h1": {
      "size": 48,
      "weight": 800,
      "lineHeight": 1.1
    },
    "h2": {
      "size": 36,
      "weight": 700,
      "lineHeight": 1.2
    },
    "h3": {
      "size": 30,
      "weight": 700,
      "lineHeight": 1.2
    },
    "h4": {
      "size": 24,
      "weight": 600,
      "lineHeight": 1.3
    },
    "h5": {
      "size": 20,
      "weight": 600,
      "lineHeight": 1.4
    },
    "h6": {
      "size": 18,
      "weight": 600,
      "lineHeight": 1.4
    },
    "body": {
      "size": 16,
      "weight": 400,
      "lineHeight": 1.6
    },
    "code": {
      "size": 14,
      "weight": 400,
      "lineHeight": 1.5
    },
    "link": {
      "size": 16,
      "weight": 600,
      "lineHeight": 1.6
    },
    "label": {
      "size": 14,
      "weight": 600,
      "lineHeight": 1.2
    },
    "caption": {
      "size": 12,
      "weight": 400,
      "lineHeight": 1.4
    },
    "overline": {
      "size": 11,
      "weight": 700,
      "lineHeight": 1.2,
      "letterSpacing": 0.05
    },
    "bodySmall": {
      "size": 14,
      "weight": 400,
      "lineHeight": 1.6
    }
  },
  "base_spacing": 8,
  "spacing_scale": [
    4,
    8,
    12,
    16,
    24,
    32,
    48,
    64,
    96,
    128
  ],
  "sizing_scale": {
    "lg": 64,
    "md": 48,
    "sm": 32,
    "xl": 96,
    "xs": 16,
    "2xl": 128
  },
  "border_radius": "lg",
  "radius_scale": {
    "lg": 12,
    "md": 8,
    "sm": 4,
    "xl": 20,
    "2xl": 32,
    "full": 9999,
    "none": 0
  },
  "shadows": {
    "lg": "0 10px 15px -3px rgba(62, 84, 211, 0.1), 0 4px 6px -2px rgba(62, 84, 211, 0.05)",
    "md": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
    "sm": "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
    "xl": "0 20px 25px -5px rgba(62, 84, 211, 0.1), 0 10px 10px -5px rgba(62, 84, 211, 0.04)",
    "2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
    "none": "none",
    "inner": "inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)"
  },
  "opacity_scale": {
    "0": 0,
    "5": 0.05,
    "10": 0.1,
    "20": 0.2,
    "25": 0.25,
    "30": 0.3,
    "40": 0.4,
    "50": 0.5,
    "60": 0.6,
    "70": 0.7,
    "75": 0.75,
    "80": 0.8,
    "90": 0.9,
    "95": 0.95,
    "100": 1
  },
  "icon_library": {
    "url": "lucide.dev",
    "name": "Lucide Icons",
    "description": "A modern, consistent icon library with clean strokes and excellent readability. Supports customizable size and stroke width for flexible usage across UI contexts."
  },
  "logo_url": null,
  "logo_proxy_url": null,
  "raw_logo_url": null,
  "logo_background_color": null,
  "logo_foreground_style": "white",
  "logo_source": null,
  "created_at": "2026-02-03T00:01:56.754033+00:00",
  "updated_at": "2026-02-12T23:59:46.468513+00:00",
  "share_token": "0df1c77196c44b83",
  "tagline": null,
  "brand_voice": null,
  "messaging": null,
  "imagery": null,
  "voice_examples": null,
  "ui_elements_overrides": {},
  "components": {
    "button": {
      "variants": [
        "primary",
        "secondary",
        "outline",
        "ghost",
        "destructive"
      ],
      "states": {
        "default": {
          "bg": "#3e54d3",
          "fg": "#ffffff",
          "border": "#3e54d3"
        },
        "hover": {
          "bg": "#384cbe",
          "fg": "#ffffff",
          "border": "#384cbe",
          "note": "10% darker than primary"
        },
        "active": {
          "bg": "#3345ad",
          "fg": "#ffffff",
          "border": "#3345ad",
          "note": "18% darker than primary"
        },
        "focus_visible": {
          "bg": "#3e54d3",
          "fg": "#ffffff",
          "border": "#3e54d3",
          "outline": "2px solid #3e54d3",
          "outlineOffset": "2px"
        },
        "disabled": {
          "bg": "#3e54d3",
          "fg": "#ffffff",
          "border": "#3e54d3",
          "opacity": 0.4,
          "cursor": "not-allowed"
        },
        "loading": {
          "bg": "#3e54d3",
          "fg": "#ffffff",
          "border": "#3e54d3",
          "note": "Show spinner in fg color, hide label with visibility:hidden"
        }
      },
      "contrast": {
        "fg_on_primary": {
          "ratio": 6.15,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "fail"
        },
        "primary_on_bg": {
          "ratio": 5.87,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "fail"
        }
      },
      "snippets": {
        "tailwind": "<button\n  className=\"inline-flex items-center justify-center gap-2 rounded-[8px] px-4 py-2 text-sm font-semibold transition-colors disabled:opacity-[0.4] disabled:cursor-not-allowed focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2\"\n  style={{ background: \"#3e54d3\", color: \"#ffffff\", [\"--tw-ring-color\" as any]: \"#3e54d3\" }}\n  onMouseOver={(e) => (e.currentTarget.style.background = \"#384cbe\")}\n  onMouseOut={(e) => (e.currentTarget.style.background = \"#3e54d3\")}\n>Continue</button>",
        "css": ".btn-primary {\n  background: #3e54d3;\n  color: #ffffff;\n  border-radius: 8px;\n  padding: 10px 16px;\n  font-weight: 600;\n  transition: background-color 150ms ease;\n}\n.btn-primary:hover { background: #384cbe; }\n.btn-primary:active { background: #3345ad; }\n.btn-primary:focus-visible { outline: 2px solid #3e54d3; outline-offset: 2px; }\n.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }",
        "react": "export function PrimaryButton(props: React.ButtonHTMLAttributes<HTMLButtonElement>) {\n  return <button {...props} className=\"btn-primary\" />;\n}"
      }
    },
    "badge": {
      "variants": [
        "solid",
        "subtle",
        "outline"
      ],
      "states": {
        "default": {
          "bg": "#3e54d3",
          "fg": "#ffffff"
        },
        "subtle": {
          "bg": "#3e54d322",
          "fg": "#3e54d3",
          "note": "12% alpha wash"
        },
        "outline": {
          "bg": "transparent",
          "fg": "#1a202c",
          "border": "#e2e8f0"
        }
      },
      "contrast": {
        "solid": {
          "ratio": 6.15,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "fail"
        },
        "subtle": {
          "ratio": 5.87,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "fail"
        }
      },
      "snippets": {
        "tailwind": "<span className=\"inline-flex items-center rounded-[4px] px-2 py-0.5 text-xs font-semibold\" style={{ background: \"#3e54d3\", color: \"#ffffff\" }}>New</span>",
        "css": ".badge { background: #3e54d3; color: #ffffff; border-radius: 4px; padding: 2px 8px; font-size: 12px; font-weight: 600; }"
      }
    },
    "input": {
      "variants": [
        "default",
        "error",
        "disabled"
      ],
      "states": {
        "default": {
          "bg": "#ffffff",
          "fg": "#1a202c",
          "border": "#e2e8f0"
        },
        "hover": {
          "bg": "#ffffff",
          "fg": "#1a202c",
          "border": "#c0c5cc"
        },
        "focus": {
          "bg": "#ffffff",
          "fg": "#1a202c",
          "border": "#3e54d3",
          "outline": "2px solid #3e54d333",
          "outlineOffset": "0px"
        },
        "disabled": {
          "bg": "#ffffff",
          "fg": "#1a202c",
          "border": "#e2e8f0",
          "opacity": 0.4,
          "cursor": "not-allowed"
        },
        "error": {
          "bg": "#ffffff",
          "fg": "#1a202c",
          "border": "#FED3D1"
        }
      },
      "contrast": {
        "text_on_surface": {
          "ratio": 16.32,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "pass"
        }
      },
      "snippets": {
        "tailwind": "<input className=\"w-full rounded-[8px] border px-3 py-2 text-sm outline-none focus:ring-2\" style={{ background: \"#ffffff\", color: \"#1a202c\", borderColor: \"#e2e8f0\", [\"--tw-ring-color\" as any]: \"#3e54d3\" }} />",
        "css": ".input { background: #ffffff; color: #1a202c; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 12px; font-size: 14px; }\n.input:focus { outline: none; border-color: #3e54d3; box-shadow: 0 0 0 3px #3e54d333; }\n.input:disabled { opacity: 0.4; cursor: not-allowed; }"
      }
    },
    "card": {
      "variants": [
        "default",
        "elevated",
        "outlined"
      ],
      "states": {
        "default": {
          "bg": "#ffffff",
          "fg": "#1a202c",
          "border": "#e2e8f0",
          "radius": 12,
          "shadow": "0 1px 2px 0 rgba(0, 0, 0, 0.05)"
        },
        "elevated": {
          "bg": "#ffffff",
          "fg": "#1a202c",
          "border": "transparent",
          "radius": 12,
          "shadow": "0 10px 15px -3px rgba(62, 84, 211, 0.1), 0 4px 6px -2px rgba(62, 84, 211, 0.05)"
        },
        "outlined": {
          "bg": "transparent",
          "fg": "#1a202c",
          "border": "#e2e8f0",
          "radius": 12,
          "shadow": "none"
        }
      },
      "contrast": {
        "text_on_surface": {
          "ratio": 16.32,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "pass"
        }
      },
      "snippets": {
        "tailwind": "<div className=\"p-6 border\" style={{ background: \"#ffffff\", color: \"#1a202c\", borderColor: \"#e2e8f0\", borderRadius: 12, boxShadow: \"0 1px 2px 0 rgba(0, 0, 0, 0.05)\" }}>…</div>",
        "css": ".card { background: #ffffff; color: #1a202c; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }"
      }
    },
    "alert": {
      "variants": [
        "success",
        "warning",
        "error",
        "info"
      ],
      "states": {
        "success": {
          "bg": "#AEE9D1",
          "fg": "#111827"
        },
        "warning": {
          "bg": "#FFD979",
          "fg": "#111827"
        },
        "error": {
          "bg": "#FED3D1",
          "fg": "#111827"
        },
        "info": {
          "bg": "#B4E1FA",
          "fg": "#111827"
        }
      },
      "contrast": {
        "success": {
          "ratio": 8.92,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "pass"
        },
        "warning": {
          "ratio": 9.69,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "pass"
        },
        "error": {
          "ratio": 6,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "fail"
        },
        "info": {
          "ratio": 7.06,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "pass"
        }
      },
      "snippets": {
        "tailwind": "<div role=\"alert\" className=\"flex items-start gap-3 p-4\" style={{ background: \"#B4E1FA\", color: \"#004480\", borderRadius: 8 }}>…</div>",
        "css": ".alert-info { background: #B4E1FA; color: #004480; border-radius: 8px; padding: 16px; }"
      }
    }
  }
}