feat: update next.js and minor style fixes

This commit is contained in:
Travis Fischer
2021-01-30 20:30:46 -05:00
parent ba025c1f4b
commit 88e7fdc438
4 changed files with 98 additions and 1748 deletions

View File

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

View File

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

View File

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

1836
yarn.lock

File diff suppressed because it is too large Load Diff