/** * Weericonen als inline SVG-strings. viewBox 0 0 48 48, stroke 2.4, ronde uiteinden. * Zon-delen krijgen de klasse i-sun, wolk-vullingen i-cloud, druppels/vlokken/mist i-drop. */ const SUN = ''; const SMALL_SUN = ''; const CLOUD_LOW = ''; const CLOUD_HIGH = ''; const CLOUD_MID = ''; const ICONS = { sun: SUN, partly: SMALL_SUN + CLOUD_LOW, cloud: CLOUD_MID, fog: CLOUD_HIGH + '', drizzle: CLOUD_HIGH + '', rain: CLOUD_HIGH + '', showers: '' + '' + '', snow: CLOUD_HIGH + '', thunder: CLOUD_HIGH + '', }; export const ICON_NAMES = Object.keys(ICONS); /** SVG-markup voor een icoonnaam; onbekend -> cloud. */ export function icon(name) { const inner = ICONS[name] || ICONS.cloud; return ``; } /** Compacte windpijl, wijst standaard naar boven. Draai 'm met een inline transform naar de juiste hoek. */ export function windArrow() { return ''; }