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

DeephavenColor and StaticColor types are incorrect #600

Closed
mofojed opened this issue Jul 4, 2024 · 0 comments · Fixed by #647
Closed

DeephavenColor and StaticColor types are incorrect #600

mofojed opened this issue Jul 4, 2024 · 0 comments · Fixed by #647
Assignees
Labels
bug Something isn't working

Comments

@mofojed
Copy link
Member

mofojed commented Jul 4, 2024

DeephavenColor only has salmon and lemonchiffon:

DeephavenColor = Literal["salmon", "lemonchiffon"]

That type should have all the values defined in our colorUtils: https://github.com/deephaven/web-client-ui/blob/a11e2ceaf216d640068562a05fdb156c69481d47/packages/components/src/theme/colorUtils.ts#L6
Also StaticColor is used in many spots where Color should be used instead - StaticColor should only be used for static_color props.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants