Skip to content

Commit e545fb2

Browse files
committed
feat(Icon): add transitions
1 parent fd2d9cb commit e545fb2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/three-cats-help.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Add basic transitions for icons.

src/icons/Icon.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const IconElement = tasty({
3232
// tabler icons
3333
':has(.tabler-icon)': 'var(--icon-size, var(--font-size))',
3434
},
35+
transition: 'theme, width, height',
3536
textAlign: 'center',
3637
textTransform: 'none',
3738
textRendering: 'optimizeLegibility',

0 commit comments

Comments
 (0)