fix(css): import base from custom instead of the other way around (#536)
This commit is contained in:
		
							parent
							
								
									da0a062c05
								
							
						
					
					
						commit
						af9ddadc4d
					
				
					 4 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1 +1,3 @@
 | 
			
		|||
@use "./base.scss";
 | 
			
		||||
 | 
			
		||||
// put your custom CSS here!
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue