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 HexColor to take colors with opacity #2150

Open
zerocrates opened this issue Feb 16, 2024 · 0 comments
Open

Allow HexColor to take colors with opacity #2150

zerocrates opened this issue Feb 16, 2024 · 0 comments

Comments

@zerocrates
Copy link
Member

Browsers support, in addition to the 3 and 6 digit color forms we use now, 4 and 8 digit versions that also set opacity at the same time.

Supporting this would be a simple case of updating helper text and some regexes... though we might want to check if any themes, etc. are doing processing in PHP code of the colors they take as settings, as that could run into problems if the colors are suddenly not in the expected format.

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

No branches or pull requests

1 participant