Years ago, Apple changed the Script Editor and TextEdit icons, as a result of which they became nearly indistinguishable in a busy Dock:
One of those changes that not a single user ever asked for.
I submitted developer feedback back then and renewed it every year.
Finally, this is improved in Tahoe:
So yes, while Tahoe severely degraded the UI quality of macOS in several areas, some improvements can also be found.