{
  "fonts": [{ "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" }],
  "tokens": {
    "color": {
      "ground": { "$value": "#f4f1ea", "$type": "color" },
      "card": { "$value": "#fbf9f4", "$type": "color" },
      "text": { "$value": "#161412", "$type": "color" },
      "pencil": { "$value": "#c92a26", "$type": "color" },
      "accent": { "$value": "{color.pencil}", "$description": "aliases resolve" }
    },
    "type": { "display": { "$value": 88 } }
  },
  "compositions": [
    {
      "id": "tokens", "description": "Design tokens (W3C format) shared by every composition: {{color.accent}} works in the card component too",
      "width": 1280, "height": 720, "fps": 30, "duration": "3s", "background": "{{color.ground}}",
      "layers": [
        { "id": "a", "type": "use", "ref": "card", "x": 350, "y": 360, "props": { "title": "Tokens" }, "enter": "fadeUp" },
        { "id": "b", "type": "use", "ref": "card", "x": 930, "y": 360, "start": "0.3s", "props": { "title": "Props" }, "enter": "fadeUp" }
      ]
    },
    {
      "id": "card", "width": 500, "height": 340, "duration": "3s", "props": { "title": "Card" },
      "layers": [
        { "id": "bg", "type": "rect", "fill": "{{color.card}}", "stroke": "{{color.text}}", "strokeWidth": 2 },
        { "id": "title", "type": "text", "text": "{{title}}", "font": "Schibsted Grotesk", "fontWeight": 860,
          "fontSize": "{{type.display}}", "letterSpacing": -3, "fill": "{{color.text}}", "y": 150 },
        { "id": "rule", "type": "rect", "width": 120, "height": 4, "y": 230, "fill": "{{color.accent}}" }
      ]
    }
  ]
}
