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 61a45e25de
commit 1857c17d5c
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 path from "path"
import esbuild from "esbuild" import esbuild from "esbuild"
import chalk from "chalk" import chalk from "chalk"

View File

@ -7,7 +7,7 @@ import spaRouterScript from "../../components/scripts/spa.inline"
import plausibleScript from "../../components/scripts/plausible.inline" import plausibleScript from "../../components/scripts/plausible.inline"
// @ts-ignore // @ts-ignore
import popoverScript from "../../components/scripts/popover.inline" 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 popoverStyle from "../../components/styles/popover.scss"
import { BuildCtx } from "../../util/ctx" import { BuildCtx } from "../../util/ctx"
import { StaticResources } from "../../util/resources" import { StaticResources } from "../../util/resources"

View File

@ -1,7 +1,6 @@
@use "./custom.scss"; @use "./variables.scss" as *;
@use "./syntax.scss"; @use "./syntax.scss";
@use "./callouts.scss"; @use "./callouts.scss";
@use "./variables.scss" as *;
html { html {
scroll-behavior: smooth; scroll-behavior: smooth;

View File

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