️ Adjust text contrast to improve accessibility

This commit is contained in:
James Panther 2022-06-17 11:07:41 +10:00
parent 814c7774bc
commit 7c6bc92ff1
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 5 additions and 4 deletions

View File

@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Upgrade to Tailwind v3.1.3 - Upgrade to Tailwind v3.1.3
- Adjusted contrast of certain text to improve accessibility
## [1.1.0] - 2021-11-06 ## [1.1.0] - 2021-11-06

View File

@ -1,7 +1,7 @@
<footer class="py-10"> <footer class="py-10">
<div class="text-center"> <div class="text-center">
{{/* Copyright */}} {{/* Copyright */}}
<p class="text-sm text-neutral-400 dark:text-neutral-500"> <p class="text-sm text-neutral-500 dark:text-neutral-400">
{{- with .Site.Copyright }} {{- with .Site.Copyright }}
{{ . | emojify | markdownify }} {{ . | emojify | markdownify }}
{{- else }} {{- else }}
@ -12,11 +12,11 @@
</p> </p>
{{/* Theme attribution */}} {{/* Theme attribution */}}
{{ if .Site.Params.attribution | default true }} {{ if .Site.Params.attribution | default true }}
<p class="text-xs text-neutral-300 dark:text-neutral-600"> <p class="text-xs text-neutral-500 dark:text-neutral-400">
{{ $hugo := printf `<a class="hover:underline hover:underline-primary-300 hover:text-primary-400" {{ $hugo := printf `<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500"
href="https://gohugo.io/" target="_blank" rel="noopener noreferrer">Hugo</a>` href="https://gohugo.io/" target="_blank" rel="noopener noreferrer">Hugo</a>`
}} }}
{{ $lynx := printf `<a class="hover:underline hover:underline-primary-300 hover:text-primary-400" href="https://git.io/hugo-lynx" target="_blank" rel="noopener noreferrer">Lynx</a>` }} {{ $lynx := printf `<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="https://git.io/hugo-lynx" target="_blank" rel="noopener noreferrer">Lynx</a>` }}
{{ i18n "footer.powered_by" (dict "Hugo" $hugo "Lynx" $lynx) | safeHTML }} {{ i18n "footer.powered_by" (dict "Hugo" $hugo "Lynx" $lynx) | safeHTML }}
</p> </p>
{{ end }} {{ end }}