From 7ea70315213c0e145fa2c27aeafecec5d009b7c5 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sat, 6 Apr 2024 23:08:06 -0400 Subject: [PATCH] Update prism themes --- layouts/partials/comments.html | 2 +- themes/hugo-theme-gruvbox/assets/css/critical/15-colors.css | 4 ++-- .../layouts/partials/head/stylesheets.html | 4 ++-- themes/hugo-theme-gruvbox/layouts/partials/post-list.html | 5 +---- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index 8df55307..0d0c3f2d 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -3,7 +3,7 @@ src="https://storage.ko-fi.com/cdn/widget/Widget_2.js" > diff --git a/themes/hugo-theme-gruvbox/assets/css/critical/15-colors.css b/themes/hugo-theme-gruvbox/assets/css/critical/15-colors.css index 08628bc6..1c6c3f94 100644 --- a/themes/hugo-theme-gruvbox/assets/css/critical/15-colors.css +++ b/themes/hugo-theme-gruvbox/assets/css/critical/15-colors.css @@ -29,8 +29,8 @@ --green2: #b9f27c; --yellow1: #e0af68; --yellow2: #ff9e64; - --blue1: #7aa2f7; - --blue2: #7da6ff; + --blue1: #7da6ff; + --blue2: #7aa2f7; --purple1: #ad8ee6; --purple2: #bb9af7; --aqua1: #449dab; diff --git a/themes/hugo-theme-gruvbox/layouts/partials/head/stylesheets.html b/themes/hugo-theme-gruvbox/layouts/partials/head/stylesheets.html index c17dd249..128492c1 100644 --- a/themes/hugo-theme-gruvbox/layouts/partials/head/stylesheets.html +++ b/themes/hugo-theme-gruvbox/layouts/partials/head/stylesheets.html @@ -3,8 +3,8 @@ {{ $critical := sort (resources.Match "css/critical/*.css") "Name" | resources.Concat nil | resources.ExecuteAsTemplate nil . | resources.PostCSS }} {{ $nonCritical := sort (resources.Match "css/non-critical/*.css") "Name" | resources.Concat "css/non-critical.css" | resources.ExecuteAsTemplate "css/non-critical.css" . | resources.PostCSS }} -{{ $prismDark := resources.Get "prism-themes/prism-gruvbox-dark.css" }} -{{ $prismLight := resources.Get "prism-themes/prism-gruvbox-light.css" }} +{{ $prismDark := resources.Get "prism-themes/prism-synthwave84.css" }} +{{ $prismLight := resources.Get "prism-themes/prism-synthwave84.css" }} {{ if hugo.IsProduction }} {{ $critical = $critical | resources.PostProcess }} diff --git a/themes/hugo-theme-gruvbox/layouts/partials/post-list.html b/themes/hugo-theme-gruvbox/layouts/partials/post-list.html index f3a9debb..969c867a 100644 --- a/themes/hugo-theme-gruvbox/layouts/partials/post-list.html +++ b/themes/hugo-theme-gruvbox/layouts/partials/post-list.html @@ -1,12 +1,9 @@ {{ range $pageIndex, $page := .Pages }}
- {{ .Title | markdownify }} - + {{ .Title | markdownify }} {{ partial "post-meta.html" (dict "page" . "pageIndex" $pageIndex) }} -
-
{{ end }}