doxa-maps/plugin-designs/template-bundle/src/colors
doxa-maps-88655c70 4d773d6ee8
Some checks are pending
Deploy to GitHub Pages / build (push) Waiting to run
Deploy to GitHub Pages / deploy (push) Blocked by required conditions
Move internal files out of the repo; fix five dead links; a fuller delegation diagram
Moved out (kept outside the repo, in the team's internal tracker):
- AGENT-BRIEF.md: operating rules for the team's own agents
- documentation/slide-deck-outline.md, documentation/README-longform.md:
  internal pitch material; the README and why.md cover the same ground
- plugin-designs/gospel-resources/SOURCES-CHECKED-AND-REJECTED.md: research log
- .claude/ (an editor status line), .forgejo/ (a CI workflow that never ran),
  _archive/ (a retired staging page; already gitignored but still tracked)
Seven code comments that named these files now describe the rule instead.

Fixed five dead links left from the docs/ -> documentation/ move, including
the one in template-bundle that every new plugin inherits.

The delegation diagram now shows the whole model: the Plugin Studio with the
shared library and the merge queue into main, seven production plugins with
capability badges and the Experimental shelf, one agent per plugin (a roaming
agent for the shelf), the shepherd's oversight ring, a legend, and the five
ways a build ships.
2026-09-25 05:14:10 +00:00
..
colors.json Rename app-profiles -> plugin-designs; build green under new naming (load-bearing paths updated, guards pass) 2026-09-17 18:18:18 +00:00
example-mode.js Rename app-profiles -> plugin-designs; build green under new naming (load-bearing paths updated, guards pass) 2026-09-17 18:18:18 +00:00
README.md Move internal files out of the repo; fix five dead links; a fuller delegation diagram 2026-09-25 05:14:10 +00:00

src/colors/ — this map's colors

All of one map's colors live here, and it's bundle-private — editing it can never affect another map. Two surfaces sit side by side:

  src/colors/
  ┌──────────────────────────────────────────────┐
  │ colors.json     fixed colors (hex only, no code)│  ← non-coders edit this
  │ <mode>.js       data-driven color strategies    │  ← green if praying, red if not
  └──────────────────────────────────────────────┘
     index.js globs *.js as strategies · colors.json is a plain import
  • colors.json — pins/polygons/fallback as plain hex. Import it relatively: import colors from './src/colors/colors.json' (the sandbox has no @map/ alias).
  • A strategy .js — colors pins by a data value. Drop one in and this bundle's index.js auto-registers it, merging over the shared library set. Same mode key as a shared strategy → overrides it; a new key → adds one. For this bundle only.
  • Filename → mode key: example-mode.js → exampleMode. Files starting with _/. are skipped.

Writing a strategy? The full contract (required export default shape, checklist, profile-local overrides) is in ../../../../documentation/architecture/color-strategies.md. Two places a color can live, in depth: ../../../../contributing/COLORS.md.