{
  "$description": "africa.finance design tokens v1.0.0 (candidate), W3C design tokens format. Built on RWA.io Design System v4.0.5.",
  "color": {
    "day": {
      "bg": {
        "$type": "color",
        "$value": "#F4F5F8",
        "$description": "Page ground. Day: RWA.io Paper. Night: RWA.io Navy Field."
      },
      "surface": {
        "$type": "color",
        "$value": "#FFFFFF",
        "$description": "Cards, inputs, menus. Night: RWA.io Navy 800."
      },
      "surface-2": {
        "$type": "color",
        "$value": "#F2F3F4",
        "$description": "Hover, code blocks, table stripes. Day: Gray 50. Night: Navy 700."
      },
      "line": {
        "$type": "color",
        "$value": "#E3E5EB",
        "$description": "Hairlines and dividers. Decorative only, never the only boundary of a control."
      },
      "ink": {
        "$type": "color",
        "$value": "#241F20",
        "$description": "Headings and the wordmark."
      },
      "text": {
        "$type": "color",
        "$value": "#241F20",
        "$description": "Body text. Night uses RWA.io Soft, never pure white body text."
      },
      "text-muted": {
        "$type": "color",
        "$value": "#6D6768",
        "$description": "Captions, hints, meta."
      },
      "primary": {
        "$type": "color",
        "$value": "#0057FF",
        "$description": "Primary button fill only. Day: Brand Blue. Night: mint, as in RWA.io."
      },
      "primary-hover": {
        "$type": "color",
        "$value": "#0045D7",
        "$description": "Primary button hover and pressed."
      },
      "on-primary": {
        "$type": "color",
        "$value": "#FFFFFF",
        "$description": "Text on a primary button."
      },
      "link": {
        "$type": "color",
        "$value": "#0057FF",
        "$description": "Links and the outline button."
      },
      "border-input": {
        "$type": "color",
        "$value": "#6B6E73",
        "$description": "Edges of text inputs, selects, checkboxes and radios. At least 3:1."
      },
      "focus": {
        "$type": "color",
        "$value": "#0057FF",
        "$description": "Focus outline, 3px solid with 2px offset."
      },
      "globe": {
        "$type": "color",
        "$value": "#0B0D17",
        "$description": "Globe fill in the mark."
      },
      "africa": {
        "$type": "color",
        "$value": "#E36414",
        "$description": "Sunrise. Africa in the mark, and the one accent. Graphics only, never text."
      },
      "accent-text": {
        "$type": "color",
        "$value": "#B04A0E",
        "$description": "Sunrise as text, when an accent word is truly needed. Rare."
      },
      "live": {
        "$type": "color",
        "$value": "#1CB096",
        "$description": "RWA.io teal. Live state dot only, never text."
      },
      "success": {
        "$type": "color",
        "$value": "#0F7A66",
        "$description": "Success text and icons."
      },
      "warning": {
        "$type": "color",
        "$value": "#8E570B",
        "$description": "Warning text and icons."
      },
      "danger": {
        "$type": "color",
        "$value": "#C0453A",
        "$description": "Error text, icons and the danger button."
      },
      "success-bg": {
        "$type": "color",
        "$value": "#E9F6F2",
        "$description": "Success notice ground."
      },
      "warning-bg": {
        "$type": "color",
        "$value": "#FDF3E3",
        "$description": "Warning notice ground."
      },
      "danger-bg": {
        "$type": "color",
        "$value": "#FBEDEB",
        "$description": "Error notice ground."
      }
    },
    "night": {
      "bg": {
        "$type": "color",
        "$value": "#0B0D17",
        "$description": "Page ground. Day: RWA.io Paper. Night: RWA.io Navy Field."
      },
      "surface": {
        "$type": "color",
        "$value": "#1F212E",
        "$description": "Cards, inputs, menus. Night: RWA.io Navy 800."
      },
      "surface-2": {
        "$type": "color",
        "$value": "#31334D",
        "$description": "Hover, code blocks, table stripes. Day: Gray 50. Night: Navy 700."
      },
      "line": {
        "$type": "color",
        "$value": "#31334D",
        "$description": "Hairlines and dividers. Decorative only, never the only boundary of a control."
      },
      "ink": {
        "$type": "color",
        "$value": "#F4F5F8",
        "$description": "Headings and the wordmark."
      },
      "text": {
        "$type": "color",
        "$value": "#CDD0DC",
        "$description": "Body text. Night uses RWA.io Soft, never pure white body text."
      },
      "text-muted": {
        "$type": "color",
        "$value": "#A4A6B8",
        "$description": "Captions, hints, meta."
      },
      "primary": {
        "$type": "color",
        "$value": "#5BE5BC",
        "$description": "Primary button fill only. Day: Brand Blue. Night: mint, as in RWA.io."
      },
      "primary-hover": {
        "$type": "color",
        "$value": "#7EEBCB",
        "$description": "Primary button hover and pressed."
      },
      "on-primary": {
        "$type": "color",
        "$value": "#0B0D17",
        "$description": "Text on a primary button."
      },
      "link": {
        "$type": "color",
        "$value": "#7AA8FF",
        "$description": "Links and the outline button."
      },
      "border-input": {
        "$type": "color",
        "$value": "#8A8D99",
        "$description": "Edges of text inputs, selects, checkboxes and radios. At least 3:1."
      },
      "focus": {
        "$type": "color",
        "$value": "#7AA8FF",
        "$description": "Focus outline, 3px solid with 2px offset."
      },
      "globe": {
        "$type": "color",
        "$value": "#F4F5F8",
        "$description": "Globe fill in the mark."
      },
      "africa": {
        "$type": "color",
        "$value": "#E36414",
        "$description": "Sunrise. Africa in the mark, and the one accent. Graphics only, never text."
      },
      "accent-text": {
        "$type": "color",
        "$value": "#F5915A",
        "$description": "Sunrise as text, when an accent word is truly needed. Rare."
      },
      "live": {
        "$type": "color",
        "$value": "#1CB096",
        "$description": "RWA.io teal. Live state dot only, never text."
      },
      "success": {
        "$type": "color",
        "$value": "#3FCFA6",
        "$description": "Success text and icons."
      },
      "warning": {
        "$type": "color",
        "$value": "#F0B04A",
        "$description": "Warning text and icons."
      },
      "danger": {
        "$type": "color",
        "$value": "#FF8A7A",
        "$description": "Error text, icons and the danger button."
      },
      "success-bg": {
        "$type": "color",
        "$value": "#12302A",
        "$description": "Success notice ground."
      },
      "warning-bg": {
        "$type": "color",
        "$value": "#33280F",
        "$description": "Warning notice ground."
      },
      "danger-bg": {
        "$type": "color",
        "$value": "#3A1E1C",
        "$description": "Error notice ground."
      }
    }
  },
  "shadow": {
    "day": {
      "shadow-1": {
        "$type": "shadow",
        "$value": "0 1px 3px rgba(11,13,23,.04)",
        "$description": "Resting card."
      },
      "shadow-2": {
        "$type": "shadow",
        "$value": "0 4px 16px rgba(11,13,23,.07)",
        "$description": "Hover only."
      },
      "shadow-3": {
        "$type": "shadow",
        "$value": "0 12px 40px rgba(11,13,23,.10)",
        "$description": "Overlays only."
      }
    },
    "night": {
      "shadow-1": {
        "$type": "shadow",
        "$value": "none",
        "$description": "Resting card."
      },
      "shadow-2": {
        "$type": "shadow",
        "$value": "none",
        "$description": "Hover only."
      },
      "shadow-3": {
        "$type": "shadow",
        "$value": "0 0 0 1px #31334D",
        "$description": "Overlays only."
      }
    }
  },
  "space": {
    "space-1": {
      "$type": "dimension",
      "$value": "4px"
    },
    "space-2": {
      "$type": "dimension",
      "$value": "8px"
    },
    "space-3": {
      "$type": "dimension",
      "$value": "12px"
    },
    "space-4": {
      "$type": "dimension",
      "$value": "16px"
    },
    "space-5": {
      "$type": "dimension",
      "$value": "24px"
    },
    "space-6": {
      "$type": "dimension",
      "$value": "32px"
    },
    "space-7": {
      "$type": "dimension",
      "$value": "48px"
    },
    "space-8": {
      "$type": "dimension",
      "$value": "72px"
    }
  },
  "radius": {
    "radius-sm": {
      "$type": "dimension",
      "$value": "6px"
    },
    "radius-md": {
      "$type": "dimension",
      "$value": "8px"
    },
    "radius-lg": {
      "$type": "dimension",
      "$value": "12px"
    },
    "radius-xl": {
      "$type": "dimension",
      "$value": "16px"
    },
    "radius-btn": {
      "$type": "dimension",
      "$value": "8px"
    },
    "radius-full": {
      "$type": "dimension",
      "$value": "50%"
    }
  },
  "font": {
    "font-display": {
      "$type": "fontFamily",
      "$value": "'Afacad', 'Roboto', Arial, sans-serif"
    },
    "font-body": {
      "$type": "fontFamily",
      "$value": "'Roboto', Arial, sans-serif"
    },
    "font-mono": {
      "$type": "fontFamily",
      "$value": "'Roboto Mono', ui-monospace, Menlo, monospace"
    }
  },
  "type": {
    "text-display": {
      "$type": "typography",
      "$value": {
        "fontSize": "2.5rem",
        "fontSizeFrom768": "3.5rem",
        "lineHeight": "1.05"
      },
      "$description": "Afacad 700. Hero line only."
    },
    "text-h1": {
      "$type": "typography",
      "$value": {
        "fontSize": "2rem",
        "fontSizeFrom768": "2.75rem",
        "lineHeight": "1.1"
      },
      "$description": "Afacad 700."
    },
    "text-h2": {
      "$type": "typography",
      "$value": {
        "fontSize": "1.5rem",
        "fontSizeFrom768": "2rem",
        "lineHeight": "1.15"
      },
      "$description": "Afacad 700."
    },
    "text-h3": {
      "$type": "typography",
      "$value": {
        "fontSize": "1.25rem",
        "fontSizeFrom768": "1.375rem",
        "lineHeight": "1.3"
      },
      "$description": "Afacad 600."
    },
    "text-body": {
      "$type": "typography",
      "$value": {
        "fontSize": "1rem",
        "fontSizeFrom768": "1.0625rem",
        "lineHeight": "1.6"
      },
      "$description": "Roboto 400."
    },
    "text-small": {
      "$type": "typography",
      "$value": {
        "fontSize": "0.875rem",
        "fontSizeFrom768": "0.875rem",
        "lineHeight": "1.5"
      },
      "$description": "Roboto 400. Captions and meta, never below 12px."
    },
    "text-mono": {
      "$type": "typography",
      "$value": {
        "fontSize": "0.875rem",
        "fontSizeFrom768": "0.875rem",
        "lineHeight": "1.5"
      },
      "$description": "Roboto Mono 400. Codes, hex values, IDs."
    }
  },
  "size": {
    "target-min": {
      "$type": "dimension",
      "$value": "44px"
    },
    "control-h": {
      "$type": "dimension",
      "$value": "48px"
    },
    "focus-width": {
      "$type": "dimension",
      "$value": "3px"
    },
    "focus-offset": {
      "$type": "dimension",
      "$value": "2px"
    },
    "content-max": {
      "$type": "dimension",
      "$value": "1120px"
    },
    "measure": {
      "$type": "dimension",
      "$value": "68ch"
    }
  }
}
