In 1.14 the blocks that appear dark are shaded correctly
With the transition to new format for resource packs some textures are rendered dark in 1.15
For reference, the bar in the top of the inventory should match the gray color to that of the sides of the inventory window.
This issue is not present in 1.14.4
Thank you for your report!
However, this issue is a Duplicate of MC-166722.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki