fix(css): import base from custom instead of the other way around (#536)
This commit is contained in:
parent
da0a062c05
commit
af9ddadc4d
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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;
|
||||||
|
@ -1 +1,3 @@
|
|||||||
|
@use "./base.scss";
|
||||||
|
|
||||||
// put your custom CSS here!
|
// put your custom CSS here!
|
||||||
|
Loading…
Reference in New Issue
Block a user