Skip to content
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

Fix note caption colour for custom themes #1460

Merged
merged 1 commit into from
Feb 1, 2025
Merged

Conversation

looowizz
Copy link
Contributor

@looowizz looowizz commented Jan 9, 2025

Custom themes may use colours that do not contrast well with the background for their primary element colour, e.g. my theme

Removing the line here means the default text colour is used, which I think should be in use here anyway?

@enjeck
Copy link
Contributor

enjeck commented Jan 25, 2025

@looowizz Can you please share before and after images? Not just for the custom theme, but for the normal styling as well.

@looowizz
Copy link
Contributor Author

Sorry, probably should've included this initially.

I think the change gives users more freedom to choose a wider range colours for their primary colour, and I think it just makes more sense as the main text colour is also used in all other Nextcloud header text.

Custom theme

Before

customThemeBefore

After

customThemeAfter

Default theme

Before

normalThemeBefore

After

normalThemeAfter

Copy link
Contributor

@enjeck enjeck left a comment

Choose a reason for hiding this comment

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

Thanks, looks good.

Can you pleae amend your commit message to follow the Conventional Commits format, so that the CI test passes?

@enjeck
Copy link
Contributor

enjeck commented Jan 30, 2025

The other failing CI issues should be fixed when #1459 is merged and those changes pulled here

@looowizz
Copy link
Contributor Author

Thanks, looks good.

Can you pleae amend your commit message to follow the Conventional Commits format, so that the CI test passes?

@enjeck Done! :)

Custom themes may use colours that do not contrast well with the background for their primary element colour.
Removing the line here means the default text colour is used, which I think should be in use here anyway.

Signed-off-by: loowiz <[email protected]>
@enjeck enjeck merged commit c175d16 into nextcloud:main Feb 1, 2025
30 checks passed
@enjeck
Copy link
Contributor

enjeck commented Feb 1, 2025

@looowizz Thank you!

@juliusknorr juliusknorr added bug Something isn't working design Related to the design or user experience labels Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working design Related to the design or user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants