diff --git a/locales/de-DE.yml b/locales/de-DE.yml index ed5a7334b..259eb8dc1 100644 --- a/locales/de-DE.yml +++ b/locales/de-DE.yml @@ -1171,6 +1171,8 @@ _mfm: sparkleDescription: "Verleiht Inhalt einen glitzernden Partikeleffekt." rotate: "Drehen" rotateDescription: "Dreht den Inhalt um einen angegebenen Winkel." + fade: "Ein-/Ausblenden" + fadeDescription: "Blended Inhalt ein and aus." plain: "Schlicht" plainDescription: "Deaktiviert jegliche MFM-Syntax, die sich innerhalb dieses MFM-Effekts\ \ befindet." diff --git a/locales/en-US.yml b/locales/en-US.yml index d39d1ad3f..2f0bdc4f8 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1267,6 +1267,8 @@ _mfm: sparkleDescription: "Gives content a sparkling particle effect." rotate: "Rotate" rotateDescription: "Turns content by a specified angle." + fade: "Fade" + fadeDescription: "Fades content in and out." position: "Position" positionDescription: "Move content by a specified amount." scale: "Scale" diff --git a/locales/fr-FR.yml b/locales/fr-FR.yml index 33201d820..e7416f577 100644 --- a/locales/fr-FR.yml +++ b/locales/fr-FR.yml @@ -1077,6 +1077,8 @@ _mfm: sparkle: "Paillettes" sparkleDescription: "Ajoute un effet scintillant au contenu." rotate: "Pivoter" + fade: "Apparaître/Disparaître" + fadeDescription: "Fait apparaître et disparaître le contenu." plainDescription: Désactiver les effets de tous les MFM contenus dans cet effet MFM. rotateDescription: Pivoter le contenu d'un angle spécifique. diff --git a/locales/it-IT.yml b/locales/it-IT.yml index f526cac19..6dc4b68b5 100644 --- a/locales/it-IT.yml +++ b/locales/it-IT.yml @@ -910,6 +910,8 @@ _mfm: fontDescription: "Puoi scegliere il tipo di carattere per il contenuto." rainbow: "Arcobaleno" rotate: "Ruota" + fade: "Dissolvenza" + fadeDescription: "Dissolvenza in entrata e in uscita del contenuto." _instanceTicker: none: "Nascondi" remote: "Mostra solo per gli/le utenti remotə" diff --git a/packages/client/src/components/global/MkMisskeyFlavoredMarkdown.vue b/packages/client/src/components/global/MkMisskeyFlavoredMarkdown.vue index c235b4835..896891d5e 100644 --- a/packages/client/src/components/global/MkMisskeyFlavoredMarkdown.vue +++ b/packages/client/src/components/global/MkMisskeyFlavoredMarkdown.vue @@ -299,6 +299,11 @@ const props = withDefaults( filter: hue-rotate(360deg) contrast(150%) saturate(150%); } } + +@keyframes mfm-fade { + 0% { opacity: 0; } + 100% { opacity: 1; } +}