️ 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
- Upgrade to Tailwind v3.1.3
- Adjusted contrast of certain text to improve accessibility
## [1.1.0] - 2021-11-06

View File

@ -1,7 +1,7 @@
<footer class="py-10">
<div class="text-center">
{{/* 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 }}
{{ . | emojify | markdownify }}
{{- else }}
@ -12,11 +12,11 @@
</p>
{{/* Theme attribution */}}
{{ if .Site.Params.attribution | default true }}
<p class="text-xs text-neutral-300 dark:text-neutral-600">
{{ $hugo := printf `<a class="hover:underline hover:underline-primary-300 hover:text-primary-400"
<p class="text-xs text-neutral-500 dark:text-neutral-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>`
}}
{{ $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 }}
</p>
{{ end }}