-
-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update themes.js no more cookie, no more [dark] dependence #2174
Conversation
related /BTW: idk why, when a theme is set already, then our dark theme shortcut might only makes the search field black (
|
Can be reworked to 3 separate entries in Themes: After all the cookie trouble its safest to just remove that code altogether and do all overrides with pure CSS.
I havent touched shortcuts so no idea whats wrong there. After themes are fixed and solid shortcutDarkTheme should just switch themes without doing anything beyond. Can even let user configure two themes it would be switching between, same goes for #2161 |
btw
check for Array.isArray(this.storage.theme_primary_color) && Array.isArray(this.storage.theme_text_color) is not required, because
but we need a better place to store default Custom theme colors, currently its also in here youtube/menu/skeleton-parts/themes.js Line 75 in 8e41763
youtube/menu/skeleton-parts/themes.js Line 80 in 8e41763
ideally it should be in one central place. Also default Custom theme colors suck a little :) its just black and gray making it look just gray while Theme "Custom" button is Red :o Would be nice to make the "Custom" button reflect currently selected custom colors. |
62a36d2
to
40aedd4
Compare
no more cookie, no more [dark] dependence
text-inverse should be different from text, related to #2150