Skip to content

Basemaps

Map elements

Recolour or hide each part of a kharita basemap with one word.

Quick reference

Utility Does Example
land-<colour> Colour of the basemap's ground land-stone-100
land-[#d4d4d8]
water-<colour> Colour of the basemap's sea and lakes water-sky-200
water-[#d4d4d8]
rivers-<colour>
rivers-none
Colour of the basemap's rivers and canals, or none to hide it rivers-sky-400
rivers-[#d4d4d8]
rivers-none
parks-<colour>
parks-none
Colour of the basemap's parks and vegetation, or none to hide it parks-emerald-100
parks-[#d4d4d8]
parks-none
roads-<colour>
roads-none
Colour of the basemap's major roads, or none to hide it roads-amber-200
roads-[#d4d4d8]
roads-none
streets-<colour>
streets-none
Colour of the basemap's minor streets, or none to hide it streets-stone-200
streets-[#d4d4d8]
streets-none
borders-<colour>
borders-none
Colour of the basemap's country borders, or none to hide it borders-slate-500
borders-[#d4d4d8]
borders-none
admin-<colour>
admin-none
Colour of the basemap's state and province borders, or none to hide it admin-slate-300
admin-[#d4d4d8]
admin-none
labels-none
labels-<colour>
Hide or recolour the place labels of a kharita basemap labels-none
labels-slate-700
kh.map(states, "basemap-paper water-sky-300 land-[#f5f5f4] roads-none borders-rose-400 fill-transparent stroke-slate-500")

Elements need a kharita theme; on light, dark or fiord they raise an error that names the fix. land- also recolours the halo around place names so they stay crisp. parks-none hides park and woodland areas, which can show as pale shapes on some themes.