{
  "$description": "Ledgerline design tokens 1.4.0. Independent concept by Clinton Feyisitan. Not a real company or commission.",
  "color": {
    "bg": {
      "$type": "color",
      "$value": "#F1EDE2",
      "$description": "App background, the paper the ledger sits on",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#F1EDE2",
          "dark": "#0F131A"
        },
        "ledgerline.group": "Surface"
      }
    },
    "surface": {
      "$type": "color",
      "$value": "#FBF9F3",
      "$description": "Cards, table body, panels",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#FBF9F3",
          "dark": "#161B24"
        },
        "ledgerline.group": "Surface"
      }
    },
    "surface-raised": {
      "$type": "color",
      "$value": "#FFFFFF",
      "$description": "Menus, modals, toasts",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#FFFFFF",
          "dark": "#1D2330"
        },
        "ledgerline.group": "Surface"
      }
    },
    "surface-sunken": {
      "$type": "color",
      "$value": "#E8E2D3",
      "$description": "Inputs at rest, table header, wells",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#E8E2D3",
          "dark": "#0B0E13"
        },
        "ledgerline.group": "Surface"
      }
    },
    "surface-selected": {
      "$type": "color",
      "$value": "#E3E9F4",
      "$description": "Selected rows and active nav",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#E3E9F4",
          "dark": "#1C2840"
        },
        "ledgerline.group": "Surface"
      }
    },
    "text": {
      "$type": "color",
      "$value": "#161C27",
      "$description": "Body text and figures",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#161C27",
          "dark": "#ECE7DA"
        },
        "ledgerline.group": "Text"
      }
    },
    "text-muted": {
      "$type": "color",
      "$value": "#4A5468",
      "$description": "Secondary labels, metadata",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#4A5468",
          "dark": "#AEB4C1"
        },
        "ledgerline.group": "Text"
      }
    },
    "text-subtle": {
      "$type": "color",
      "$value": "#5F687A",
      "$description": "Placeholder, captions, axis labels",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#5F687A",
          "dark": "#9098A8"
        },
        "ledgerline.group": "Text"
      }
    },
    "text-inverse": {
      "$type": "color",
      "$value": "#FBF9F3",
      "$description": "Text on ink fills",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#FBF9F3",
          "dark": "#10141B"
        },
        "ledgerline.group": "Text"
      }
    },
    "border": {
      "$type": "color",
      "$value": "#D7CFBB",
      "$description": "Card and input borders",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#D7CFBB",
          "dark": "#2A3140"
        },
        "ledgerline.group": "Line"
      }
    },
    "border-strong": {
      "$type": "color",
      "$value": "#8E866F",
      "$description": "Input borders that must meet 3:1",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#8E866F",
          "dark": "#677187"
        },
        "ledgerline.group": "Line"
      }
    },
    "rule": {
      "$type": "color",
      "$value": "#CBD6E6",
      "$description": "Ledger ruling between rows",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#CBD6E6",
          "dark": "#222B39"
        },
        "ledgerline.group": "Line"
      }
    },
    "margin": {
      "$type": "color",
      "$value": "#B5392B",
      "$description": "The red margin rule: totals and the live edge",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#B5392B",
          "dark": "#E07463"
        },
        "ledgerline.group": "Line"
      }
    },
    "accent": {
      "$type": "color",
      "$value": "#22407D",
      "$description": "Primary buttons, links, focus",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#22407D",
          "dark": "#9DB7EE"
        },
        "ledgerline.group": "Action"
      }
    },
    "accent-hover": {
      "$type": "color",
      "$value": "#1A3266",
      "$description": "Primary hover and pressed",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#1A3266",
          "dark": "#B9CBF3"
        },
        "ledgerline.group": "Action"
      }
    },
    "accent-fg": {
      "$type": "color",
      "$value": "#FFFFFF",
      "$description": "Text on accent",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#FFFFFF",
          "dark": "#0E1524"
        },
        "ledgerline.group": "Action"
      }
    },
    "accent-soft": {
      "$type": "color",
      "$value": "#DDE5F3",
      "$description": "Quiet button fill, chips on",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#DDE5F3",
          "dark": "#1E2A44"
        },
        "ledgerline.group": "Action"
      }
    },
    "focus": {
      "$type": "color",
      "$value": "#22407D",
      "$description": "Focus ring, always 2px plus 2px offset",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#22407D",
          "dark": "#B9CBF3"
        },
        "ledgerline.group": "Action"
      }
    },
    "ok-fg": {
      "$type": "color",
      "$value": "#145C3C",
      "$description": "Delivered, on time",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#145C3C",
          "dark": "#86D5AB"
        },
        "ledgerline.group": "Status"
      }
    },
    "ok-bg": {
      "$type": "color",
      "$value": "#DCEDE2",
      "$description": "Delivered badge fill",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#DCEDE2",
          "dark": "#132F20"
        },
        "ledgerline.group": "Status"
      }
    },
    "warn-fg": {
      "$type": "color",
      "$value": "#83470A",
      "$description": "At risk, due soon",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#83470A",
          "dark": "#F1BC6C"
        },
        "ledgerline.group": "Status"
      }
    },
    "warn-bg": {
      "$type": "color",
      "$value": "#F6E5C6",
      "$description": "At risk badge fill",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#F6E5C6",
          "dark": "#38290F"
        },
        "ledgerline.group": "Status"
      }
    },
    "danger-fg": {
      "$type": "color",
      "$value": "#A2241A",
      "$description": "Failed, late, errors",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#A2241A",
          "dark": "#F5A195"
        },
        "ledgerline.group": "Status"
      }
    },
    "danger-bg": {
      "$type": "color",
      "$value": "#F5DCD5",
      "$description": "Failed badge fill, error banner",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#F5DCD5",
          "dark": "#3D1A16"
        },
        "ledgerline.group": "Status"
      }
    },
    "info-fg": {
      "$type": "color",
      "$value": "#22407D",
      "$description": "In transit, out for delivery",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#22407D",
          "dark": "#A9C0F0"
        },
        "ledgerline.group": "Status"
      }
    },
    "info-bg": {
      "$type": "color",
      "$value": "#DEE6F3",
      "$description": "In transit badge fill",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#DEE6F3",
          "dark": "#1B2740"
        },
        "ledgerline.group": "Status"
      }
    },
    "neutral-fg": {
      "$type": "color",
      "$value": "#4A5468",
      "$description": "Awaiting pickup, drafts",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#4A5468",
          "dark": "#B9BFCA"
        },
        "ledgerline.group": "Status"
      }
    },
    "neutral-bg": {
      "$type": "color",
      "$value": "#E6E1D3",
      "$description": "Neutral badge fill",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#E6E1D3",
          "dark": "#252B37"
        },
        "ledgerline.group": "Status"
      }
    },
    "violet-fg": {
      "$type": "color",
      "$value": "#573B90",
      "$description": "Returned to merchant",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#573B90",
          "dark": "#C9B4F2"
        },
        "ledgerline.group": "Status"
      }
    },
    "violet-bg": {
      "$type": "color",
      "$value": "#E8E0F3",
      "$description": "Returned badge fill",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#E8E0F3",
          "dark": "#2C2342"
        },
        "ledgerline.group": "Status"
      }
    },
    "data-1": {
      "$type": "color",
      "$value": "#2F5BB0",
      "$description": "Series 1 · failed delivery",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#2F5BB0",
          "dark": "#5A86DC"
        },
        "ledgerline.group": "Data"
      }
    },
    "data-2": {
      "$type": "color",
      "$value": "#BF7A24",
      "$description": "Series 2 · address unclear",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#BF7A24",
          "dark": "#C27330"
        },
        "ledgerline.group": "Data"
      }
    },
    "data-3": {
      "$type": "color",
      "$value": "#16876A",
      "$description": "Series 3 · payment mismatch",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#16876A",
          "dark": "#22987A"
        },
        "ledgerline.group": "Data"
      }
    },
    "data-grid": {
      "$type": "color",
      "$value": "#DDD6C5",
      "$description": "Chart gridlines, recessive",
      "$extensions": {
        "ledgerline.modes": {
          "light": "#DDD6C5",
          "dark": "#262E3C"
        },
        "ledgerline.group": "Data"
      }
    }
  },
  "font": {
    "sans": {
      "$type": "fontFamily",
      "$value": "'Plex Sans', 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif"
    },
    "mono": {
      "$type": "fontFamily",
      "$value": "'Plex Mono', 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace"
    }
  },
  "type": {
    "2xs": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.sans}",
        "fontSize": "11px",
        "lineHeight": "16px",
        "fontWeight": 500,
        "letterSpacing": "0.04em"
      },
      "$description": "Overlines, table header labels (uppercase)"
    },
    "xs": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.sans}",
        "fontSize": "12px",
        "lineHeight": "16px",
        "fontWeight": 400,
        "letterSpacing": "0em"
      },
      "$description": "Metadata, timestamps, axis labels"
    },
    "sm": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.sans}",
        "fontSize": "13px",
        "lineHeight": "20px",
        "fontWeight": 400,
        "letterSpacing": "0em"
      },
      "$description": "Table cells in compact density"
    },
    "md": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.sans}",
        "fontSize": "14px",
        "lineHeight": "20px",
        "fontWeight": 400,
        "letterSpacing": "0em"
      },
      "$description": "Default UI text, table cells"
    },
    "lg": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.sans}",
        "fontSize": "16px",
        "lineHeight": "24px",
        "fontWeight": 400,
        "letterSpacing": "0em"
      },
      "$description": "Body copy, inputs on touch"
    },
    "xl": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.sans}",
        "fontSize": "20px",
        "lineHeight": "28px",
        "fontWeight": 600,
        "letterSpacing": "-0.01em"
      },
      "$description": "Panel and section titles"
    },
    "2xl": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.sans}",
        "fontSize": "28px",
        "lineHeight": "32px",
        "fontWeight": 500,
        "letterSpacing": "-0.02em"
      },
      "$description": "KPI figures"
    },
    "3xl": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.sans}",
        "fontSize": "40px",
        "lineHeight": "44px",
        "fontWeight": 500,
        "letterSpacing": "-0.025em"
      },
      "$description": "Docs display"
    },
    "4xl": {
      "$type": "typography",
      "$value": {
        "fontFamily": "{font.sans}",
        "fontSize": "56px",
        "lineHeight": "56px",
        "fontWeight": 500,
        "letterSpacing": "-0.03em"
      },
      "$description": "Docs hero only"
    }
  },
  "space": {
    "0": {
      "$type": "dimension",
      "$value": "0px"
    },
    "1": {
      "$type": "dimension",
      "$value": "2px"
    },
    "2": {
      "$type": "dimension",
      "$value": "4px"
    },
    "3": {
      "$type": "dimension",
      "$value": "8px"
    },
    "4": {
      "$type": "dimension",
      "$value": "12px"
    },
    "5": {
      "$type": "dimension",
      "$value": "16px"
    },
    "6": {
      "$type": "dimension",
      "$value": "20px"
    },
    "7": {
      "$type": "dimension",
      "$value": "24px"
    },
    "8": {
      "$type": "dimension",
      "$value": "32px"
    },
    "9": {
      "$type": "dimension",
      "$value": "40px"
    },
    "10": {
      "$type": "dimension",
      "$value": "48px"
    },
    "11": {
      "$type": "dimension",
      "$value": "64px"
    }
  },
  "radius": {
    "none": {
      "$type": "dimension",
      "$value": "0px",
      "$description": "Table, ledger rules"
    },
    "sm": {
      "$type": "dimension",
      "$value": "3px",
      "$description": "Badges, checkboxes"
    },
    "md": {
      "$type": "dimension",
      "$value": "6px",
      "$description": "Buttons, inputs, cards"
    },
    "lg": {
      "$type": "dimension",
      "$value": "10px",
      "$description": "Modals, panels, toasts"
    },
    "pill": {
      "$type": "dimension",
      "$value": "999px",
      "$description": "Filter chips, toggles"
    }
  },
  "elevation": {
    "0": {
      "$type": "shadow",
      "$value": "none",
      "$description": "Flat on the page",
      "$extensions": {
        "ledgerline.modes": {
          "light": "none",
          "dark": "none"
        }
      }
    },
    "1": {
      "$type": "shadow",
      "$value": "0 1px 0 rgba(22,28,39,.06), 0 1px 2px rgba(22,28,39,.06)",
      "$description": "Cards, sticky header",
      "$extensions": {
        "ledgerline.modes": {
          "light": "0 1px 0 rgba(22,28,39,.06), 0 1px 2px rgba(22,28,39,.06)",
          "dark": "0 1px 0 rgba(0,0,0,.4)"
        }
      }
    },
    "2": {
      "$type": "shadow",
      "$value": "0 4px 12px rgba(22,28,39,.10), 0 1px 3px rgba(22,28,39,.08)",
      "$description": "Menus, toasts",
      "$extensions": {
        "ledgerline.modes": {
          "light": "0 4px 12px rgba(22,28,39,.10), 0 1px 3px rgba(22,28,39,.08)",
          "dark": "0 6px 16px rgba(0,0,0,.45)"
        }
      }
    },
    "3": {
      "$type": "shadow",
      "$value": "0 18px 48px rgba(22,28,39,.18), 0 4px 12px rgba(22,28,39,.08)",
      "$description": "Modal, side panel",
      "$extensions": {
        "ledgerline.modes": {
          "light": "0 18px 48px rgba(22,28,39,.18), 0 4px 12px rgba(22,28,39,.08)",
          "dark": "0 20px 56px rgba(0,0,0,.6)"
        }
      }
    }
  },
  "motion": {
    "instant": {
      "$type": "duration",
      "$value": "80ms",
      "$description": "Hover, press"
    },
    "quick": {
      "$type": "duration",
      "$value": "160ms",
      "$description": "Toggles, chips, focus"
    },
    "base": {
      "$type": "duration",
      "$value": "240ms",
      "$description": "Panels, toasts in"
    },
    "slow": {
      "$type": "duration",
      "$value": "360ms",
      "$description": "Row resolved and leaving"
    },
    "ease": {
      "$type": "cubicBezier",
      "$value": [
        0.2,
        0,
        0,
        1
      ],
      "$description": "Standard: things arriving"
    },
    "ease-exit": {
      "$type": "cubicBezier",
      "$value": [
        0.4,
        0,
        1,
        1
      ],
      "$description": "Things leaving"
    }
  },
  "density": {
    "row": {
      "$type": "dimension",
      "$value": "52px",
      "$description": "Table row height",
      "$extensions": {
        "ledgerline.modes": {
          "comfortable": "52px",
          "compact": "36px"
        }
      }
    },
    "control": {
      "$type": "dimension",
      "$value": "44px",
      "$description": "Buttons, inputs, selects",
      "$extensions": {
        "ledgerline.modes": {
          "comfortable": "44px",
          "compact": "32px"
        }
      }
    },
    "cell-x": {
      "$type": "dimension",
      "$value": "16px",
      "$description": "Horizontal cell padding",
      "$extensions": {
        "ledgerline.modes": {
          "comfortable": "16px",
          "compact": "10px"
        }
      }
    }
  },
  "$extensions": {
    "ledgerline.contrastPairs": [
      {
        "foreground": "text",
        "background": "bg",
        "minimum": 4.5,
        "light": 14.6,
        "dark": 15.07
      },
      {
        "foreground": "text",
        "background": "surface",
        "minimum": 4.5,
        "light": 16.22,
        "dark": 13.98
      },
      {
        "foreground": "text-muted",
        "background": "surface",
        "minimum": 4.5,
        "light": 7.23,
        "dark": 8.3
      },
      {
        "foreground": "text-subtle",
        "background": "surface",
        "minimum": 4.5,
        "light": 5.32,
        "dark": 5.95
      },
      {
        "foreground": "text-muted",
        "background": "surface-sunken",
        "minimum": 4.5,
        "light": 5.89,
        "dark": 9.29
      },
      {
        "foreground": "accent-fg",
        "background": "accent",
        "minimum": 4.5,
        "light": 10.01,
        "dark": 9.07
      },
      {
        "foreground": "accent",
        "background": "surface",
        "minimum": 4.5,
        "light": 9.51,
        "dark": 8.58
      },
      {
        "foreground": "ok-fg",
        "background": "ok-bg",
        "minimum": 4.5,
        "light": 6.57,
        "dark": 8.33
      },
      {
        "foreground": "warn-fg",
        "background": "warn-bg",
        "minimum": 4.5,
        "light": 5.9,
        "dark": 8.14
      },
      {
        "foreground": "danger-fg",
        "background": "danger-bg",
        "minimum": 4.5,
        "light": 5.74,
        "dark": 7.67
      },
      {
        "foreground": "info-fg",
        "background": "info-bg",
        "minimum": 4.5,
        "light": 7.97,
        "dark": 8.14
      },
      {
        "foreground": "neutral-fg",
        "background": "neutral-bg",
        "minimum": 4.5,
        "light": 5.83,
        "dark": 7.68
      },
      {
        "foreground": "violet-fg",
        "background": "violet-bg",
        "minimum": 4.5,
        "light": 6.73,
        "dark": 7.92
      },
      {
        "foreground": "text",
        "background": "surface-selected",
        "minimum": 4.5,
        "light": 14.01,
        "dark": 11.92
      },
      {
        "foreground": "border-strong",
        "background": "surface",
        "minimum": 3,
        "light": 3.45,
        "dark": 3.53
      },
      {
        "foreground": "focus",
        "background": "surface",
        "minimum": 3,
        "light": 9.51,
        "dark": 10.6
      },
      {
        "foreground": "margin",
        "background": "surface",
        "minimum": 3,
        "light": 5.56,
        "dark": 5.63
      },
      {
        "foreground": "data-1",
        "background": "surface",
        "minimum": 3,
        "light": 6.15,
        "dark": 4.83
      },
      {
        "foreground": "data-2",
        "background": "surface",
        "minimum": 3,
        "light": 3.31,
        "dark": 4.76
      },
      {
        "foreground": "data-3",
        "background": "surface",
        "minimum": 3,
        "light": 4.24,
        "dark": 4.8
      }
    ]
  }
}
