Skip to content

Commit

Permalink
fix(components): fix destructive MenuItem styles (#1483)
Browse files Browse the repository at this point in the history
  • Loading branch information
Niznikr authored Nov 14, 2024
1 parent 93f59e6 commit a2d44fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/shiny-books-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@launchpad-ui/components": patch
---

Fix destructive `MenuItem` styles
3 changes: 3 additions & 0 deletions packages/components/src/styles/Menu.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,17 @@

&[data-hovered] {
background-color: var(--lp-color-bg-interactive-destructive-hover);
color: var(--lp-color-text-interactive-primary-base);
}

&[data-pressed] {
background-color: var(--lp-color-bg-interactive-destructive-active);
color: var(--lp-color-text-interactive-primary-base);
}

&[data-focus-visible] {
background-color: var(--lp-color-bg-interactive-destructive-hover);
color: var(--lp-color-text-interactive-primary-base);
}

& [data-icon] {
Expand Down

0 comments on commit a2d44fa

Please sign in to comment.