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

chore: light mode for delete button, remove drop down #709

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

deboer-tim
Copy link
Contributor

What does this PR do?

We cannot complete #376 because the issue to provide the component has stalled: podman-desktop/podman-desktop#6898

In the meantime we can do two things:

  • Pick up light mode support by copying the current code from Podman Desktop.
  • Remove the menu property, so that we can remove the unused dependency on the the DropdownMenuItem component. (if we need dropdown support in the future, we should use/require the component)

Screenshot / video of UI

Minor - in light mode the delete button looks almost disabled before, with color variables it is black.

What issues does this PR fix or reference?

Related to #376.
Part of #536.
Fixes #371.

How to test this PR?

Just look at homepage in light mode.

We cannot complete #376 because the issue to provide the component has stalled:
podman-desktop/podman-desktop#6898

In the meantime we can do two things:
- Pick up light mode support by copying the current code from Podman Desktop.
- Remove the menu property, so that we can remove the unused dependency on the
  the DropdownMenuItem component. (if we need dropdown support in the future,
  we should use/require the component)

Related to #376.
Part of #536.
Fixes #371.

Signed-off-by: Tim deBoer <[email protected]>
@deboer-tim deboer-tim requested a review from a team as a code owner August 6, 2024 13:59
@cdrage
Copy link
Contributor

cdrage commented Aug 6, 2024

Tested and LGTM!

@cdrage cdrage merged commit 7df2443 into main Aug 6, 2024
4 of 5 checks passed
@cdrage cdrage deleted the light-listitem-dropdown branch August 6, 2024 17:48
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.

Adopt DropDownMenuItem UI component
2 participants