cupcakearmy / cryptgeon

cryptgeon is a secure, open source note / file sharing service inspired by PrivNote written in rust & svelte.
https://cryptgeon.org/
MIT License
830 stars 87 forks source link

Enhancement : Dark Mode as a config choice #112

Open Bag72 opened 10 months ago

Bag72 commented 10 months ago

The Mode follows the theme or allows you to chose it on the page.

I was wondering if it was possible to have a config setting such as mode=Light or Dark that you can define as an environment variable in Docker.

cupcakearmy commented 10 months ago

But should we force color schemes on users? it already follows the user preference in theory. I'm not opposed to the idea either in general, but would not enable by default.

Bag72 commented 10 months ago

Sorry. I don't understand. I was not suggesting we force anything. You currently have a default and I'm not suggesting we change that just that we have the setting easily changed by an environment variable to make things easier.

I like being able to config everything via environment variables rather than a simple control panel that will take a lot more coding and isn't really necessary.