albingroen / react-cmdk

A fast, accessible, and pretty command palette for React
https://react-cmdk.com
MIT License
1.1k stars 45 forks source link

How to style dark mode? #23

Closed shouryan01 closed 1 year ago

shouryan01 commented 1 year ago

Hi there, I'm loving the library and how easy it is to use so far. I'm a little stuck on how to use and customize dark mode, can you help me out please?

albingroen commented 1 year ago

It's unfortunately not possible to style dark mode. I's automatic based on the users' computer appearance.

shouryan01 commented 1 year ago

Gotcha, thanks. But the colors must be coming from somewhere right? Where is it getting the information to switch colors from black to white for the text?