tower / cascadia / files / src / views / palette.ts
Branch cascadia · default branch · all branches
palette.ts
| 1 | /** One colour per place kind, shared by the map, the list and the editor. */ |
| 2 | import type { PlaceKind } from '../world/schema.js' |
| 3 | |
| 4 | export const KIND_COLOR: Record<PlaceKind, string> = { |
| 5 | city: '#e8c46a', |
| 6 | town: '#d8b25e', |
| 7 | embassy: '#d98cc8', |
| 8 | tower: '#f0a0a0', |
| 9 | landmark: '#e8815a', |
| 10 | note: '#8a93a8', |
| 11 | mountain: '#cfd6e0', |
| 12 | lake: '#4a9fd4', |
| 13 | river: '#5cc0e8', |
| 14 | canyon: '#c58a5a', |
| 15 | forest: '#6fbf8a', |
| 16 | desert: '#d9c084', |
| 17 | region: '#9aa8bd', |
| 18 | } |