Closed jacobobryant closed 2 years ago
What type of widget do you prefer to toggle dark mode on mobile?
I guess it fits best right-justified on the same line as the menu pills.
sun and moon would be great if that's not too much trouble! I just went with a button originally out of laziness. right-justified sounds good to me.
Might be nice to differentiate the "New site" button from the pills? perhaps make the pills a more neutral color, like the blue used for the two less-important buttons on the send page:
How does this look?
SVG icon source: https://orioniconlibrary.com/icon/sun-and-moon-4452 License No attribution required for personal use - Free SVG & PNG icon For commercial use, credit us ...
Looks good to me!
Closed by #24
Pills are nice cause you don't have to do an extra tap to make them appear. And if the user is on a tiny screen, they'll wrap. And no need for custom js/hyperscript. Here's some code I just copied from The Sample (need to at least change
bg-dark
to something else):