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 ColorLike with Color and CSS color string #656

Open
bernhard-42 opened this issue Jul 7, 2024 · 0 comments
Open

Add ColorLike with Color and CSS color string #656

bernhard-42 opened this issue Jul 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bernhard-42
Copy link
Collaborator

As an enhancement, add ColorLike = Union[Color, str] and allow CCS strings as .color attribute, e.g. obj.color="aliceblue"

Note: Open cascade color names and CSS color names are not identical. Open cascade has most of the CSS names, but e.g. not "crimson", but it does have the same color with different prefixes ("1", "2", "3", "4") that have different vales

@gumyr gumyr added the enhancement New feature or request label Nov 7, 2024
@gumyr gumyr added this to the Not Gating Release 1.0.0 milestone Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants