/** * The skateability colour scale, shown in the map's weather legend. * * Kept as a plain module (not exported from a component file — that trips the * `react-refresh` lint rule) and mirrors the colours emitted by * `calculateSkateability` in `lib/weather.ts`. If a threshold there changes, * change it here too. */ export const SKATEABILITY_LEVELS: { key: string; color: string }[] = [ { key: 'weatherUi.skateability.perfect', color: '#00e400' }, { key: 'weatherUi.skateability.good', color: '#92d050' }, { key: 'weatherUi.skateability.okay', color: '#ffff00' }, { key: 'weatherUi.skateability.poor', color: '#ff7e00' }, { key: 'weatherUi.skateability.bad', color: '#ff0000' }, ];