Просмотр исходного кода

style: rename css variables for font family

yukendev 2 лет назад
Родитель
Сommit
d4deed6045
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      apps/app/src/components/FontFamily/use-growi-custom-icon.tsx

+ 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>