소스 검색

style: rename css variables for font family

yukendev 2 년 전
부모
커밋
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>