{
  "name": "@byescaleira/design-system",
  "about": "Fonte única do design system byescaleira, o visual do byescaleira.com. web/*.css e skills/design-system/references/tokens.md saem daqui por scripts/build.mjs; nunca edite um arquivo gerado.",
  "font": {
    "body": "system-ui, -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", Arial, sans-serif",
    "emphasis": "\"Bricolage Grotesque\"",
    "emphasisFile": "BricolageGrotesque.woff2",
    "emphasisWeight": "200 800",
    "emphasisStretch": "75% 100%",
    "bodySize": 17,
    "bodyLineHeight": 1.47,
    "usage": "Corpo na fonte do sistema (SF Pro nos aparelhos Apple, sem servir a fonte). Bricolage Grotesque só em títulos, marca, botões e números em destaque."
  },
  "space": {
    "hairline": 2,
    "2xs": 4,
    "xs": 6,
    "s": 8,
    "m": 12,
    "l": 16,
    "inset": 20,
    "xl": 24,
    "2xl": 32,
    "3xl": 48,
    "section": 120
  },
  "apple": {
    "space": { "hairline": "spaceHairline", "2xs": "space2XS", "xs": "spaceXS", "s": "spaceS", "m": "spaceM", "l": "spaceL", "inset": "spaceInset", "xl": "spaceXL", "2xl": "space2XL" },
    "radius": { "s": "radiusS", "m": "radiusM", "l": "radiusL", "group": "radiusGroup" },
    "palette": { "mustard": "retroMustard", "orange": "retroOrange", "rust": "retroRust", "olive": "retroOlive", "teal": "retroTeal", "denim": "retroDenim", "plum": "retroPlum", "brown": "retroBrown", "cream": "retroCream" }
  },
  "radius": {
    "s": 8,
    "m": 16,
    "l": 22,
    "group": { "apple": 26, "web": 28 },
    "pill": 999
  },
  "size": {
    "target": 44,
    "button": 50,
    "page": 1180,
    "readable": 680,
    "nav-height": 56
  },
  "surface": {
    "background": { "light": "#f2f2f7", "dark": "#000000", "usage": "Fundo da página: o fundo agrupado do sistema." },
    "row": { "light": "#ffffff", "dark": "#1c1c1e", "usage": "Cartões e grupos sobre o fundo, sem sombra." },
    "label": { "light": "#000000", "dark": "#ffffff", "usage": "Texto principal." },
    "secondary": { "light": "#6c6c70", "dark": "#98989f", "usage": "Texto secundário, legendas e metadados." },
    "separator": { "light": "rgba(60, 60, 67, 0.18)", "dark": "rgba(84, 84, 88, 0.6)", "usage": "Fio entre linhas e a borda da barra." },
    "fill": { "light": "rgba(120, 120, 128, 0.12)", "dark": "rgba(118, 118, 128, 0.24)", "usage": "Botão secundário e pílulas neutras." },
    "on-color": { "light": "#ffffff", "dark": "#000000", "usage": "Texto e ícone sobre uma cor cheia: branco no claro, preto no escuro." }
  },
  "night": {
    "night": { "light": "#000000", "dark": "#1c1c1e", "usage": "Faixa escura de destaque, uma por página." },
    "night-label": { "light": "#ffffff", "dark": "#ffffff", "usage": "Texto na faixa." },
    "night-secondary": { "light": "#a1a1a6", "dark": "#a1a1a6", "usage": "Texto secundário na faixa." },
    "night-separator": { "light": "rgba(84, 84, 88, 0.6)", "dark": "rgba(84, 84, 88, 0.6)", "usage": "Fio na faixa." },
    "night-tint": { "light": "#ff8533", "dark": "#ff8533", "usage": "Destaque da marca na faixa." },
    "night-on-tint": { "light": "#000000", "dark": "#000000", "usage": "Texto do botão principal na faixa." },
    "night-on-color": { "light": "#000000", "dark": "#000000", "usage": "Ícone sobre cor cheia na faixa." },
    "night-fill": { "light": "rgba(255, 255, 255, 0.16)", "dark": "rgba(255, 255, 255, 0.16)", "usage": "Botão secundário na faixa." },
    "night-positive": { "light": "#9db35c", "dark": "#9db35c", "usage": "Positivo na faixa." },
    "night-warning": { "light": "#e3b04b", "dark": "#e3b04b", "usage": "Atenção na faixa." }
  },
  "palette": {
    "mustard": { "light": "#906716", "dark": "#e3b04b", "usage": "Atenção (warning) e tudo que é Pro." },
    "orange": { "light": "#af5626", "dark": "#e38049", "usage": "Sequência e ícones da loja; não é a cor da marca." },
    "rust": { "light": "#a63d2c", "dark": "#dc6a54", "usage": "Negativo, estouro, apagar." },
    "olive": { "light": "#5c762d", "dark": "#9db35c", "usage": "Positivo, em uso, concluído." },
    "teal": { "light": "#2a7069", "dark": "#62aba2", "usage": "Nível, ajudas, hábitos." },
    "denim": { "light": "#3d5f86", "dark": "#7fa0c6", "usage": "Informação." },
    "plum": { "light": "#74415f", "dark": "#b57fa0", "usage": "Personalização e privacidade." },
    "brown": { "light": "#7e5536", "dark": "#bc8a62", "usage": "Bronze." },
    "cream": { "light": "#f0e6d2", "dark": "#e6dac2", "usage": "Base creme das animações; nunca texto." }
  },
  "semantic": {
    "positive": "olive",
    "negative": "rust",
    "warning": "mustard",
    "info": "denim",
    "pro": "mustard"
  },
  "product": "byescaleira",
  "products": {
    "byescaleira": {
      "tint": { "light": "#b3470c", "dark": "#ff8533", "usage": "Cor da empresa: link, foco, botão principal, marca." },
      "on-tint": { "light": "#ffffff", "dark": "#000000", "usage": "Texto do botão principal." }
    }
  },
  "chip": { "light": 6, "dark": 12, "darkOverride": { "negative": 8 }, "over": "row", "usage": "Chip só sobre o cartão (--row): sobre o fundo agrupado o texto colorido fica abaixo de 4,5:1." },
  "glass": { "bar": 78, "barFallback": 92, "blur": 20, "saturate": 180 },
  "motion": { "ease": "cubic-bezier(0.32, 0.72, 0, 1)", "short": 200, "long": 400 },
  "contrast": {
    "text": 4.5,
    "graphic": 3,
    "pairs": [
      { "text": "label", "over": ["background", "row"] },
      { "text": "secondary", "over": ["background", "row"] },
      { "text": "tint", "over": ["background", "row"] },
      { "text": "mustard", "over": ["background", "row"] },
      { "text": "orange", "over": ["background", "row"] },
      { "text": "rust", "over": ["background", "row"] },
      { "text": "olive", "over": ["background", "row"] },
      { "text": "teal", "over": ["background", "row"] },
      { "text": "denim", "over": ["background", "row"] },
      { "text": "plum", "over": ["background", "row"] },
      { "text": "brown", "over": ["background", "row"] },
      { "text": "on-tint", "over": ["tint"] },
      { "text": "night-label", "over": ["night"] },
      { "text": "night-secondary", "over": ["night"] },
      { "text": "night-tint", "over": ["night"] },
      { "text": "night-on-tint", "over": ["night-tint"] },
      { "text": "night-positive", "over": ["night"] },
      { "text": "night-warning", "over": ["night"] },
      { "text": "on-color", "over": ["mustard", "orange", "rust", "olive", "teal", "denim", "plum", "brown"] },
      { "text": "night-on-color", "over": ["night-tint", "night-positive", "night-warning"], "min": "graphic" }
    ],
    "chips": ["secondary", "tint", "positive", "negative", "warning", "info", "pro"]
  }
}
