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

Allow transparent values to be selected #10

Merged
merged 2 commits into from
Feb 12, 2018

Conversation

IAmAdamTaylor
Copy link

Adds support allowing transparent and none values to be selected in the interface.

These are valid values for background-color that a user could want to select and as such should be selectable and returnable from the plugin.

Currently, any choices using these values are marked as disabled and cannot be selected.

Adam Taylor added 2 commits February 2, 2018 11:43
Adds support for the `none` value as mentioned in this projects readme.txt
“Note: you may also use `none` to show a transparent swatch with a checkerboard background.”

Without this check `none` options are marked as disabled and cannot be selected
`transparent` is a valid `background-color` value, and will functionally work the same way as `none`.
@nickforddev nickforddev merged commit 4892d0e into nickforddev:master Feb 12, 2018
@nickforddev
Copy link
Owner

Thanks!

@IAmAdamTaylor IAmAdamTaylor deleted the support-none branch February 16, 2018 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants