BraydenTW / react-emoji-search

🦄 A simple emoji search tool made with ReactJS.

Home Page:https://react-emoji-search.braydentw.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"No result found" text is in black color in dark mode

SubhamKarmakar24 opened this issue · comments

What is this About?

A bug that was generated due to #27 merged into main not taking into consideration the dark theme text colors. The "No results found" text is fine in light mode, but in dark mode, same colors were being used from the light mode, thus being difficult to read.


Expected Behavior

Separate colors for light mode and dark mode.


Current Behavior

Same color in both the modes


Failure Information (for bugs)

The text color was hard-coded instead of being a variable(which can change dynamically depending on the current theme)


Steps to Reproduce


Context

The issue is due to absence of text color variable of the h2 tag used.


Failure Logs

Untitled

This is the current condition in dark mode.