mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-08 08:24:19 +01:00
8dbc1b0503
* chore(package): update standard to version 12.0.0 * package lock update * fix eslint
40 lines
744 B
JavaScript
40 lines
744 B
JavaScript
export const FAVORITE_ANIMATION = [
|
|
{
|
|
properties: [
|
|
{ transform: 'scale(1)' },
|
|
{ transform: 'scale(2)' },
|
|
{ transform: 'scale(1)' }
|
|
],
|
|
options: {
|
|
duration: 333,
|
|
easing: 'ease-in-out'
|
|
}
|
|
},
|
|
{
|
|
properties: [
|
|
{ fill: 'var(--action-button-fill-color)' },
|
|
{ fill: 'var(--action-button-fill-color-pressed)' }
|
|
],
|
|
options: {
|
|
duration: 333,
|
|
easing: 'linear'
|
|
}
|
|
}
|
|
]
|
|
|
|
export const REBLOG_ANIMATION = FAVORITE_ANIMATION
|
|
|
|
export const FOLLOW_BUTTON_ANIMATION = [
|
|
{
|
|
properties: [
|
|
{ transform: 'scale(1)' },
|
|
{ transform: 'scale(2)' },
|
|
{ transform: 'scale(1)' }
|
|
],
|
|
options: {
|
|
duration: 333,
|
|
easing: 'ease-in-out'
|
|
}
|
|
}
|
|
]
|