Skip to content

Easy multicolor support #9

@TheMisfit68

Description

@TheMisfit68

Found an excellent idea online
to get a neumorphic design compatible with all kind of color schemes,
but without having to provide color-assets or custom shadows for each color used:

The default dark and light shadows are just black and white and get blended onto the design

`.shadow(color: .white, radius: 15, x: -10, y: -10)

.shadow(color: .black, radius: 15, x: 10, y: 10)

.blendMode(.overlay)`

This could greatly simplify the implementation as the project supports more and more controls.

Just an interesting idea

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions