{"version":3,"file":"ScrollColor.DBUVc576.mjs","names":[],"sources":["https:/framerusercontent.com/modules/k4w1i0mSgtQ9ylp9ZEfr/LoT15ETuMdKoLwypc8GH/ScrollColor.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";const scrollbarWidth=20;const scrollbarBorderRadius=9;const scrollbarBackgroundColor=\"#030b1c\";const thumbBorderRadius=25;const thumbColor=\"#32559a\";const hoverColor=\"#2d82d2\";const focusColor=\"#01c7f9\";import{useEffect}from\"react\";export function customScrollbar(Component){return props=>{useEffect(()=>{const styleTag=document.createElement(\"style\");styleTag.innerHTML=`\n                \n                ::-webkit-scrollbar {\n                    width: ${scrollbarWidth}px;\n                }\n                ::-webkit-scrollbar-track {\n                    background: ${scrollbarBackgroundColor};\n                    padding: 4px;\n                    border-radius: ${scrollbarBorderRadius}px;,\n                }\n                ::-webkit-scrollbar-thumb {\n                    background-color: ${thumbColor};\n                    border: transparent;\n                    border-radius: ${thumbBorderRadius}px;\n                }\n                ::-webkit-scrollbar-thumb:hover {\n                    background-color: ${hoverColor};\n                }\n                ::-webkit-scrollbar-thumb:active {\n                    background-color: ${focusColor};\n                }\n            `;document.head.appendChild(styleTag);return()=>{document.head.removeChild(styleTag);};},[scrollbarWidth,thumbColor,scrollbarBackgroundColor,scrollbarBorderRadius,thumbBorderRadius,hoverColor,focusColor]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"customScrollbar\":{\"type\":\"reactHoc\",\"name\":\"customScrollbar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollColor.map"],"mappings":"2JAAmR,SAAgB,EAAgB,EAAU,CAAC,MAAO,KAAQ,MAAc,CAAC,IAAM,EAAS,SAAS,cAAc,SAqBhV,MArByV,GAAS,UAAU;;;6BAGjY,EAAe;;;kCAGV,EAAyB;;qCAEtB,EAAsB;;;wCAGnB,EAAW;;qCAEd,EAAkB;;;wCAGf,EAAW;;;wCAGX,EAAW;;cAErC,SAAS,KAAK,YAAY,OAAoB,CAAC,SAAS,KAAK,YAAY,EAAW,CAAE,EAAC,CAAC,EAAe,EAAW,EAAyB,EAAsB,EAAkB,EAAW,EAAW,EAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,EAAK,qCArB1N,EAAe,GAAS,EAAsB,EAAQ,EAAyB,UAAgB,EAAkB,GAAS,EAAW,UAAgB,EAAW,UAAgB,EAAW"}