mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 23:16:47 +00:00
feat: update next.js and minor style fixes
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
"got": "^11.8.1",
|
||||
"isomorphic-unfetch": "^3.1.0",
|
||||
"lqip-modern": "^1.1.3",
|
||||
"next": "^10.0.5",
|
||||
"next": "^10.0.6",
|
||||
"notion-client": "^4.2.0",
|
||||
"notion-types": "^4.0.0",
|
||||
"notion-utils": "^4.2.0",
|
||||
|
||||
@@ -23,6 +23,8 @@ import 'styles/notion.css'
|
||||
// global style overrides for prism theme
|
||||
import 'styles/prism-theme.css'
|
||||
|
||||
// here we're bringing in any languages we want to support for
|
||||
// syntax highlighting via Notion's Code block
|
||||
import 'prismjs'
|
||||
import 'prismjs/components/prism-markup'
|
||||
import 'prismjs/components/prism-javascript'
|
||||
|
||||
@@ -10,18 +10,12 @@
|
||||
background-color: rgba(17, 24, 39, 1);
|
||||
border-color: rgba(55, 65, 81, 1);
|
||||
}
|
||||
.notion pre {
|
||||
border: 0 none;
|
||||
}
|
||||
.notion code {
|
||||
color: rgba(31, 41, 55, 1);
|
||||
}
|
||||
.dark-mode .notion code {
|
||||
color: rgba(229, 231, 235, 1);
|
||||
}
|
||||
.notion img {
|
||||
margin: 0;
|
||||
}
|
||||
.token.cdata,
|
||||
.token.comment,
|
||||
.token.doctype,
|
||||
|
||||
Reference in New Issue
Block a user