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