tower / files / src / views / palette.ts
palette.ts
376f2ce6 2026-09-16 Pavel Safronov | 1 | /** One colour per feature kind, shared by the map, the list and the editor. */ |
| 2 | import type { FeatureKind } from '../world/schema.js' | |
09a64747 2026-09-07 Pavel Safronov | 3 | |
376f2ce6 2026-09-16 Pavel Safronov | 4 | export const KIND_COLOR: Record<FeatureKind, string> = { |
| 5 | settlement: '#e8c46a', | |
| 6 | road: '#d8b25e', | |
| 7 | path: '#b89a6a', | |
99a2821b 2026-09-29 Pavel Safronov | 8 | railway: '#c7c3d6', |
09a64747 2026-09-07 Pavel Safronov | 9 | embassy: '#d98cc8', |
| 10 | tower: '#f0a0a0', | |
| 11 | landmark: '#e8815a', | |
| 12 | note: '#8a93a8', | |
376f2ce6 2026-09-16 Pavel Safronov | 13 | mountains: '#cfd6e0', |
09a64747 2026-09-07 Pavel Safronov | 14 | lake: '#4a9fd4', |
376f2ce6 2026-09-16 Pavel Safronov | 15 | sea: '#3f86c0', |
09a64747 2026-09-07 Pavel Safronov | 16 | river: '#5cc0e8', |
| 17 | forest: '#6fbf8a', | |
| 18 | desert: '#d9c084', | |
abc0aad0 2026-10-01 Pavel Safronov | 19 | farmland: '#e889b8', |
09a64747 2026-09-07 Pavel Safronov | 20 | region: '#9aa8bd', |
| 21 | } |