Custom shadows definition for Surface component
Is it possible to override shadow definitions for Surface elevations 1-5 globally so that each component from react-native-paper which uses Surface will user my custom shadows?
Hey @adorum, as far as I remember you can only customize the color, by specifying your own colors in theme.colors.elevation
The default shadows are simply terrible. :) Especially on iOS. It's a matter of taste, but they look so, so off on iOS. It would be amazing to be able to override them.
colors.elevation only overrides the surface colour, not the shadow colour.
By default a surface is tinted based on your primary colour dependant upon the elevation level.
There is no way to override the shadow colour itself, since it's hardcoded as #000 which I don't think can be dynamically changed.