{
 "name": "Hermes",
 "version": 1,
 "color": {
  "themes": [
   {
    "id": "dark",
    "name": "Night"
   },
   {
    "id": "light",
    "name": "Aurora"
   }
  ],
  "tokens": [
   {
    "name": "background",
    "value": {
     "light": "#f6ead0",
     "dark": "#160b08"
    },
    "usage": "Page ground. Night (the default): umber night. Aurora: plaster from Reni's fresco."
   },
   {
    "name": "foreground",
    "value": {
     "light": "#2b140e",
     "dark": "#f7e6c4"
    },
    "usage": "Body text and headlines on background, card and secondary. Aurora umber 14.6:1 on background; Night parchment 15.7:1."
   },
   {
    "name": "card",
    "value": {
     "light": "#fcf5e6",
     "dark": "#21130e"
    },
    "usage": "Plaques, panels, dialogs and the route list. Aurora: vellum."
   },
   {
    "name": "card-foreground",
    "value": {
     "light": "#2b140e",
     "dark": "#f7e6c4"
    },
    "usage": "Text on card. Same value as foreground."
   },
   {
    "name": "popover",
    "value": {
     "light": "#fcf5e6",
     "dark": "#21130e"
    },
    "usage": "Menus, sheets and the token picker. Same as card."
   },
   {
    "name": "popover-foreground",
    "value": {
     "light": "#2b140e",
     "dark": "#f7e6c4"
    },
    "usage": "Text on popover."
   },
   {
    "name": "primary",
    "value": {
     "light": "#1ab5b7",
     "dark": "#1ab5b7"
    },
    "usage": "Logo teal. Fills only: the main button, the best rate's mark, the selected route. Never text on a light ground. One teal button per screen."
   },
   {
    "name": "primary-foreground",
    "value": {
     "light": "#2b140e",
     "dark": "#2b140e"
    },
    "usage": "Text on primary in both themes: umber on teal, 6.9:1. Never white on teal."
   },
   {
    "name": "secondary",
    "value": {
     "light": "#efddb8",
     "dark": "#2c1a13"
    },
    "usage": "Sky gold: active tabs, hovered rows, medallion fill."
   },
   {
    "name": "secondary-foreground",
    "value": {
     "light": "#2b140e",
     "dark": "#f7e6c4"
    },
    "usage": "Text on secondary."
   },
   {
    "name": "muted",
    "value": {
     "light": "#f2e0ba",
     "dark": "#2c1a13"
    },
    "usage": "Quiet fills: skeletons, inactive segments."
   },
   {
    "name": "muted-foreground",
    "value": {
     "light": "#6b4a36",
     "dark": "#c7a988"
    },
    "usage": "Labels, sources, read times, units. Aurora sienna 7.3:1 on card; Night sand 8.1:1."
   },
   {
    "name": "accent",
    "value": {
     "light": "#f2e0ba",
     "dark": "#2e2310"
    },
    "usage": "The selected route's row and panel fill."
   },
   {
    "name": "accent-foreground",
    "value": {
     "light": "#2b140e",
     "dark": "#f7e6c4"
    },
    "usage": "Text on accent."
   },
   {
    "name": "ink",
    "value": {
     "light": "#086668",
     "dark": "#3fd0d2"
    },
    "usage": "Teal as text: the best APY, links, This route. 6.2:1 on card in Aurora, 9.6:1 in Night. Also the focus ring."
   },
   {
    "name": "ornament",
    "value": {
     "light": "#8e3b1f",
     "dark": "#f2c585"
    },
    "usage": "Terracotta (Night: gold). Eyebrows, Roman numerals, section pills. 6.9:1 on card in Aurora."
   },
   {
    "name": "success",
    "value": {
     "light": "#456028",
     "dark": "#a9c08a"
    },
    "usage": "Olive. Safety Score 80 and up, low risk. Always beside the number or a word, never colour alone."
   },
   {
    "name": "warning",
    "value": {
     "light": "#865408",
     "dark": "#e9a84e"
    },
    "usage": "Ochre. Safety Score 60 to 79, moderate risk, a reserve 95% or more borrowed."
   },
   {
    "name": "destructive",
    "value": {
     "light": "#a33a22",
     "dark": "#f08a6b"
    },
    "usage": "Vermilion. Safety Score under 60, high risk, errors, a failed transaction."
   },
   {
    "name": "warning-surface",
    "value": {
     "light": "#f7e3b8",
     "dark": "#2e2310"
    },
    "usage": "Fill behind a warning note. warning text on it: 5.1:1 Aurora, 7.5:1 Night."
   },
   {
    "name": "warning-line",
    "value": {
     "light": "#d9b26a",
     "dark": "#5a4416"
    },
    "usage": "Border of a warning note."
   },
   {
    "name": "destructive-surface",
    "value": {
     "light": "#f6dccf",
     "dark": "#2e1712"
    },
    "usage": "Fill behind an error note. destructive text on it: 5.0:1 Aurora, 6.9:1 Night."
   },
   {
    "name": "destructive-line",
    "value": {
     "light": "#e3a898",
     "dark": "#6b2e22"
    },
    "usage": "Border of an error note."
   },
   {
    "name": "ink-surface",
    "value": {
     "light": "#ddefe9",
     "dark": "#14282a"
    },
    "usage": "Fill for the current route row and teal notes. ink text on it: 5.7:1 Aurora, 8.2:1 Night."
   },
   {
    "name": "ink-line",
    "value": {
     "light": "#8ccfc8",
     "dark": "#1d5557"
    },
    "usage": "Border of a teal note and the This route chip."
   },
   {
    "name": "gilt",
    "value": {
     "light": "#b99467",
     "dark": "#6b4a36"
    },
    "usage": "Frames, rules, the diamond, medallion rings. Ornament only, never text (2.6:1 on card)."
   },
   {
    "name": "frame",
    "value": {
     "light": "#cdb185",
     "dark": "#6b4a36"
    },
    "usage": "The plaque's outer frame and the framed button's border. Ornament: 1.9:1 on card in Aurora, under the 3:1 for control borders. The source keeps it; pair a framed button with a clear label."
   },
   {
    "name": "hairline",
    "value": {
     "light": "#e3cfa8",
     "dark": "#45291e"
    },
    "usage": "The plaque's inner rule and row dividers in the route list."
   },
   {
    "name": "row-line",
    "value": {
     "light": "#eadbbe",
     "dark": "#3a2318"
    },
    "usage": "Dividers between table rows."
   },
   {
    "name": "plate",
    "value": {
     "light": "#f8eeda",
     "dark": "#1c100b"
    },
    "usage": "A recessed plate inside a card: the quote box, the deposit summary."
   },
   {
    "name": "beta-dot",
    "value": {
     "light": "#c27a1a",
     "dark": "#e9a84e"
    },
    "usage": "The dot on the Mainnet beta pill."
   },
   {
    "name": "placeholder",
    "value": {
     "light": "#9c7b61",
     "dark": "#8e755e"
    },
    "usage": "Placeholder text in inputs. Aurora 3.6:1 on card, under 4.5:1: the source keeps it, so never put needed words in a placeholder."
   },
   {
    "name": "border",
    "value": {
     "light": "#dcc59c",
     "dark": "#45291e"
    },
    "usage": "Default border for inputs, toggles and cards outside a plaque."
   },
   {
    "name": "input",
    "value": {
     "light": "#cdb185",
     "dark": "#6b4a36"
    },
    "usage": "Input field borders."
   },
   {
    "name": "ring",
    "value": {
     "light": "{ink}",
     "dark": "{ink}"
    },
    "usage": "Focus ring: a 2px solid outline, 2px offset, on every focusable element. 5.7:1 on background in Aurora."
   }
  ]
 },
 "type": {
  "fonts": [
   {
    "family": "Hermes Cormorant",
    "file": "fonts/HermesCormorant-SemiBold.ttf",
    "weight": "600",
    "style": "normal"
   },
   {
    "family": "Hermes Inter",
    "file": "fonts/HermesInter-SemiBold.ttf",
    "weight": "600",
    "style": "normal"
   },
   {
    "family": "Inter",
    "file": "fonts/Inter-Medium.ttf",
    "weight": "500",
    "style": "normal"
   }
  ],
  "families": {
   "display": "\"Hermes Cormorant\", \"Cormorant Garamond\", Georgia, serif",
   "sans": "Inter, \"Hermes Inter\", system-ui, sans-serif"
  },
  "scale": [
   {
    "name": "micro",
    "fontSize": "11px",
    "lineHeight": "16px",
    "letterSpacing": "0.005em",
    "usage": "Badges (Best quote), labels in capitals."
   },
   {
    "name": "small",
    "fontSize": "13px",
    "lineHeight": "20px",
    "letterSpacing": "-0.003em",
    "usage": "Second lines, sources, notes, Safety 93 under a route."
   },
   {
    "name": "body",
    "fontSize": "15px",
    "lineHeight": "24px",
    "letterSpacing": "-0.009em",
    "usage": "Sentences, buttons, a route's name in a list, the Roman eyebrows."
   },
   {
    "name": "lead",
    "fontSize": "17px",
    "lineHeight": "26px",
    "letterSpacing": "-0.013em",
    "usage": "Intros, a route's name on a card, the rate in a row."
   },
   {
    "name": "title",
    "fontSize": "20px",
    "lineHeight": "26px",
    "letterSpacing": "-0.017em",
    "usage": "Panel titles, the APY on the deposit card."
   },
   {
    "name": "heading",
    "fontSize": "26px",
    "lineHeight": "32px",
    "letterSpacing": "-0.02em",
    "usage": "Dialog titles, card titles, typed amounts."
   },
   {
    "name": "display-sm",
    "fontSize": "34px",
    "lineHeight": "40px",
    "letterSpacing": "-0.022em",
    "usage": "Section titles on phones, the landing page's live numbers."
   },
   {
    "name": "display",
    "fontSize": "44px",
    "lineHeight": "48px",
    "letterSpacing": "-0.022em",
    "usage": "Section titles, page titles on phones."
   },
   {
    "name": "display-lg",
    "fontSize": "56px",
    "lineHeight": "60px",
    "letterSpacing": "-0.022em",
    "usage": "Page titles on tablets, closing titles."
   },
   {
    "name": "hero",
    "fontSize": "72px",
    "lineHeight": "72px",
    "letterSpacing": "-0.022em",
    "usage": "Page titles at desktop width."
   }
  ],
  "groups": [
   {
    "name": "Display",
    "family": "display",
    "styles": [
     {
      "name": "headline",
      "step": "title and up",
      "fontWeight": 600,
      "letterSpacing": "-0.005em",
      "sample": "Your guide to Solana yield",
      "usage": "Every headline: pages, sections, cards, dialogs. Bold (700) for card and dialog titles. Never under 20px: the serif's small x-height reads too small next to Inter."
     },
     {
      "name": "eyebrow",
      "step": "body",
      "fontWeight": 700,
      "letterSpacing": "0.14em",
      "textTransform": "uppercase",
      "sample": "Find your route",
      "usage": "The Roman capitals over a section, in ornament, alone or in the section pill. The only capitals in Cormorant."
     },
     {
      "name": "numeral",
      "step": "heading",
      "fontWeight": 600,
      "sample": "IV",
      "usage": "Roman numerals on steps and the roadmap, in ornament."
     }
    ]
   },
   {
    "name": "Sans",
    "family": "sans",
    "styles": [
     {
      "name": "label-caps",
      "step": "micro",
      "fontWeight": 600,
      "letterSpacing": "0.06em",
      "textTransform": "uppercase",
      "fontFeatureSettings": "\"case\"",
      "sample": "Amount",
      "usage": "Field labels and column heads, in muted-foreground."
     },
     {
      "name": "route-name",
      "step": "body (lists), lead (cards)",
      "fontWeight": 600,
      "sample": "Kamino Lend",
      "usage": "A route's name."
     },
     {
      "name": "rate",
      "step": "lead",
      "fontWeight": 600,
      "sample": "5.39%",
      "usage": "The APY or the quote in a row, ink when it is the best shown. Tabular figures."
     },
     {
      "name": "figure",
      "step": "display-sm",
      "fontWeight": 600,
      "sample": "$2.7B",
      "usage": "A large live number: the landing page's live numbers, a route page's APY and score."
     },
     {
      "name": "score",
      "step": "lead or title",
      "fontWeight": 600,
      "sample": "93",
      "usage": "The Safety Score number, coloured by tier."
     },
     {
      "name": "text",
      "step": "body or small",
      "fontWeight": 400,
      "sample": "Your wallet signs it, and the money goes straight to the protocol.",
      "usage": "Sentences, notes, sources. Medium (500) and semibold (600) for emphasis; no bold."
     },
     {
      "name": "button",
      "step": "body",
      "fontWeight": 600,
      "sample": "Launch app",
      "usage": "Button labels. Buttons are 48px tall (52px for the deposit button, 36px small, with 13px labels)."
     }
    ]
   }
  ],
  "rules": [
   "Two families. Cormorant Garamond sets headlines, Roman numerals and the eyebrows. Inter sets everything else.",
   "Every size is a step of the scale. scripts/check-type.mjs in frontend fails on a size, line height or letter spacing off it.",
   "Every number is Inter with tabular figures, so live rates hold their width as they refresh.",
   "Weights: Inter 400, 500 and 600. Cormorant 600 and 700.",
   "Capitals only for labels (Inter, 0.06em) and eyebrows (Cormorant, 0.14em). Everything else is sentence case. No italic."
  ]
 },
 "spacing": {
  "tokens": [
   {
    "name": "mat",
    "value": "4px",
    "usage": "The gap between a plaque's outer frame and its inner rule."
   },
   {
    "name": "chip-x",
    "value": "8px",
    "usage": "Side padding inside a chip."
   },
   {
    "name": "row-y",
    "value": "14px",
    "usage": "Top and bottom padding of a route row."
   },
   {
    "name": "row-x",
    "value": "16px",
    "usage": "Side padding of a route row on phones."
   },
   {
    "name": "row-x-wide",
    "value": "20px",
    "usage": "Side padding of a route row from 768px."
   }
  ]
 },
 "radius": {
  "tokens": [
   {
    "name": "radius-tile",
    "value": "8px",
    "usage": "Keys, tooltips, a small tile inside a row."
   },
   {
    "name": "radius-row",
    "value": "12px",
    "usage": "Rows, menu items, notices, single-line inputs."
   },
   {
    "name": "radius-field",
    "value": "16px",
    "usage": "Boxes inside a card: what lands, a quote list, the Why panel."
   },
   {
    "name": "radius-inset",
    "value": "20px",
    "usage": "A card's inner frame, 4px inside it: the card's curve less the mat, so both share a centre."
   },
   {
    "name": "radius-card",
    "value": "24px",
    "usage": "Cards, dialogs, plaques. From the round ends of the wing mark and Titan's panels."
   },
   {
    "name": "radius-panel",
    "value": "32px",
    "usage": "Wide panels and plates that hold cards."
   },
   {
    "name": "pill",
    "value": "half the height",
    "usage": "Every button, toggle, chip and tag: the radius is half the height, from the pill's size class (pill-20 to pill-52), never 999px. A field around a pill (.pill-field, the amount box) takes the pill's radius plus its gap and its 1px frame."
   },
   {
    "name": "arch-44",
    "value": "44px",
    "usage": "The arched top of a small card on phones."
   },
   {
    "name": "arch-72",
    "value": "72px",
    "usage": "The arched top of a card in a row of cards."
   },
   {
    "name": "arch-80",
    "value": "80px",
    "usage": "The default arched top, from the fresco's frame. The inner rule follows it 4px in."
   },
   {
    "name": "arch-96",
    "value": "96px",
    "usage": "The arched top of a wide panel."
   },
   {
    "name": "arch-120",
    "value": "120px",
    "usage": "The hero plaque's arch at desktop width."
   }
  ]
 },
 "shadow": {
  "tokens": [
   {
    "name": "shadow-card",
    "value": {
     "light": "0 1px 2px rgb(43 20 14 / 0.05)",
     "dark": "inset 0 1px 0 rgb(247 230 196 / 0.04)"
    },
    "usage": "A card's own edge: a hairline lift on the plaster in Aurora, a faint top light in Night. Every card on the admin plate."
   },
   {
    "name": "shadow-plaque",
    "value": "0 30px 70px -45px rgb(43 20 14 / 0.6)",
    "usage": "Under the hero plaque, the route page plaque and the Safety Score showcase. A long, low umber shadow."
   },
   {
    "name": "shadow-raised",
    "value": "0 14px 30px -24px rgb(43 20 14 / 0.7)",
    "usage": "A small card lifted off a plaque: the drawings in How it works, the checklist's medallion."
   },
   {
    "name": "shadow-menu",
    "value": "0 12px 40px rgb(0 0 0 / 0.25)",
    "usage": "Floating panels: the app menu and the cookie banner."
   },
   {
    "name": "shadow-dialog",
    "value": "0 24px 64px rgb(0 0 0 / 0.45)",
    "usage": "Dialogs: deposit, withdraw, Reroute, split, Match, Docs search, the welcome card and the tour."
   },
   {
    "name": "shadow-sheet",
    "value": "0 -12px 40px rgb(0 0 0 / 0.3)",
    "usage": "A bottom sheet on phones (the token picker), its shadow cast upward."
   }
  ]
 },
 "motion": {
  "rule": "Every transition and entrance runs under 300ms (owner's rule, 5 Dec 2026). Only the rate strip's loop, the loading sweep under the app's header and the scroll-linked rise keep their own clock, since nothing waits on them.",
  "tokens": [
   {
    "name": "motion-hover",
    "value": "150ms",
    "usage": "Hovers and colour changes: duration-150."
   },
   {
    "name": "motion-fade",
    "value": "200ms",
    "usage": "Fades, dialogs and panels opening: duration-200."
   },
   {
    "name": "motion-travel",
    "value": "250ms",
    "usage": "Anything that travels: a progress bar, the tour's spotlight: duration-250."
   },
   {
    "name": "ease",
    "value": "cubic-bezier(0, 0, 0.2, 1)",
    "usage": "ease-out for everything that enters or moves. Nothing bounces."
   }
  ]
 },
 "meta": {
  "source": "github",
  "repo": "alpharobin-sol/Hermes",
  "ref": "main@d681abd",
  "package": "frontend",
  "paths": {
   "tokens": [
    "frontend/app/globals.css"
   ],
   "fonts": [
    "frontend/assets/fonts"
   ],
   "assets": [
    "frontend/public/brand",
    "frontend/assets/images"
   ],
   "docs": [
    "AGENTS.md",
    "docs/VISION.md"
   ]
  },
  "synced": "2026-12-05"
 }
}
