-
-
Notifications
You must be signed in to change notification settings - Fork 557
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 styles.css Shorts Background #2322
Conversation
yay!! |
does removing these matter?
|
Removing dark shouldnt matter for the most part, there are still some missing CSS rules tho like loading placeholders for icons/thumbnails - those show up as black rectangles with dark cookie. Im too lazy to check what to override there. I moved it down because if 'light' gets it there is no reason for all other themes not to get it. Still this would only matter if ImprovedTube.setTheme() was actually called during loading, currently its not. Im it should be merged with myColors() again. |
then you didn't mean to remove them at case 'light' ? when switching themes ambient mode from 'dark' might stay with 'light' or custom colors, which was fixed 1 year ago, so i'm fetching another line from the old file. |
then you didn't mean to remove them at case 'light' ? did you see/get, when switching themes ambient mode from 'dark' might stay with 'light' or custom colors (was fixed 1 year ago, so i'm fetching another line from the old file) |
nothing was removed, '// fall through' comment is there to remind people of that
the reason is:
thats why you need to run myThemes(),. and since you need to run both themes and colors there is no point not combining them into one
but you dont even need explicit comparison block there to begin with.
never worked, cant set !important thru .style.display interface, only accepts a specific fixed list of parameters https://www.w3schools.com/jsref/prop_style_display.asp to actually make !important stick you need either
Testing now you dont need !important there at all. youtube/js&css/web-accessible/www.youtube.com/themes.js Lines 105 to 106 in 40b586e
do you want display none or invisible? display:none and visibility:hidden are two distinctly different things |
#2320