-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Try: Use currentColor to design quote blocks #26684
Conversation
Size Change: -90 B (0%) Total Size: 1.21 MB
ℹ️ View Unchanged
|
Kjell my friend, I know that this one has been by you in the past, and that we decided to shelve it. But I'm resurrecting it for two reasons:
It's also the cleanest way to address the various moving parts. Would love your thoughts once more if you have time. |
762ee11
to
915e5bc
Compare
My concern is still just that this will change the display of quotes on the front-end of people's existing sites. 😕 Is it possible to make this change only when a dark theme is active? I'd feel a lot better about it then. Either way, as you noted this is a recurring issue. I think it might be worth trying this change out — we can always revert if it seems to be a problem for folks. |
Thank you for chiming in. The issue is that we can't know if a theme is dark or not on the frontend. There's no mechanism to discern that, and I don't think there will be. |
Ah that's right. I see what you mean. 😕 Then yeah, I say we go with option two: push this for now, revert/iterate later on if it's a problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tested it and it looks good. 👍 LGTM
Let's try this, and I will revisit yet again if we get any issues. |
This PR reverts changes in #26510 and resurrects changes in #25358. It changes Quote and Pullquote blocks to use
currentColor
to colorize both the content and citation fields, ensuring that it's legible in the editor, and on the frontend:There is also #26686 as an alternative to this one. The benefit of this PR is that it fixes both the issue with input field placeholder legibility, and also makes both quote blocks more useful in dark themes.