Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Add shorthand hex recognition #21

Merged
merged 1 commit into from
Feb 28, 2023
Merged

Conversation

Tired-Fox
Copy link
Contributor

Resolves #12 by adding patterns for shorthand hex values.

When capturing the hex value it expands the red, green, and blue values into a full hex value. This allows the rest of the logic to be the same and makes sense since if you change the hex it should be the expanded format.

Hyper_YJw5UT4zJU

@ziontee113 ziontee113 merged commit 30eca3f into ziontee113:master Feb 28, 2023
@ziontee113
Copy link
Owner

Thank you @Tired-Fox so much for the PR 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Color picker doesn't recognize shorthand hex color
2 participants