decord/README.md
2026-09-04 12:48:33 -03:00

23 lines
946 B
Markdown

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`