Skip to content

First Issue?! haha - Creating Gradient over accent color #1

@AirborneEagle

Description

@AirborneEagle

Hey there! great package! btw.
it really helps me build custom neu- widgets :)

I am building a button. and I have it working welll so far, but when I want a button to be a different color than base, it does one of two things.
if I set the base color to red (base is grey) then the gradients do not work very well over the base color. the do not look like they are "popping out" like they should it kind of just looks like it is floating there.

but if I set the accent color, then the generator sets the gradient to null.
I am trying to think of a way that the button can still have a background gradient, but still have the base color borders.

perhaps another property bool accentBackgroundGradient
which would generate a background gradient based on the accent color, but the borders would still be based on the base color.

thoughts?

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