Created
August 5, 2018 22:45
-
-
Save hpierre74/3ae33b935cabd03e14a6fee97c08b524 to your computer and use it in GitHub Desktop.
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
import { keyframes } from 'styled-components'; | |
import slideInDown from 'react-animations/lib/slide-in-down'; | |
export default { | |
fontFamily: 'Signika', | |
utils: { | |
// the duration is passed as parameter | |
slideInDown: duration => `animation: ${duration}s ${keyframes(slideInDown)};`, | |
}, | |
colors: { | |
buttons: { | |
red: '#CC1022', | |
blue: '#4E91E0', | |
green: '#84D133', | |
yellow: '#F7E638', | |
}, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment