Skip to content

Custom shadows definition for Surface component #4639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
adorum opened this issue Feb 27, 2025 · 1 comment
Open

Custom shadows definition for Surface component #4639

adorum opened this issue Feb 27, 2025 · 1 comment
Labels
question Question related to the library, not an issue Surface

Comments

@adorum
Copy link

adorum commented Feb 27, 2025

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?

@adorum adorum added the question Question related to the library, not an issue label Feb 27, 2025
@lukewalczak
Copy link
Member

Hey @adorum, as far as I remember you can only customize the color, by specifying your own colors in theme.colors.elevation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question related to the library, not an issue Surface
Projects
None yet
Development

No branches or pull requests

2 participants