// calendar/lib.jsx — shared calendar primitives. // // FEED_HEX is the canonical color-per-source palette used everywhere a // calendar item appears (arc rows, agenda strip, share chips, feed dots). // Maps the iOS semantic palette to source feeds. Health-domain colors // are reserved for health surfaces, not feeds. const FEED_HEX = { work: '#007AFF', // blue uni: '#AF52DE', // purple personal: '#34C759', // green family: '#FF9500', // orange gym: '#FF2D55', // pink society: '#5AC8FA', // teal bedtime: '#5E5CE6', // indigo (the brand bedtime hue) default: '#007AFF', }; const FEEDS = { work: { name: 'Work', color: FEED_HEX.work }, uni: { name: 'University', color: FEED_HEX.uni }, personal: { name: 'Personal', color: FEED_HEX.personal }, family: { name: 'Family · Maya',color: FEED_HEX.family }, gym: { name: 'Climbing', color: FEED_HEX.gym }, society: { name: 'Society', color: FEED_HEX.society }, bedtime: { name: 'Bedtime', color: FEED_HEX.bedtime }, }; Object.assign(window, { FEED_HEX, FEEDS });