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 ability to use custom stroke colors #201

Closed
peacog opened this issue Apr 24, 2024 · 2 comments
Closed

Add ability to use custom stroke colors #201

peacog opened this issue Apr 24, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@peacog
Copy link

peacog commented Apr 24, 2024

Currently if we want to use stroke colors other than the 8 predefined named colors it's necessary to write a style function. It would be great if we could simply pass the hex or rgb value in the color option of the addLayer method. I've created a PR that does that. The color option can be one of the predefined color names, a hex value with or without alpha channel, or an rgb() or rgba() value.

Here's the PR #200

This is an enhancement rather than a bug, but I don't have permission to change the label :)

@peacog peacog added the bug Something isn't working label Apr 24, 2024
@symbioquine symbioquine added enhancement New feature or request and removed bug Something isn't working labels Apr 24, 2024
@symbioquine
Copy link
Collaborator

Thanks @peacog! Label updated and replied on PR

@symbioquine
Copy link
Collaborator

This change has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants