From 852b3f91a0fc9be5fe010c95c1908f4a68b6f5a2 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Wed, 20 Jan 2021 18:32:28 -0800 Subject: [PATCH] Remove the `color-scheme` property - The default time is browser-default colors, not "light". The only "theme" for my site is the dark theme. - The "color-scheme" doesn't have wide support - The "color-scheme" property doesn't really do anything much if you use browser-defaults or a dark theme with @prefers-color-scheme --- layouts/partials/head.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2d0ec59..4f3191b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -28,11 +28,6 @@ {{ if not (eq $dark "off") -}} {{ $resources = $resources | append (resources.Get "css/dark.css" | resources.ExecuteAsTemplate "dark.css" .) -}} {{ end -}} - - {{ $css := $resources | resources.Concat "css/style.css" | minify | resources.Fingerprint "sha384" -}} {{ printf `` $css.RelPermalink $css.Data.Integrity | safeHTML -}}