{"version":3,"file":"HighlightColor.BZuS_2dh.mjs","names":[],"sources":["https:/framerusercontent.com/modules/88zm4VFoJ676nRx4vBem/TgPXgiXNuTOhZaijShBF/HighlightColor.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function withCustomTextSelection(Component){return props=>{useEffect(()=>{// Inject custom CSS for text selection highlight with higher specificity\nconst style=document.createElement(\"style\");style.textContent=`\n                body ::selection {\n                    background-color: #333333 !important; /* Custom highlight color */\n                    color: #B0AAA6 !important; /* Text color within the selection */\n                }\n                \n                /* For Firefox which uses a different pseudo-element */\n                body ::-moz-selection {\n                    background-color: #333333 !important; /* Custom highlight color */\n                    color: #B0AAA6 !important; /* Text color within the selection */\n                }\n            `;document.head.appendChild(style);return()=>{document.head.removeChild(style)// Cleanup the style on component unmount\n;};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCustomTextSelection\":{\"type\":\"reactHoc\",\"name\":\"withCustomTextSelection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HighlightColor.map"],"mappings":"kHAAwE,SAAgB,EAAwB,EAAU,CAAC,MAAO,KAAQ,MAAc,CACxJ,IAAM,EAAM,SAAS,cAAc,QAAQ,CAWI,MAXH,GAAM,YAAY;;;;;;;;;;;cAWhD,SAAS,KAAK,YAAY,EAAM,KAAW,CAAC,SAAS,KAAK,YAAY,EAAM,GACrF,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,mBAbZ,IAA6B"}