metube icon indicating copy to clipboard operation
metube copied to clipboard

[Feature Request] Set default theme

Open tekwarfare opened this issue 2 years ago • 4 comments

Is there/Can there be a way of setting the default theme to always be dark mode?

tekwarfare avatar Aug 24 '22 19:08 tekwarfare

Once you switch the mode, the setting remains saved in the browser in a cookie, so when you use the same browser, it should use the same mode.

alexta69 avatar Aug 24 '22 19:08 alexta69

Thanks for getting back to me. Having this as a setting would enforce dark-mode for new users without having to tell them to switch.

tekwarfare avatar Aug 24 '22 20:08 tekwarfare

I guess an environment variable can be added to set the default. Leaving the issue open in case someone wants to submit a PR.

alexta69 avatar Aug 24 '22 20:08 alexta69

try to enter into the container (use nsenter) and execute this command:

sed -i '$a html{filter:invert(1) hue-rotate(180deg)}' /app/ui/dist/metube/styles.*.css

I tried to do it by using ENV and docker-entrypoint.sh but no permissions. fyi

PikuZheng avatar Aug 27 '22 13:08 PikuZheng

Hey @alexta69 Looks like #171 , already resolved issue in #279 !

vkartk avatar Jan 26 '24 15:01 vkartk

fixed by #279

alexta69 avatar Jan 26 '24 17:01 alexta69