Skip to content
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

Flat and pressed state #4

Closed
Dorokhovyegor opened this issue Apr 21, 2020 · 2 comments
Closed

Flat and pressed state #4

Dorokhovyegor opened this issue Apr 21, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@Dorokhovyegor
Copy link

Do you want to add flat && pressed state at the same time? it should be great, bacause it can help to add these effects (there are internal and external shadows at the same time)

image

@fornewid
Copy link
Owner

there are internal and external shadows at the same time

I missed that! 😮
Thank you for proposal.
I'll consider this ASAP.

fornewid added a commit that referenced this issue Apr 22, 2020
BASIN is a combination of FLAT and PRESSED type.
@fornewid
Copy link
Owner

I added new ShapeType on 0.1.2 version. (BASIN)
Well... maybe it's not a good word. 🤔
If you think a better word, please comment to me. :)

Anyway, use the following code to apply new ShapeType.

<soup.neumorphism.NeumorphismCardView
    ...
    app:neumorph_shapeType="basin" />

@fornewid fornewid added the enhancement New feature or request label Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants