{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/qTx8OYW6fpa1lPuSykLV/BrGWgEw2QgTWb1bpXy7B/Color.js"],
  "sourcesContent": ["// Welcome to Template by Dee S. (https://dees.lemonsqueezy.com/)\n// Follow https://twitter.com/deespnr\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function ColorsSelection(props){useEffect(()=>{if(props.enableSelection){const styleId=\"selection-styles\";const existingStyle=document.getElementById(styleId);if(existingStyle){existingStyle.remove();}const style=document.createElement(\"style\");style.id=styleId;style.innerHTML=`\n        ::selection { \n          background: ${props.selectionBackgroundColor};\n          color: ${props.selectionTextColor};\n        }\n        ::-moz-selection { \n          background: ${props.selectionBackgroundColor};\n          color: ${props.selectionTextColor};\n        }`;document.head.appendChild(style);}else{const style=document.getElementById(\"selection-styles\");if(style){style.remove();}}},[props.enableSelection,props.selectionBackgroundColor,props.selectionTextColor]);return /*#__PURE__*/_jsx(\"div\",{});}ColorsSelection.displayName=\"Selection colors\";addPropertyControls(ColorsSelection,{enableSelection:{title:\"Selection\",type:ControlType.Boolean,defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Use to change the colour of selected text and background\"},selectionBackgroundColor:{title:\"Background\",type:ControlType.Color,defaultValue:\"#000\",hidden(props){return!props.enableSelection;}},selectionTextColor:{title:\"Text color\",type:ControlType.Color,defaultValue:\"#fff\",hidden(props){return!props.enableSelection;}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ColorsSelection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Color.map"],
  "mappings": "gGAE2I,SAARA,EAAiCC,EAAM,CAAC,OAAAC,EAAU,IAAI,CAAC,GAAGD,EAAM,gBAAgB,CAAC,IAAME,EAAQ,mBAAyBC,EAAc,SAAS,eAAeD,CAAO,EAAKC,GAAeA,EAAc,OAAO,EAAG,IAAMC,EAAM,SAAS,cAAc,OAAO,EAAEA,EAAM,GAAGF,EAAQE,EAAM,UAAU;AAAA;AAAA,wBAEzYJ,EAAM,wBAAwB;AAAA,mBACnCA,EAAM,kBAAkB;AAAA;AAAA;AAAA,wBAGnBA,EAAM,wBAAwB;AAAA,mBACnCA,EAAM,kBAAkB;AAAA,WAChC,SAAS,KAAK,YAAYI,CAAK,CAAE,KAAK,CAAC,IAAMA,EAAM,SAAS,eAAe,kBAAkB,EAAKA,GAAOA,EAAM,OAAO,CAAG,CAAC,EAAE,CAACJ,EAAM,gBAAgBA,EAAM,yBAAyBA,EAAM,kBAAkB,CAAC,EAAsBK,EAAK,MAAM,CAAC,CAAC,CAAE,CAACN,EAAgB,YAAY,mBAAmBO,EAAoBP,EAAgB,CAAC,gBAAgB,CAAC,MAAM,YAAY,KAAKQ,EAAY,QAAQ,aAAa,GAAK,aAAa,MAAM,cAAc,KAAK,YAAY,0DAA0D,EAAE,yBAAyB,CAAC,MAAM,aAAa,KAAKA,EAAY,MAAM,aAAa,OAAO,OAAOP,EAAM,CAAC,MAAM,CAACA,EAAM,eAAgB,CAAC,EAAE,mBAAmB,CAAC,MAAM,aAAa,KAAKO,EAAY,MAAM,aAAa,OAAO,OAAOP,EAAM,CAAC,MAAM,CAACA,EAAM,eAAgB,CAAC,CAAC,CAAC",
  "names": ["ColorsSelection", "props", "ue", "styleId", "existingStyle", "style", "p", "addPropertyControls", "ControlType"]
}
