fix(core): scope public share theme filter to the download icon

Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
pull/61648/head
Peter Ringelmann 2 months ago committed by Ferdinand Thiessen
parent c30683ee11
commit c9aa644b0e
  1. 4
      core/src/views/PublicPageMenu.vue
  2. 4
      dist/core-public-page-menu.js
  3. 2
      dist/core-public-page-menu.js.map

@ -146,12 +146,12 @@ function openDialogIfNeeded() {
}
// Dark theme via Nextcloud setting (data-themes attribute, not media query)
:global([data-themes*=dark]) .public-page-menu__primary-icon {
:global([data-themes*=dark] .public-page-menu__primary-icon) {
filter: var(--primary-invert-if-bright);
}
// Light theme explicitly set (overrides dark media query if system is dark but user chose light)
:global([data-themes*=light]) .public-page-menu__primary-icon {
:global([data-themes*=light] .public-page-menu__primary-icon) {
filter: var(--primary-invert-if-dark);
}
</style>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save