diff --git a/quartz/cli/handlers.js b/quartz/cli/handlers.js index bc3da73f3..48a44ec9f 100644 --- a/quartz/cli/handlers.js +++ b/quartz/cli/handlers.js @@ -1,4 +1,4 @@ -import { promises, readFileSync } from "fs" +import { promises } from "fs" import path from "path" import esbuild from "esbuild" import chalk from "chalk" diff --git a/quartz/plugins/emitters/componentResources.ts b/quartz/plugins/emitters/componentResources.ts index 1290a3548..5cb34804f 100644 --- a/quartz/plugins/emitters/componentResources.ts +++ b/quartz/plugins/emitters/componentResources.ts @@ -7,7 +7,7 @@ import spaRouterScript from "../../components/scripts/spa.inline" import plausibleScript from "../../components/scripts/plausible.inline" // @ts-ignore import popoverScript from "../../components/scripts/popover.inline" -import styles from "../../styles/base.scss" +import styles from "../../styles/custom.scss" import popoverStyle from "../../components/styles/popover.scss" import { BuildCtx } from "../../util/ctx" import { StaticResources } from "../../util/resources" diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss index 7645baddd..51694cb4e 100644 --- a/quartz/styles/base.scss +++ b/quartz/styles/base.scss @@ -1,7 +1,6 @@ -@use "./custom.scss"; +@use "./variables.scss" as *; @use "./syntax.scss"; @use "./callouts.scss"; -@use "./variables.scss" as *; html { scroll-behavior: smooth; diff --git a/quartz/styles/custom.scss b/quartz/styles/custom.scss index b908314b1..b0c09dcb9 100644 --- a/quartz/styles/custom.scss +++ b/quartz/styles/custom.scss @@ -1 +1,3 @@ +@use "./base.scss"; + // put your custom CSS here!