fix(css): import base from custom instead of the other way around (#536)

This commit is contained in:
Jacky Zhao 2023-10-14 13:45:56 -07:00 committed by GitHub
parent da0a062c05
commit af9ddadc4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View File

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

View File

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

View File

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

View File

@ -1 +1,3 @@
@use "./base.scss";
// put your custom CSS here!