Skip to content

Commit d0c6f74

Browse files
committed
use night-owl theme for code
1 parent 450bd92 commit d0c6f74

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

components/NotionPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import { PageAside } from './PageAside'
2828
import { PageHead } from './PageHead'
2929
import styles from './styles.module.css'
3030

31+
3132
// -----------------------------------------------------------------------------
3233
// dynamic imports for optional components
3334
// -----------------------------------------------------------------------------

pages/_app.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ import 'styles/notion.css'
1919
// global style overrides for prism theme (optional)
2020
import 'styles/prism-theme.css'
2121

22+
// used for code syntax highlighting (optional)
23+
// import 'prismjs/themes/prism-coy.css'
24+
25+
// this might be better for dark mode
26+
import '../styles/prism-night-owl.css'
27+
// import '../styles/prism-shades-of-purple.css'
28+
// import 'prismjs/themes/prism-tomorrow.css'
29+
2230
import { bootstrap } from '@/lib/bootstrap-client'
2331
import {
2432
fathomConfig,

0 commit comments

Comments
 (0)