From 78ba09a641762b70d2fa9376c888bbbd4023d154 Mon Sep 17 00:00:00 2001 From: hanmillee <94hanmil@gmail.com> Date: Sun, 26 Mar 2023 01:09:44 +0900 Subject: [PATCH] tmp --- pages/_app.tsx | 7 ++++++- styles/custom/index.scss | 3 --- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index 3c13b26aed..091bf17918 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -5,14 +5,19 @@ import { useRouter } from 'next/router' import * as Fathom from 'fathom-client' // used for rendering equations (optional) +import 'katex/dist/katex.min.css' import posthog from 'posthog-js' // used for code syntax highlighting (optional) +import 'prismjs/themes/prism-coy.css' // core styles shared by all of react-notion-x (required) +import 'react-notion-x/src/styles.css' +import 'styles/global.css' // this might be better for dark mode // import 'prismjs/themes/prism-okaidia.css' // global style overrides for notion +import 'styles/notion.css' // global style overrides for prism theme (optional) -import 'styles/custom/index.scss'; +import 'styles/prism-theme.css' import { bootstrap } from '@/lib/bootstrap-client' import { diff --git a/styles/custom/index.scss b/styles/custom/index.scss index 1f17ae3504..7fea056637 100644 --- a/styles/custom/index.scss +++ b/styles/custom/index.scss @@ -1,7 +1,4 @@ // 해당 import문의 순서를 변경하면 스타일이 제대로 적용되지 않습니다. -// @import 'react-notion-x/styles.css'; -// @import 'katex/dist/katex.min.css'; -// @import 'prismjs/themes/prism-coy.css'; @import '~/styles/global.css'; @import '~/styles/notion.css'; @import '~/styles/prism-theme.css';