Skip to content

Commit c9aa644

Browse files
pringelmannsusnux
authored andcommitted
fix(core): scope public share theme filter to the download icon
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
1 parent c30683e commit c9aa644

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

core/src/views/PublicPageMenu.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ function openDialogIfNeeded() {
146146
}
147147
148148
// Dark theme via Nextcloud setting (data-themes attribute, not media query)
149-
:global([data-themes*=dark]) .public-page-menu__primary-icon {
149+
:global([data-themes*=dark] .public-page-menu__primary-icon) {
150150
filter: var(--primary-invert-if-bright);
151151
}
152152
153153
// Light theme explicitly set (overrides dark media query if system is dark but user chose light)
154-
:global([data-themes*=light]) .public-page-menu__primary-icon {
154+
:global([data-themes*=light] .public-page-menu__primary-icon) {
155155
filter: var(--primary-invert-if-dark);
156156
}
157157
</style>

0 commit comments

Comments
 (0)