mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-09-13 13:01:33 +00:00
fix text color for topic names on discover page in light mode
make light mode color for topic text black so it is readable
This commit is contained in:
@@ -91,7 +91,7 @@ const Page = () => {
|
|||||||
'border-[0.1px] rounded-full text-sm px-3 py-1 text-nowrap transition duration-200 cursor-pointer',
|
'border-[0.1px] rounded-full text-sm px-3 py-1 text-nowrap transition duration-200 cursor-pointer',
|
||||||
activeTopic === t.key
|
activeTopic === t.key
|
||||||
? 'text-cyan-300 bg-cyan-300/30 border-cyan-300/60'
|
? 'text-cyan-300 bg-cyan-300/30 border-cyan-300/60'
|
||||||
: 'border-white/30 text-white/70 hover:text-white hover:border-white/40 hover:bg-white/5',
|
: 'border-black/30 dark:border-white/30 text-black/70 dark:text-white/70 hover:text-black dark:hover:text-white hover:border-black/40 dark:hover:border-white/40 hover:bg-black/5 dark:hover:bg-white/5',
|
||||||
)}
|
)}
|
||||||
onClick={() => setActiveTopic(t.key)}
|
onClick={() => setActiveTopic(t.key)}
|
||||||
>
|
>
|
||||||
|
Reference in New Issue
Block a user