pinafore/routes/_static/animations.js
2018-03-21 09:38:20 -07:00

26 lines
489 B
JavaScript

export const FAVORITE_ANIMATION = [
{
properties: [
{transform: 'scale(1)'},
{transform: 'scale(2)'},
{transform: 'scale(1)'}
],
options: {
duration: 400,
easing: 'ease-in-out'
}
},
{
properties: [
{fill: 'var(--action-button-fill-color)'},
{fill: 'var(--action-button-fill-color-pressed)'}
],
options: {
duration: 400,
easing: 'linear'
}
}
]
export const REBLOG_ANIMATION = FAVORITE_ANIMATION