From 1f8a5219d9ab288133aff10b1d6f0484545b20f8 Mon Sep 17 00:00:00 2001 From: Mikael Rinne <40919111+rorychatt@users.noreply.github.com> Date: Fri, 20 Nov 2026 00:42:45 +0100 Subject: [PATCH] Drop brand-token shim now that upstream design system uses sc-green Co-Authored-By: Claude Sonnet 5.5 --- scripts/sync-tokens.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync-tokens.mjs b/scripts/sync-tokens.mjs index f5214f8..c9f3130 100644 --- a/scripts/sync-tokens.mjs +++ b/scripts/sync-tokens.mjs @@ -2,7 +2,7 @@ // Usage: pnpm run sync-tokens (then review the diff and commit) import { writeFileSync } from "node:fs"; const url = "https://raw.githubusercontent.com/SpaceCorps/storybook/development/src/styles/tokens.css"; -const css = (await (await fetch(url)).text()).replaceAll("iv" + "y-green", "sc-green"); // brand token rename, until upstream lands it +const css = (await (await fetch(url)).text()); const lines = css.split("\n"); const start = lines.findIndex((l) => l.startsWith(":root")); const end = lines.findIndex((l) => l.startsWith("@theme inline"));