init: canvas branch for color tracking (raw/semantic)

This commit is contained in:
lvwmwm 2026-08-28 13:19:27 -03:00
commit b51f070434

26
README.md Normal file
View file

@ -0,0 +1,26 @@
# decord — canvas branch
Forked from [`nexpid/Themelings`](https://github.com/nexpid/Themelings).
Auto-generated by `main`'s `update (hourly)` workflow (`src/update/tasks/colors.ts`). Do not edit manually.
## 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`
## `raw` / `semantic` for themers
- `raw.json`: `{ "BLACK_100": "#...", ... }` ~200 keys
- `semantic.json`: `{ "BACKGROUND_PRIMARY": { "dark": ["#...", {raw:"BLACK_500", opacity:1}], "light": [...] }, ... }`
- `semantic_simple.json`: `{ "BACKGROUND_PRIMARY": { "dark": "#...", "light": "#..." } }`
Use `semantic_simple.json` for quick theming, `semantic.json` + `raw.json` to resolve `raw` references.
## Links
- Main: https://github.com/lvwmwm/decord
- Data (code): https://github.com/lvwmwm/decord/tree/data
- Workflow: `.github/workflows/update.yml`