Răsfoiți Sursa

style: rename css variables for font family

yukendev 2 ani în urmă
părinte
comite
d4deed6045

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

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