Removing obsolete currentColor CSS value#14119
Removing obsolete currentColor CSS value#14119talldan merged 5 commits intoWordPress:masterfrom webmandesign:update/removing-currentcolor-css-value
currentColor CSS value#14119Conversation
|
I've found some additional questionable usages of
What do you say guys? @jasmussen @kjellr @gziolo PS: I'm really sorry I haven't made it for 5.1 release... :( |
|
Thanks so much for your work. Don't feel bad that this didn't make 5.1, it will land in WordPress eventually, and even before that it will land in the plugin release, so you can start using it so long as you have the plugin enabled. Your contributions are very valuable, and in its current state, it's 👍 👍 ready to go! However since you also wrote some good thoughts around additional changes, those might be good to get in, and then get a final review. Specificallhy, options 2 and 3 on your list seem fine to me to go ahead and fix. For option 1, let's get some feedback from @talldan, which I believe made some changes to that file recently. Do you see any reason we can't replace the $black variable with, well, nothing? |
|
Thanks @jasmussen Re 2 and 3, the thing is that it's just about what you guys prefer to use there. Both I'll wait for @talldan's feedback to proceed with removing |
|
Yep, inherit if the behavior is essentially the same, sounds good to me. |
|
Hi @webmandesign - the change for the table block looks good 👍. I don't think my change to $black should have made it in 🤦♂️. Originally my PR introduced the ability to change the color of the text, which is why I changed it to $black, but then that functionality was dropped from the PR. It looks as though this line wasn't reverted. |
|
@talldan Thank you for info. I've went ahead and removed the All is fixed now. The only instances left with |
|
Hey guys, any update on this please? |
|
Thanks for your work and patience. I'm going to put this in a milestone so it's guaranteed a few eyes soon. In the mean time, it needs a good rebase to solve the conflicts. |
|
Thanks @jasmussen I'll do my best to rebase, though I don't have much luck with them ;) |
|
If it's easier to start a new branch with the small changes discussed here, that's okay too, just ping me on the new branch and I'll milestone that — sorry about the delay. |
…urrentcolor-css-value # Conflicts: # packages/block-editor/src/components/inserter-list-item/style.scss
|
Hi @jasmussen, I'm sorry for delay, but it seems I was able to match the commits with current master branch. Please double check, just in case, but from my point of view everything seems to be fine. Thank you! |
|
Merging this since it has the 👍 of approval. |
|
Thank you! |
* Removing obsolete `currentColor` value * Removing obsolete `currentColor` from CSS * Removing obsolete `$black` color so table border inherits text color * Changing `currentColor` value to `inherit` where appropriate
Fixes #12328