koba04 / swr-devtools

A DevTool for SWR
https://swr-devtools.vercel.app
MIT License
217 stars 3 forks source link

Feat: Add manual dark mode support #91

Closed dev-afzalansari closed 1 year ago

dev-afzalansari commented 1 year ago

While reading the source code I played around it a little bit and added dark mode support to the panel. I think it will be more convenient to let users choose the theme of the panel on their own instead of only depending on system's theme.

color-mode-demo.webm

Currently swr-devtools-panel depends on system's preference to enable dark mode manual dark mode has option for that too.

@koba04, should i open a PR for this.

koba04 commented 1 year ago

@dev-afzalansari That looks amazing!!! 👍 👍