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

Add layer custom styling #2

Open
raphaelsalaja opened this issue Oct 1, 2023 · 2 comments
Open

Add layer custom styling #2

raphaelsalaja opened this issue Oct 1, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@raphaelsalaja
Copy link
Owner

raphaelsalaja commented Oct 1, 2023

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 raphaelsalaja added enhancement New feature or request good first issue Good for newcomers labels Oct 1, 2023
@raphaelsalaja raphaelsalaja self-assigned this Oct 6, 2023
@huntertdiamond
Copy link
Contributor

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

@raphaelsalaja
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants