Skip to content

Commit

Permalink
refactor: group hover states
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlhw committed Apr 21, 2024
1 parent 2bde8b9 commit 7af54b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common/components/Checkbox/Checkbox.theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export const checkboxTheme = tv(
"border-border-default",
"ring-border-default",
"enabled:hover:bg-element-secondary",
"enabled:group-hover:bg-element-secondary",
"enabled:group-hover:data-[state=checked]:bg-primary-default",
"enabled:group-hover:data-[state=indeterminate]:bg-primary-default",
"enabled:data-[state=checked]:bg-primary-default",
"enabled:data-[state=indeterminate]:bg-primary-default",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const filterToggleSectionTheme = tv(
"flex-wrap",
],
item: [
"group",
"flex",
"w-64",
"p-3",
Expand Down

0 comments on commit 7af54b7

Please sign in to comment.