Skip to content

Commit 6d1267c

Browse files
✨ 优化transition颜色显示
1 parent 7a482be commit 6d1267c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/theme/custom.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,8 @@ button,
675675
text-decoration-color, fill, stroke;
676676
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
677677
transition-duration: 0.15s;
678+
--tw-text-opacity: 1;
679+
color: rgb(216 38 44 / var(--tw-text-opacity));
678680
}
679681
.duration-500 {
680682
transition-duration: 0.5s;

0 commit comments

Comments
 (0)