grammyjs / tools

A collection of web-based tools to help in the bot development process. [Unmaintained. Succeeded by telegram.tools.]
https://tools.grammy.dev
MIT License
7 stars 6 forks source link

Filter Query explorer text color is not correct in dark mode #26

Closed code-withAshish closed 10 months ago

code-withAshish commented 10 months ago

The filter query explorer uses tailwindcss and to my best knowledge the dark class has wrongly been written with a @ which seems to be the problem, hence the background and text both remain light even in dark mode.

As of now it looks like this:- Screenshot from 2023-12-24 18-45-14

Cause of error (To my best knowledge)

the class name @dark:bg-gray-800 should be changed to dark:bg-gray-800 also b-rounded doesnt seem to be any of the tailwind or custom defined class so i am guessing it's for the tailwind rounded class.

https://github.com/grammyjs/tools/blob/c202a4d0b862815c923e8db33bb88efb747ad408/src/components/react/filter_query_browser/docs.tsx#L68

https://github.com/grammyjs/tools/blob/c202a4d0b862815c923e8db33bb88efb747ad408/src/components/react/filter_query_browser/docs.tsx#L80

https://github.com/grammyjs/tools/blob/c202a4d0b862815c923e8db33bb88efb747ad408/src/components/react/filter_query_browser/docs.tsx#L109