diff --git a/frontend/style.css b/frontend/style.css index ec12563..d64d4f6 100644 --- a/frontend/style.css +++ b/frontend/style.css @@ -1685,4 +1685,36 @@ video { .dark\:hover\:text-slate-300:hover:is(.dark *) { --tw-text-opacity: 1; color: rgb(203 213 225 / var(--tw-text-opacity, 1)); +} + +/* ===== Theme contrast adjustments ===== */ + +/* Light theme: darken softer (muted) text one step for higher contrast */ +.text-gray-400 { + color: rgb(107 114 128 / var(--tw-text-opacity, 1)); +} +.text-gray-500 { + color: rgb(75 85 99 / var(--tw-text-opacity, 1)); +} +.text-gray-600 { + color: rgb(55 65 81 / var(--tw-text-opacity, 1)); +} + +/* Dark theme: lighten softer (muted) text one step for higher contrast */ +.dark\:text-slate-500:is(.dark *) { + color: rgb(148 163 184 / var(--tw-text-opacity, 1)); +} +.dark\:text-slate-400:is(.dark *) { + color: rgb(203 213 225 / var(--tw-text-opacity, 1)); +} + +/* Dark theme: red text is too dark on dark backgrounds — lighten it */ +.dark :where(.text-red-500) { + color: rgb(248 113 113 / var(--tw-text-opacity, 1)); +} +.dark :where(.text-red-600) { + color: rgb(248 113 113 / var(--tw-text-opacity, 1)); +} +.dark :where(.text-red-700) { + color: rgb(239 68 68 / var(--tw-text-opacity, 1)); } \ No newline at end of file diff --git a/frontend/sw.js b/frontend/sw.js index 3e02fa9..0efcbc9 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -1,4 +1,4 @@ -const CACHE = 'otaman-v39'; +const CACHE = 'otaman-v40'; const URLS = [ 'index.html', 'help.html',