-
-
Notifications
You must be signed in to change notification settings - Fork 551
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
Themes switching fixed #2075
Themes switching fixed #2075
Conversation
fixing theme switching, it was totally borked for as long as I remember
formatting
fixing theme switching
another typo caused by bunched up code
rewritten for readability
redundant call
hi @raszpl
this section is another place where a compact table-like (horizontally parallel) view was chosen since each unit is so short/similar 😃😃. ( if multiple are completely the same, then redundant code could be shortened-away. That's why 🤔 I might think of making it compact as a natural step in between, just to switch from detail-view to overview or indicate that it could have fewer characters) |
this is still in progress, got few things to tie up |
@@ -83,7 +83,7 @@ ImprovedTube.init = function () { | |||
|
|||
if (window.matchMedia) { | |||
document.documentElement.dataset.systemColorScheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'; | |||
} ImprovedTube.myColors(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why
Looking forward. Didn't check themes.js changes yet. |
#2076 fixed patch, switching themes finally works between all of them. Last time I tried I think a year ago I couldnt switch from dark back to default without reloading page, now fixed.
ok not touching that :)
Code modifying F6 cookie has been broken for a long time here and in shortcuts.js, Im guessing a ton of users have corrupted cookie because of it :( Whats worse its only able to assign 200 to F6 and cant roll it back.
While it might look aesthetically pleasing from far away it turns this into jumbled unreadable mess, this is exactly where I found a typo :) |
fixed theme switching, it was totally borked for as long as I remember