diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index a5d824dd7..b754ca398 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -8,7 +8,7 @@
- {{ $css := slice "custom.scss" "base.scss" "darkmode.scss" "syntax.scss"}}
+ {{ $css := slice "base.scss" "darkmode.scss" "syntax.scss" "custom.scss"}}
{{range $css}}
{{$sass := resources.Get . | resources.ToCSS }}
{{with $sass | minify}}