{"version":3,"file":"SX42Ft2hk.Bmds1LyX.mjs","names":[],"sources":["https:/framerusercontent.com/modules/eQ3vV5jREiEy5vqGJnb4/NbILchKh8D136DOJqYGi/Highlight_text_color.js","https:/framerusercontent.com/modules/9ybEdxB9qOfbroXtW1uH/Iu2ykcj1tsfJkPysGdP2/SX42Ft2hk.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// Define the component\nexport default function SelectionColorChanger(props){useEffect(()=>{const style=document.createElement(\"style\");style.type=\"text/css\";style.innerHTML=`::selection { background-color: ${props.selectionColor}; color: ${props.textColor}; }`;document.head.appendChild(style);return()=>{document.head.removeChild(style);};},[props.selectionColor,props.textColor]);// Return an empty div instead of null\nreturn /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\"}});}SelectionColorChanger.displayName=\"Selection Color Changer\";// Add property controls\naddPropertyControls(SelectionColorChanger,{selectionColor:{type:ControlType.Color,title:\"Selection Color\",defaultValue:\"#ffcc00\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SelectionColorChanger\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Highlight_text_color.map","// Generated by Framer (7d037c2)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-qK843 .framer-styles-preset-knrsk8:not(.rich-text-wrapper), .framer-qK843 .framer-styles-preset-knrsk8.rich-text-wrapper a { --framer-link-current-text-color: #111111; --framer-link-current-text-decoration: underline; --framer-link-hover-text-color: var(--token-51559672-fafa-43f9-af30-2fb391a2a656, #ff4400); --framer-link-hover-text-decoration: none; --framer-link-text-color: var(--token-8ed0f524-5690-4ee5-ae11-cc9b60d389b9, #000000); --framer-link-text-decoration: none; }\"];export const className=\"framer-qK843\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"iRACA,SAAwB,EAAsB,EAAM,CACpD,OADqD,MAAc,CAAC,IAAM,EAAM,SAAS,cAAc,QAAQ,CAAgK,MAA/J,GAAM,KAAK,WAAW,EAAM,UAAU,mCAAmC,EAAM,eAAe,WAAW,EAAM,UAAU,KAAK,SAAS,KAAK,YAAY,EAAM,KAAW,CAAC,SAAS,KAAK,YAAY,EAAM,GAAK,CAAC,EAAM,eAAe,EAAM,UAAU,CAAC,CAClV,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,CAAC,CAAC,kBAFzB,IAA6B,IAAoD,CAEtD,EAAsB,YAAY,0BACxG,EAAoB,EAAsB,CAAC,eAAe,CAAC,KAAK,EAAY,MAAM,MAAM,kBAAkB,aAAa,UAAU,CAAC,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,UAAU,CAAC,CAAC,uBCFlL,GAAU,UAAU,EAAE,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,EAAE,CAAC,CAAC,CAAc,EAAI,CAAC,weAAwe,CAAc,EAAU"}