{"version":3,"file":"ColorRandomizer.DdJtCIro.mjs","names":[],"sources":["https:/framerusercontent.com/modules/lSZhsuBoSpYCAtQYzT1H/kBRwVETC5ZKoycmSFLz7/ColorRandomizer.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";function pastelFromIndex(i){const safe=isNaN(i)?0:i;const hue=safe*47%360;const saturation=70;const lightness=80+safe*13%10*.5;return`hsl(${hue}deg, ${saturation}%, ${lightness}%)`;}export function PastelTile(props){const{index}=props;const color=pastelFromIndex(index);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",padding:0,margin:0,backgroundColor:color,borderRadius:6,opacity:.15}});}PastelTile.defaultProps={index:0};addPropertyControls(PastelTile,{index:{type:ControlType.Number,title:\"Index\",defaultValue:0,min:0}});\nexport const __FramerMetadata__ = {\"exports\":{\"PastelTile\":{\"type\":\"reactComponent\",\"name\":\"PastelTile\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ColorRandomizer.map"],"mappings":"4JAA+F,SAAS,EAAgB,EAAE,CAAC,IAAM,EAAK,MAAM,EAAE,CAAC,EAAE,EAA6E,MAAM,OAAvE,EAAK,GAAG,IAA0E,YAAlC,GAAG,EAAK,GAAG,GAAG,GAAqD,IAAK,SAAgB,EAAW,EAAM,CAAC,GAAK,CAAC,SAAO,EAAyC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,EAAE,OAAO,EAAE,gBAA5G,EAAgB,EAAM,CAA4G,aAAa,EAAE,QAAQ,IAAI,CAAC,CAAC,kBAA1c,IAAoD,CAAwZ,EAAW,aAAa,CAAC,MAAM,EAAE,CAAC,EAAoB,EAAW,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC"}