-
Notifications
You must be signed in to change notification settings - Fork 263
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(tags): Make unreadable tags readable #9116
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Christoph Wurst <[email protected]>
/backport to stable3.5 |
/backport to stable3.4 |
cc @meichthys if you have a setup to test changes |
Envelope list needs a fix, too |
@ChristophWurst I'd be glad test, but i've always been confused on how to test these vue changes on a live instance since i can never find the How would i go about testing this? |
You'll need a dev env |
Ok, I figured as much. I'll find some time to get one setup. I've been putting it off too long anyway. |
This comment was marked as outdated.
This comment was marked as outdated.
Signed-off-by: Christoph Wurst <[email protected]>
@nimishavijay pleaes see #9116 (comment). It's now always the same tag component and therefore has consistent styling. The pill radius is taken from the css variable for consistency with the rest of Nextcloud. Tags are more compact now to improve the information density. |
Pill radius and height adjustment is great 🚀 I'm only not sure about the text color, the style with the colored text looked really nice! Perhaps we could use a darker version of the selected color for the text and a lighter version for the bg, what do you think? |
Do you know a way to make this work with all possible RGB colors? |
How about if you select a color, we use it darkened by 60% for text and lightened by 80% for bg? I used this tool to play around with it, contrast seems to be fine Default tag colors and white and black look like this: |
Signed-off-by: Christoph Wurst <[email protected]>
Make bright on white and dark on black tag labels readable.
To do
Fixes #5149