Fix dark mode accessibility

This commit is contained in:
prototypa
2023-01-02 11:18:23 -05:00
parent e6427707c9
commit 7034e99d4a

View File

@ -5,7 +5,7 @@ import { getPermalink } from '~/utils/permalinks';
<div <div
class="hidden md:block bg-primary-100 dark:bg-slate-800 dark:border-slate-800 dark:text-slate-400 border-b border-primary-100 text-sm px-3 py-2 text-gray-800 overflow-hidden whitespace-nowrap text-ellipsis" class="hidden md:block bg-primary-100 dark:bg-slate-800 dark:border-slate-800 dark:text-slate-400 border-b border-primary-100 text-sm px-3 py-2 text-gray-800 overflow-hidden whitespace-nowrap text-ellipsis"
> >
<span class="text-xs py-0.5 px-1 bg-primary-200 dark:bg-slate-600 font-semibold">NEW</span> <span class="text-xs py-0.5 px-1 bg-primary-200 dark:bg-slate-500 font-semibold">NEW</span>
<a <a
href={getPermalink('useful-resources-to-create-websites', 'post')} href={getPermalink('useful-resources-to-create-websites', 'post')}
class="hover:underline text-gray-700 dark:text-slate-400" class="hover:underline text-gray-700 dark:text-slate-400"