Need help with biome tints

I have created a custom resource pack for my map and I made grass block slabs replacing prismarine brick slabs, but the tint isn't adjusting to the biome. Is biome tinting hardcoded or am I doing something wrong?

The image with the slabs has an Item Display Entity (Left) and the physical slab (Right) showcasing the missing tints.

Continue to help post