mirror of
https://example.com
synced 2024-11-23 09:26:40 +09:00
enable tada animation for reduced motion (as it has a reduced motion version)
This commit is contained in:
parent
b398001533
commit
9903cb2b37
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "calckey",
|
||||
"version": "12.119.0-calc.18-rc.4",
|
||||
"version": "12.119.0-calc.18-rc.5",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -94,7 +94,7 @@ export default defineComponent({
|
|||
switch (token.props.name) {
|
||||
case 'tada': {
|
||||
const speed = validTime(token.props.args.speed) || '1s';
|
||||
style = 'font-size: 150%;' + (this.$store.state.animatedMfm && !reducedMotion() ? `animation: tada ${speed} linear infinite both;` : '');
|
||||
style = 'font-size: 150%;' + (this.$store.state.animatedMfm ? `animation: tada ${speed} linear infinite both;` : '');
|
||||
break;
|
||||
}
|
||||
case 'jelly': {
|
||||
|
|
Loading…
Reference in a new issue