Skip to content

Fix color of app menu entries and background color - #43319

Merged
AndyScherzinger merged 2 commits into
masterfrom
fix/theming-background-primary
Feb 6, 2024
Merged

Fix color of app menu entries and background color#43319
AndyScherzinger merged 2 commits into
masterfrom
fix/theming-background-primary

Conversation

@susnux

@susnuxsusnux commented Feb 3, 2024

Copy link
Copy Markdown
Contributor

Summary

This fixes two issues:

  1. a96a7f0 introduced a regression because it applied the color invert filter on the text which is already colored correctly (primary-text).
  2. Most of the time the background color is color-primary but for some shipped background images the primary color does not lead to the same text color -> app menu names and the right header menu entries have wrong colors.

Especially try following: Set default background -> white text -> click "remove image" -> suddenly the app menu color is black on the same blue.

A better solution will be #42977 but for the moment this one is simpler.

beforeafter
Screenshot_20240203_140942Screenshot_20240203_141051
Screenshot_20240203_141005Screenshot_20240203_141035

Checklist

@susnux

Copy link
Copy Markdown
ContributorAuthor

/backport to stable28

…ble inverted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnuxforce-pushed the fix/theming-background-primary branch from 9923e79 to 1ddc9b6CompareFebruary 3, 2024 13:28

@skjnldsvskjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈

@skjnldsv

Copy link
Copy Markdown
Member

@AndyScherzinger the failure was related, revert in #43401

@blizzzblizzz mentioned this pull request Mar 5, 2024
@Jerome-Herbinet

Copy link
Copy Markdown
Member

Hi @AndyScherzinger
Not sure to understand this PR's history.
I still have the problem with Nextcloud 28.0.6.
Is this normal ? Bad fix or revert ? ... or will it be only fixed from NC 29?
Thanks

@AndyScherzinger

Copy link
Copy Markdown
Member

@Jerome-Herbinet according to the backport at #43392 it is shipped with 28.0.3, so if you already face issues in later versions of 28 I expect it to either be a regression or a new bug. So best to raise that in a new ticket since the source of the issue might be different.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsaccessibilitybug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: NC 28.0.2 - Icons in toolbar are black instead of white

5 participants

@susnux@skjnldsv@Jerome-Herbinet@AndyScherzinger@JuliaKirschenheuter