fuzzyworld

tower / files / src / views / palette.ts

palette.ts

530 B · history · blame

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