diff --git a/assets/scss/custom.scss b/assets/scss/_styles_project.scss similarity index 99% rename from assets/scss/custom.scss rename to assets/scss/_styles_project.scss index c147b645..9d0fb209 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/_styles_project.scss @@ -1,5 +1,5 @@ /* -Copyright 2020, 2021 The Matrix.org Foundation C.I.C. +Copyright 2020, 2021, 2023 The Matrix.org Foundation C.I.C. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,9 +18,6 @@ limitations under the License. Custom SCSS for the Matrix spec */ -@import "variables_project"; -@import "variables"; - /* Import the CSS classes for the syntax highlighter. * * This is generated with: @@ -516,4 +513,4 @@ dd { background-color: rgba($black, 0.05); border-radius: 0.25rem; // was $border-radius, but that var isn't accessible here. } -} +} \ No newline at end of file diff --git a/layouts/partials/hooks/head-end.html b/layouts/partials/hooks/head-end.html index 7bceff45..9b3b6e99 100644 --- a/layouts/partials/hooks/head-end.html +++ b/layouts/partials/hooks/head-end.html @@ -16,13 +16,4 @@ -{{ $scss := "scss/custom.scss"}} -{{ if .Site.IsServer }} -{{/* Note the missing postCSS. This makes it snappier to develop in Chrome, but makes it look sub-optimal in other browsers. */}} -{{ $css := resources.Get $scss | toCSS (dict "enableSourceMap" true) }} - -{{ else }} -{{ $css := resources.Get $scss | toCSS (dict "enableSourceMap" false) | postCSS | minify | fingerprint }} - - -{{ end }} +{{/* Note the missing postCSS. This makes it snappier to develop in Chrome, but makes it look sub-optimal in other browsers. */}} \ No newline at end of file