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