Skip to content

Commit

Permalink
fix(table): sortable header slow color change during theme change (#3491
Browse files Browse the repository at this point in the history
)

* fix(table): sortable header slow color change during theme change

* chore(changeset): add space

---------

Co-authored-by: WK Wong <[email protected]>
  • Loading branch information
awesome-pro and wingkwong committed Jul 18, 2024
1 parent 8b19307 commit 46edcca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thirty-jars-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/theme": patch
---

fixed the slow color change of sortable table header during theme change (#3488)
1 change: 0 additions & 1 deletion packages/core/theme/src/components/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ const table = tv({
"rtl:last:rounded-l-lg",
"rtl:last:rounded-r-[unset]",
"outline-none",
"data-[sortable=true]:transition-colors",
"data-[sortable=true]:cursor-pointer",
"data-[hover=true]:text-foreground-400",
...dataFocusVisibleClasses,
Expand Down

0 comments on commit 46edcca

Please sign in to comment.