py/facett_demo/theme.py
"""Chart palette for the ANALYTICS pane.
Scope is deliberately tiny. This file once also held OSM feature classification and
per-way colours (`classify_way`, `WAY_CLASS_RGB`, `place_label`) for the hand-rolled
pydeck map — a second, drifting copy of styling that `facett_map`/`facett_geomap`
already own. The map renders through the real component from `facett`, so
that duplication is deleted: **the component decides how OSM data looks, never this
package.**
What remains is the one thing no facett component covers: the colour of the
population bar charts, which are pure data analytics over korp aggregates.
Palette job (dataviz method): those bars encode *magnitude*, so they use a single
sequential hue — never a rainbow, never a hue per category.
"""
from __future__ import annotations
#: Single magnitude hue for the population bar charts (sequential, one hue).
BAR_HUE = "#2f6df0"
#: Body/ink colour for chart text (text wears ink tokens, never a series colour).
INK = "#1b2530"