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

feat(basic): add parsing functionality for Basic colours #51

Merged
merged 3 commits into from
Sep 3, 2024

Conversation

gortavoher
Copy link
Contributor

Add parse method and FromStr implementation for Basic enum to support string parsing of color names and hex codes. Extend Basic enum with additional traits: Clone, Copy, PartialEq, Eq, and Hash. Add tests for the new parsing functionality.

Add `parse` method and `FromStr` implementation for `Basic` enum to support string parsing of color names and hex codes. Extend `Basic` enum with additional traits: `Clone`, `Copy`, `PartialEq`, `Eq`, and `Hash`. Add tests for the new parsing functionality.
@gortavoher gortavoher self-assigned this Sep 3, 2024
@jerusdp jerusdp enabled auto-merge September 3, 2024 06:24
@jerusdp jerusdp merged commit 3ec9eac into main Sep 3, 2024
2 checks passed
@jerusdp jerusdp deleted the parse-basic branch September 3, 2024 06:32
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.

3 participants