Procházet zdrojové kódy

style: rename css variables for font family

yukendev před 2 roky
rodič
revize
d4deed6045

+ 1 - 2
apps/app/src/components/FontFamily/use-growi-custom-icon.tsx

@@ -4,14 +4,13 @@ import { DefineStyle } from './types';
 
 const growiCustomIconFont = localFont({
   src: '../../../../../packages/apps-font-icons/font/growi-custom-icon.woff2',
-  adjustFontFallback: false,
 });
 
 export const useGrowiCustomIcon: DefineStyle = () => (
   <style jsx global>
     {`
       :root {
-        --grw-font-family-custom-svg-font: ${growiCustomIconFont.style.fontFamily};
+        --grw-font-family-custom-icon: ${growiCustomIconFont.style.fontFamily};
       }
     `}
   </style>