-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Transition 을 Theme 에 추가하고 styled 타입 정의 변경 * Radio dot 배경 transition 추가
- Loading branch information
Showing
14 changed files
with
63 additions
and
37 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
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
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
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,39 @@ | ||
enum TransitionDuration { | ||
Default = '.15s', | ||
Slow = '.25s', | ||
} | ||
|
||
enum TransitionEffect { | ||
EaseInOut = 'ease-in-out', | ||
EaseIn = 'ease-in', | ||
DefaultCubic = 'cubic-bezier(.72, .36, .09, .99)', | ||
} | ||
|
||
const BackgroundTransition = `background-color ${TransitionEffect.EaseInOut} ${TransitionDuration.Default}` | ||
|
||
/* eslint-disable-next-line max-len */ | ||
const BorderTransition = `border-color ${TransitionEffect.EaseInOut} ${TransitionDuration.Default}, box-shadow ${TransitionEffect.EaseInOut} ${TransitionDuration.Default}` | ||
|
||
const ColorTransition = `color ${TransitionEffect.EaseInOut} ${TransitionDuration.Default}` | ||
|
||
const OpacityTransition = `opacity ${TransitionEffect.EaseInOut} ${TransitionDuration.Default}` | ||
|
||
const OpacitySlowTransition = `opacity ${TransitionEffect.EaseInOut} ${TransitionDuration.Slow}` | ||
|
||
const BoxShadowTransition = `box-shadow ${TransitionEffect.EaseInOut} ${TransitionDuration.Default}` | ||
|
||
const TransformTransition = `transform ${TransitionEffect.EaseInOut} ${TransitionDuration.Default}` | ||
|
||
export default { | ||
BackgroundTransition, | ||
BorderTransition, | ||
ColorTransition, | ||
OpacityTransition, | ||
OpacitySlowTransition, | ||
BoxShadowTransition, | ||
TransformTransition, | ||
|
||
// Transition Atoms | ||
TransitionEffect, | ||
TransitionDuration, | ||
} |