fuzzyworld

tower / files / src / views / palette.ts

palette.ts

Blame: the commit that last changed each line · file · history

376f2ce6 2026-09-16 Pavel Safronov1/** One colour per feature kind, shared by the map, the list and the editor. */
2import type { FeatureKind } from '../world/schema.js'
09a64747 2026-09-07 Pavel Safronov3
376f2ce6 2026-09-16 Pavel Safronov4export const KIND_COLOR: Record<FeatureKind, string> = {
5 settlement: '#e8c46a',
6 road: '#d8b25e',
7 path: '#b89a6a',
99a2821b 2026-09-29 Pavel Safronov8 railway: '#c7c3d6',
09a64747 2026-09-07 Pavel Safronov9 embassy: '#d98cc8',
10 tower: '#f0a0a0',
11 landmark: '#e8815a',
12 note: '#8a93a8',
376f2ce6 2026-09-16 Pavel Safronov13 mountains: '#cfd6e0',
09a64747 2026-09-07 Pavel Safronov14 lake: '#4a9fd4',
376f2ce6 2026-09-16 Pavel Safronov15 sea: '#3f86c0',
09a64747 2026-09-07 Pavel Safronov16 river: '#5cc0e8',
17 forest: '#6fbf8a',
18 desert: '#d9c084',
abc0aad0 2026-10-01 Pavel Safronov19 farmland: '#e889b8',
09a64747 2026-09-07 Pavel Safronov20 region: '#9aa8bd',
21}