Skip to content

Conversation

@nickvergessen
Copy link
Member

Before After
Bildschirmfoto vom 2025-09-23 14-47-31 Bildschirmfoto vom 2025-09-23 14-44-49
Bildschirmfoto vom 2025-09-23 14-47-43 Bildschirmfoto vom 2025-09-23 14-45-18

It's arguable whether the icon+text should be white in all cases, similar to the old screenshot on https://github.com/nextcloud/files_accesscontrol?tab=readme-ov-file#how-it-works
But at least both should be same. cc @jancborchardt

Checklist

@nickvergessen nickvergessen added this to the Nextcloud 33 milestone Sep 23, 2025
@nickvergessen nickvergessen self-assigned this Sep 23, 2025
@nickvergessen nickvergessen requested a review from a team as a code owner September 23, 2025 12:50
@nickvergessen nickvergessen requested review from nfebe, susnux and szaimen and removed request for a team September 23, 2025 12:50
Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

As per the WebAIM color contrast checker, that red background needs white foreground, and that green background needs black foreground.
https://webaim.org/resources/contrastchecker/

@susnux
Copy link
Contributor

susnux commented Sep 23, 2025

IMHO just use the proper color-X and color-X-text variables

@nickvergessen
Copy link
Member Author

Those are not supposed to be limited to those few variables. But for now we will keep it broken and then consider using a stripe like on the talk dashboard going forward

@nickvergessen nickvergessen marked this pull request as draft September 23, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants