{
  "_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 \"Portlandebikerebate\".\n\nFetch the full brand system JSON here: https://zadvgtvudyyjcriuawvg.supabase.co/functions/v1/design-system?token=a17e06c37be24e3a91bd571c0ced77a6\n\n## Logo\n\nNo uploaded logo. Render a letter avatar showing \"P\" on a square tile filled with #40D9F1, white text, rounded corners.\n\n## Identity\n\n- Name: Portlandebikerebate\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: Verdana. Body font: Verdana.\n\n- Primary: #40D9F1 · Secondary: #A855F7 · Accent: #34D399\n\n- Background: #F8FAFC · Surface: #FFFFFF · Text: #0F172A\n\n- Dark — Primary: #67E8F9 · Background: #0F172A · Text: #F1F5F9\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": "#40D9F1",
      "text_color": "#FFFFFF"
    }
  },
  "id": "75f645d1-915c-43e1-a8c8-e70a88c0e1c2",
  "name": "Portland Bike Rebate",
  "brand_name": "Portlandebikerebate",
  "industry": null,
  "brand_personality": [],
  "primary_color": "#40D9F1",
  "secondary_color": "#A855F7",
  "tertiary_color": "#F15840",
  "accent_color": "#34D399",
  "neutral_color": "#475569",
  "background_color": "#F8FAFC",
  "surface_color": "#FFFFFF",
  "surface_elevated_color": "#FFFFFF",
  "surface_muted_color": "#F1F5F9",
  "border_color": "#E2E8F0",
  "text_color": "#0F172A",
  "success_color": "#AEE9D1",
  "warning_color": "#FFD979",
  "error_color": "#FED3D1",
  "info_color": "#B4E1FA",
  "link_color": "#40D9F1",
  "link_hover_color": "#22C1D8",
  "focus_ring_color": "#A855F7",
  "hover_opacity": 0.85,
  "active_opacity": 0.7,
  "disabled_opacity": 0.4,
  "dark_primary_color": "#67E8F9",
  "dark_secondary_color": "#C084FC",
  "dark_tertiary_color": "#F87171",
  "dark_accent_color": "#6EE7B7",
  "dark_neutral_color": "#94A3B8",
  "dark_background_color": "#0F172A",
  "dark_surface_color": "#1E293B",
  "dark_surface_elevated_color": "#334155",
  "dark_surface_muted_color": "#1E2235",
  "dark_border_color": "#334155",
  "dark_text_color": "#F1F5F9",
  "dark_success_color": "#1C3829",
  "dark_warning_color": "#3D2E14",
  "dark_error_color": "#3B1C1C",
  "dark_info_color": "#1C2E3D",
  "dark_link_color": "#67E8F9",
  "dark_link_hover_color": "#40D9F1",
  "dark_focus_ring_color": "#C084FC",
  "heading_font": "Verdana",
  "body_font": "Verdana",
  "typography_scale": {
    "h1": {
      "size": 48,
      "weight": 700,
      "lineHeight": 1.2
    },
    "h2": {
      "size": 36,
      "weight": 700,
      "lineHeight": 1.25
    },
    "h3": {
      "size": 30,
      "weight": 700,
      "lineHeight": 1.3
    },
    "h4": {
      "size": 24,
      "weight": 700,
      "lineHeight": 1.35
    },
    "h5": {
      "size": 20,
      "weight": 700,
      "lineHeight": 1.4
    },
    "h6": {
      "size": 18,
      "weight": 700,
      "lineHeight": 1.4
    },
    "body": {
      "size": 16,
      "weight": 400,
      "lineHeight": 1.6
    },
    "code": {
      "size": 14,
      "weight": 400,
      "lineHeight": 1.5
    },
    "link": {
      "size": 16,
      "weight": 700,
      "lineHeight": 1.6
    },
    "label": {
      "size": 14,
      "weight": 700,
      "lineHeight": 1.2
    },
    "caption": {
      "size": 12,
      "weight": 400,
      "lineHeight": 1.5
    },
    "overline": {
      "size": 11,
      "weight": 700,
      "lineHeight": 1.2,
      "letterSpacing": 1.5
    },
    "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": 24,
    "md": 16,
    "sm": 8,
    "xl": 32,
    "xs": 4,
    "2xl": 48
  },
  "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(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1)",
    "md": "0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1)",
    "sm": "0 1px 2px 0 rgba(15, 23, 42, 0.05)",
    "xl": "0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1)",
    "2xl": "0 25px 50px -12px rgba(15, 23, 42, 0.25)",
    "none": "none",
    "inner": "inset 0 2px 4px 0 rgba(15, 23, 42, 0.05)"
  },
  "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-11T01:15:14.030559+00:00",
  "updated_at": "2026-07-01T17:27:17.910597+00:00",
  "share_token": "a17e06c37be24e3a91bd571c0ced77a6",
  "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": "#40D9F1",
          "fg": "#111827",
          "border": "#40D9F1"
        },
        "hover": {
          "bg": "#3ac3d9",
          "fg": "#111827",
          "border": "#3ac3d9",
          "note": "10% darker than primary"
        },
        "active": {
          "bg": "#34b2c6",
          "fg": "#111827",
          "border": "#34b2c6",
          "note": "18% darker than primary"
        },
        "focus_visible": {
          "bg": "#40D9F1",
          "fg": "#111827",
          "border": "#40D9F1",
          "outline": "2px solid #A855F7",
          "outlineOffset": "2px"
        },
        "disabled": {
          "bg": "#40D9F1",
          "fg": "#111827",
          "border": "#40D9F1",
          "opacity": 0.4,
          "cursor": "not-allowed"
        },
        "loading": {
          "bg": "#40D9F1",
          "fg": "#111827",
          "border": "#40D9F1",
          "note": "Show spinner in fg color, hide label with visibility:hidden"
        }
      },
      "contrast": {
        "fg_on_primary": {
          "ratio": 10.49,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "pass"
        },
        "primary_on_bg": {
          "ratio": 1.62,
          "aa_normal": "fail",
          "aa_large": "fail",
          "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: \"#40D9F1\", color: \"#111827\", [\"--tw-ring-color\" as any]: \"#A855F7\" }}\n  onMouseOver={(e) => (e.currentTarget.style.background = \"#3ac3d9\")}\n  onMouseOut={(e) => (e.currentTarget.style.background = \"#40D9F1\")}\n>Continue</button>",
        "css": ".btn-primary {\n  background: #40D9F1;\n  color: #111827;\n  border-radius: 8px;\n  padding: 10px 16px;\n  font-weight: 600;\n  transition: background-color 150ms ease;\n}\n.btn-primary:hover { background: #3ac3d9; }\n.btn-primary:active { background: #34b2c6; }\n.btn-primary:focus-visible { outline: 2px solid #A855F7; 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": "#40D9F1",
          "fg": "#111827"
        },
        "subtle": {
          "bg": "#40D9F122",
          "fg": "#40D9F1",
          "note": "12% alpha wash"
        },
        "outline": {
          "bg": "transparent",
          "fg": "#0F172A",
          "border": "#E2E8F0"
        }
      },
      "contrast": {
        "solid": {
          "ratio": 10.49,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "pass"
        },
        "subtle": {
          "ratio": 1.62,
          "aa_normal": "fail",
          "aa_large": "fail",
          "aaa_normal": "fail"
        }
      },
      "snippets": {
        "tailwind": "<span className=\"inline-flex items-center rounded-[4px] px-2 py-0.5 text-xs font-semibold\" style={{ background: \"#40D9F1\", color: \"#111827\" }}>New</span>",
        "css": ".badge { background: #40D9F1; color: #111827; border-radius: 4px; padding: 2px 8px; font-size: 12px; font-weight: 600; }"
      }
    },
    "input": {
      "variants": [
        "default",
        "error",
        "disabled"
      ],
      "states": {
        "default": {
          "bg": "#FFFFFF",
          "fg": "#0F172A",
          "border": "#E2E8F0"
        },
        "hover": {
          "bg": "#FFFFFF",
          "fg": "#0F172A",
          "border": "#c0c5cc"
        },
        "focus": {
          "bg": "#FFFFFF",
          "fg": "#0F172A",
          "border": "#A855F7",
          "outline": "2px solid #A855F733",
          "outlineOffset": "0px"
        },
        "disabled": {
          "bg": "#FFFFFF",
          "fg": "#0F172A",
          "border": "#E2E8F0",
          "opacity": 0.4,
          "cursor": "not-allowed"
        },
        "error": {
          "bg": "#FFFFFF",
          "fg": "#0F172A",
          "border": "#FED3D1"
        }
      },
      "contrast": {
        "text_on_surface": {
          "ratio": 17.85,
          "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: \"#0F172A\", borderColor: \"#E2E8F0\", [\"--tw-ring-color\" as any]: \"#A855F7\" }} />",
        "css": ".input { background: #FFFFFF; color: #0F172A; border: 1px solid #E2E8F0; border-radius: 8px; padding: 8px 12px; font-size: 14px; }\n.input:focus { outline: none; border-color: #A855F7; box-shadow: 0 0 0 3px #A855F733; }\n.input:disabled { opacity: 0.4; cursor: not-allowed; }"
      }
    },
    "card": {
      "variants": [
        "default",
        "elevated",
        "outlined"
      ],
      "states": {
        "default": {
          "bg": "#FFFFFF",
          "fg": "#0F172A",
          "border": "#E2E8F0",
          "radius": 12,
          "shadow": "0 1px 2px 0 rgba(15, 23, 42, 0.05)"
        },
        "elevated": {
          "bg": "#FFFFFF",
          "fg": "#0F172A",
          "border": "transparent",
          "radius": 12,
          "shadow": "0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1)"
        },
        "outlined": {
          "bg": "transparent",
          "fg": "#0F172A",
          "border": "#E2E8F0",
          "radius": 12,
          "shadow": "none"
        }
      },
      "contrast": {
        "text_on_surface": {
          "ratio": 17.85,
          "aa_normal": "pass",
          "aa_large": "pass",
          "aaa_normal": "pass"
        }
      },
      "snippets": {
        "tailwind": "<div className=\"p-6 border\" style={{ background: \"#FFFFFF\", color: \"#0F172A\", borderColor: \"#E2E8F0\", borderRadius: 12, boxShadow: \"0 1px 2px 0 rgba(15, 23, 42, 0.05)\" }}>…</div>",
        "css": ".card { background: #FFFFFF; color: #0F172A; border: 1px solid #E2E8F0; border-radius: 12px; padding: 24px; box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 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; }"
      }
    }
  }
}