-
Notifications
You must be signed in to change notification settings - Fork 55
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
Always use the main background for the default theme #1279
Conversation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
/backport to stable24 |
Do we still need the theme override by view providers then? |
body.theme--light & { | ||
background-color: rgba(255, 255, 255, .92) !important; | ||
} | ||
background-color: var(--color-main-background) !important; |
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.
Transparency is removed intentional as per design review in nextcloud/text#2211 for text
Not sure I get the question fully, but setting the background color here is still necessary as for text (with the viewer theme--default) we need to override it as with the regular viewer it is always black |
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.
Tested and works 👍
Thanks!
Fixes nextcloud/text#2374 as with the new accesibility options the old class was not matching anymore and we can always use the main background color in case of the "default" viewer theme which adapts the viewer UI to use the main background.