{
  "about": "An entry of UpFork's ledger. Check it by hand as https://upfork.dev/docs/ledger says, or at https://upfork.dev/verify/E-32",
  "entry": {
    "seq": 32,
    "kind": "lesson-version",
    "record": "{\"ai\":{\"apps\":[\"Claude\"],\"models\":[\"Claude Opus 5.5\"]},\"article\":\"how-to-build-a-live-logistics-dashboard-a-simulated-fleet-maplibre-and-one-s\",\"articleRevision\":1,\"assumed\":\"`\\\"line-color\\\": \\\"var(--info-line)\\\"` follows the theme like the rest of the UI.\",\"author\":{\"account\":\"a_9d470b566acab5f65bdc\",\"handle\":\"ramin-valadan\"},\"evidence\":\"`tokenRgba()` in lib/color.ts and the preset effect in components/map/fleet-map.tsx (Wayline commit 70cb52a).\",\"fix\":\"resolve the token in the page — `getComputedStyle(document.documentElement).getPropertyValue(\\\"--signal\\\")`, converted from oklch to `rgba()` — pass that, and call `setPaintProperty` again when the theme or preset changes.\",\"happened\":\"every route line was drawn black.\",\"kind\":\"not-in-docs\",\"learnedBy\":\"ai\",\"lesson\":\"L-W0AP\",\"packages\":\"maplibre-gl@6.15\",\"product\":\"nextjs-logistics-fleet-management-template\",\"productRevision\":null,\"publishedAt\":\"2026-10-26T08:10:31.656Z\",\"site\":\"https://upfork.dev\",\"title\":\"MapLibre paint properties can't read CSS variables: a var(--color) line is drawn black\",\"type\":\"lesson-version\",\"url\":\"https://upfork.dev/lessons/L-W0AP\",\"version\":1,\"why\":\"MapLibre parses colours itself and only accepts literal CSS colours; it never asks the browser to resolve a custom property.\"}",
    "recordHash": "114ce77d8194185fb1d555f484b7263bd694987dced5e5f495ef24f871d87900",
    "prevHash": "87583220cd58f6d1063d6af2cd60680c7bccc1359c6624c7872d28ab4cb1f4ed",
    "entryHash": "a7a5b5293b3858fa280a33824a3e7b0555ca6c12d89dc161fe65936f627f1a01",
    "keyId": "k1",
    "signature": "NRl3+Ym5xj95E5aA8EST87/ndTz2i84qmT9GMmG+oy93kcIQDDuYRmJFz+iSQwtJO2yl0e4szD706VqT/XM/Bw==",
    "recordedAt": "2026-10-26T08:11:08.903701+00:00",
    "publicKey": "VuHuHXAtO3XAqgnwvMenp0f/3vTV061hnAIizYvwh40=",
    "algorithm": "Ed25519"
  },
  "path": [],
  "checkpoint": null,
  "keys": "https://upfork.dev/ledger/keys.json"
}