From 279666749382e97cced56d9723a1b4f71d69fb81 Mon Sep 17 00:00:00 2001 From: lvwmwm Date: Fri, 18 Sep 2026 14:30:33 -0300 Subject: [PATCH] feat: split canvas per release channel (alpha/beta/stable) --- README.md | 9 +++++++-- raw.json => alpha/raw.json | 0 semantic.json => alpha/semantic.json | 0 semantic_simple.json => alpha/semantic_simple.json | 0 version.txt => alpha/version.txt | 0 beta/version.txt | 1 + stable/version.txt | 1 + 7 files changed, 9 insertions(+), 2 deletions(-) rename raw.json => alpha/raw.json (100%) rename semantic.json => alpha/semantic.json (100%) rename semantic_simple.json => alpha/semantic_simple.json (100%) rename version.txt => alpha/version.txt (100%) create mode 100644 beta/version.txt create mode 100644 stable/version.txt diff --git a/README.md b/README.md index f9188e02876..1228d2f5d54 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,18 @@ +# decord — canvas branch Auto-generated by `main`'s `update (hourly)` workflow (`src/update/tasks/colors.ts`). Do not edit manually. -## Contents +## Layout + +Colors are split per Discord release channel: `alpha/`, `beta/`, `stable/`. Each channel has the same contents: - `raw.json` — Discord's raw colors (`tokens/colors/generated/raw-color-definitions.tsx`) - `semantic.json` — Semantic colors (full, with `raw` + `opacity` per theme) - `semantic_simple.json` — Simplified semantic (`{semantic: {theme: hex}}`) - `version.txt` +`version.txt` is written only after a successful run. A placeholder `0` signals "never processed" (forces the first run). + ## `raw` / `semantic` for themers - `raw.json`: `{ "BLACK_100": "#...", ... }` ~200 keys @@ -20,4 +25,4 @@ Use `semantic_simple.json` for quick theming, `semantic.json` + `raw.json` to re - Main: https://github.com/lvwmwm/decord - Data (code): https://github.com/lvwmwm/decord/tree/data -- Workflow: `.github/workflows/update.yml` +- Workflow: `.github/workflows/update.yml` \ No newline at end of file diff --git a/raw.json b/alpha/raw.json similarity index 100% rename from raw.json rename to alpha/raw.json diff --git a/semantic.json b/alpha/semantic.json similarity index 100% rename from semantic.json rename to alpha/semantic.json diff --git a/semantic_simple.json b/alpha/semantic_simple.json similarity index 100% rename from semantic_simple.json rename to alpha/semantic_simple.json diff --git a/version.txt b/alpha/version.txt similarity index 100% rename from version.txt rename to alpha/version.txt diff --git a/beta/version.txt b/beta/version.txt new file mode 100644 index 00000000000..c227083464f --- /dev/null +++ b/beta/version.txt @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/stable/version.txt b/stable/version.txt new file mode 100644 index 00000000000..c227083464f --- /dev/null +++ b/stable/version.txt @@ -0,0 +1 @@ +0 \ No newline at end of file