Layers icon indicating copy to clipboard operation
Layers copied to clipboard

Add layer custom styling

Open raphaelsalaja opened this issue 2 years ago • 2 comments

Feature Request

It would be nice if there was a way for the user to input their own variables into the layer instead of using a predefined view.

raphaelsalaja avatar Oct 01 '23 21:10 raphaelsalaja

I've made a few simple changes for this in my attempts at implementing the "Layers" code in some of my projects.

The first is changing some of the button styling so instead of simply a "color" prop, I added foregroundColor and backgroundColor as props.

So when utilizing the "LayerButton" component I call it like this LayerButton( text: text, backgroundColor: // COLOR, foregroundColor: // COLOR, icon: "" ) { // ACTION} I can submit a PR with the changes made if you are interested in taking a look

huntertdiamond avatar Oct 06 '23 14:10 huntertdiamond

Sure, you can submit a PR, would recommend checking out the new updates I've made as well first so you can merge it together.

raphaelsalaja avatar Oct 06 '23 17:10 raphaelsalaja