Skip to content

Commit b6510d9

Browse files
authored
Merge pull request #1279 from nextcloud/bugfix/noid/accessibility-default-theme
Always use the main background for the default theme
2 parents a88df50 + 550688e commit b6510d9

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

js/viewer-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/viewer-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/views/Viewer.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -838,9 +838,7 @@ export default {
838838
839839
&.theme--default {
840840
&.modal-mask {
841-
body.theme--light & {
842-
background-color: rgba(255, 255, 255, .92) !important;
843-
}
841+
background-color: var(--color-main-background) !important;
844842
}
845843
::v-deep .modal-title,
846844
::v-deep .modal-header .icons-menu {

0 commit comments

Comments
 (0)