feat: ssg critical css

This commit is contained in:
Anthony Fu committed 2021-08-01 02:18:45 +08:00
1 parent 439119935c
commit 91f08f3b13
4 files changed
+61 -8

No files matched your search

+3 -3
View File
@@ -1,11 +1,11 @@
/* https://github.com/antfu/prism-theme-vars */
@import 'prism-theme-vars/base.css';
:root {
.prose {
--prism-font-family: 'Input Mono', monospace;
}
html:not(.dark) {
html:not(.dark) .prose {
--prism-foreground: #393a34;
--prism-background: #fbfbfb;
--prism-comment: #a0ada0;
@@ -27,7 +27,7 @@ html:not(.dark) {
--prism-json-property: #698c96;
}
html.dark {
html.dark .prose {
--prism-foreground: #d4cfbf;
--prism-background: #151515;
--prism-comment: #758575;