1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-02-02 14:56:48 +01:00

40 lines
728 B
JavaScript
Raw Normal View History

2018-03-21 09:38:20 -07:00
export const FAVORITE_ANIMATION = [
{
properties: [
{transform: 'scale(1)'},
{transform: 'scale(2)'},
{transform: 'scale(1)'}
],
options: {
2018-03-22 20:19:07 -07:00
duration: 333,
2018-03-21 09:38:20 -07:00
easing: 'ease-in-out'
}
},
{
properties: [
{fill: 'var(--action-button-fill-color)'},
{fill: 'var(--action-button-fill-color-pressed)'}
],
options: {
2018-03-22 20:19:07 -07:00
duration: 333,
2018-03-21 09:38:20 -07:00
easing: 'linear'
}
}
]
export const REBLOG_ANIMATION = FAVORITE_ANIMATION
2018-03-22 20:18:17 -07:00
export const FOLLOW_BUTTON_ANIMATION = [
{
properties: [
{transform: 'scale(1)'},
{transform: 'scale(2)'},
{transform: 'scale(1)'}
],
options: {
2018-03-22 20:19:07 -07:00
duration: 333,
2018-03-22 20:18:17 -07:00
easing: 'ease-in-out'
}
}
]