Skip to content

Commit 552eab2

Browse files
committed
add transition
1 parent e900501 commit 552eab2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/fluent-theme/src/components/theme/Theme.module.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@
650650
font-family: var(--webchat-fontFamilyBase);
651651
font-size: var(--webchat-fontSizeBase300);
652652
padding: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalS);
653+
transition: background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);
653654

654655
&:hover {
655656
background-color: var(--webchat-colorBrandForeground2Hover);
@@ -676,6 +677,7 @@
676677
font-family: var(--webchat-fontFamilyBase);
677678
font-size: var(--webchat-fontSizeBase300);
678679
padding: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalS);
680+
transition: background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);
679681

680682
&:hover {
681683
background-color: var(--webchat-colorNeutralBackground1Hover);

0 commit comments

Comments
 (0)