diff --git a/CHANGELOG.md b/CHANGELOG.md index e8b44a71..9e43f577 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Multilingual support - Right-to-left (RTL) language support +- Performance and Accessibility improvements to achieve perfect Lighthouse scores ### Changed diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 1e439731..57c17b01 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -2586,10 +2586,6 @@ body a, body button { color: var(--color-primary-400); } -.dark .dark\:text-neutral-600 { - color: var(--color-neutral-600); -} - .dark .dark\:text-neutral-800 { color: var(--color-neutral-800); } diff --git a/exampleSite/content/samples/placeholder-text.md b/exampleSite/content/samples/placeholder-text.md index f7ffc21c..104a18c6 100755 --- a/exampleSite/content/samples/placeholder-text.md +++ b/exampleSite/content/samples/placeholder-text.md @@ -24,7 +24,7 @@ Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silen ## Vagus elidunt - + [The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 924354bc..64ea2725 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -30,7 +30,7 @@
{{/* Theme attribution */}} {{ if .Site.Params.attribution | default true }} -+
{{ $hugo := printf `Hugo` }} {{ $congo := printf `Congo` }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 93134694..e5bd6cf3 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -65,7 +65,7 @@ {{ if eq (.Site.Params.darkMode | default "auto") "auto" }} {{ $darkJS := resources.Get "js/dark.js" }} {{ $darkJS := $darkJS | resources.Minify | resources.Fingerprint "sha512" }} - + {{ end }} {{/* Icons */}} {{ if templates.Exists "partials/favicons.html" }} diff --git a/lighthouserc.js b/lighthouserc.js index 4aff39ca..b042c67f 100644 --- a/lighthouserc.js +++ b/lighthouserc.js @@ -1,9 +1,9 @@ module.exports = { ci: { collect: { - startServerCommand: "npm run example", + startServerCommand: "npm run example -- --disableLiveReload --minify", startServerReadyPattern: "Web Server is available", - url: ["http://localhost:8008/congo/samples/markdown/"], + url: ["http://localhost:8008/congo/samples/placeholder-text/"], }, upload: { target: "temporary-public-storage", diff --git a/static/site.webmanifest b/static/site.webmanifest index 45dc8a20..03c13dab 100755 --- a/static/site.webmanifest +++ b/static/site.webmanifest @@ -1 +1 @@ -{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file +{"name":"Congo","short_name":"Congo","icons":[{"src": "/android-chrome-192x192.png","sizes": "192x192","type": "image/png","purpose": "any maskable"},{"src": "/android-chrome-512x512.png","sizes": "512x512","type": "image/png","purpose": "any maskable"}],"theme_color":"#ffffff","background_color":"#7c3aed","display":"standalone"} \ No newline at end of file