CRED-CLUB / synth-android

Synth is CRED's inbuilt library for using Neumorphic components in your app.
https://blog.cred.club/team-cred/design/world-meet-neumorphism-open-sourcing-our-ui-framework/
Apache License 2.0
1.01k stars 106 forks source link

Shadow in buttons. #3

Closed mohitshah3111999 closed 3 years ago

mohitshah3111999 commented 3 years ago

I am using synth in one of my projects. I have 2 problems while implementing the synth library. image 1) As you can see in the image above, around the buttons, there is some shadows. How can I remove them? 2) I was trying to remove the black color border around the cancel button, but was not able to remove that. How can I remove it?

nikhilpanju commented 3 years ago
  1. You can't only remove the shadows. Synth is mainly for neumorphic components which have shadows. You can set android:clipChildren="false" to the parent of the buttons so that the shadows don't get clipped.
  2. You have to set neuBaseColor so that the platform color is also changed
mohitshah3111999 commented 3 years ago

Okay, Thanks for the help.