Update prism themes

This commit is contained in:
Dave Gallant
2024-04-06 23:08:06 -04:00
parent 391d164ae9
commit 7ea7031521
4 changed files with 6 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
src="https://storage.ko-fi.com/cdn/widget/Widget_2.js"
></script>
<script type="text/javascript">
kofiwidget2.init("Buy me a coffee", "#458588", "F1F2S4LWI");
kofiwidget2.init("Buy me a coffee", "#ad8ee6", "F1F2S4LWI");
kofiwidget2.draw();
</script>

View File

@@ -29,8 +29,8 @@
--green2: #b9f27c;
--yellow1: #e0af68;
--yellow2: #ff9e64;
--blue1: #7aa2f7;
--blue2: #7da6ff;
--blue1: #7da6ff;
--blue2: #7aa2f7;
--purple1: #ad8ee6;
--purple2: #bb9af7;
--aqua1: #449dab;

View File

@@ -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 }}

View File

@@ -1,12 +1,9 @@
{{ range $pageIndex, $page := .Pages }}
<article class="post">
<div class="post-header">
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
{{ partial "post-meta.html" (dict "page" . "pageIndex" $pageIndex) }}
</div>
</article>
{{ end }}