-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: button reveal animation (DSN-2529) (#315)
<!-- You can erase any parts of this template not applicable to your Pull Request. --> **Fixes or implements VF-XXX** ### Brief description. What is this change? <!-- Build up some context for your teammates on the changes made here and potential tradeoffs made and/or highlight any topics for discussion --> ### Implementation details. How do you make this change? <!-- Explain the way/approach you follow to make this change more deeply in order to help your teammates to understand much easier this change --> ### Setup information <!-- Notes regarding local environment. These should note any new configurations, new environment variables, etc. --> ### Deployment Notes <!-- Notes regarding deployment the contained body of work. These should note any db migrations, etc. --> ### Related PRs <!-- List related PRs against other branches --> - https://github.com/voiceflow/XXXXXXXXX/pull/123 ### Checklist - [ ] Breaking changes have been communicated, including: - New required environment variables - Renaming of interfaces (API routes, request/response interface, etc) - [ ] New environment variables have [been deployed](https://www.notion.so/voiceflow/Add-Environment-Variables-be1b0136479f45f1adece7995a7adbfb) - [ ] Appropriate tests have been written - Bug fixes are accompanied by an updated or new test - New features are accompanied by a new test
- Loading branch information
1 parent
49c76c6
commit 035d9c8
Showing
4 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { keyframes, style } from '@vanilla-extract/css'; | ||
|
||
const fadeIn = keyframes({ | ||
'0%': { opacity: 0, transform: 'translateY(20px)' }, | ||
'100%': { opacity: 1, transform: 'translateY(0)' }, | ||
}); | ||
|
||
export const fadeInAndUp = style({ | ||
opacity: 0, | ||
animation: `${fadeIn} 0.5s ease-out forwards`, | ||
}); |