The MFM rainbow effect (and probably others) doesn't work properly #101

Closed
opened 2022-07-22 15:34:12 +00:00 by wandering-girl · 5 comments

$[rainbow TEXT] doesn't work. The only way I got it to work was if I did [$[rainbow TEXT]]().

I'm pretty sure this issue may be affection other effects, but I haven't found them out yet.

`$[rainbow TEXT]` doesn't work. The only way I got it to work was if I did `[$[rainbow TEXT]]()`. I'm pretty sure this issue may be affection other effects, but I haven't found them out yet.
Contributor

that's a limitation of the rainbow MFM. since the text color (set by the theme) is likely to be grayscale, it isn't affected by hue changes. this is the same in misskey.

you will see that if you $[rainbow :emoji:] that emoji will in fact change color

that's a limitation of the rainbow MFM. since the text color (set by the theme) is likely to be grayscale, it isn't affected by hue changes. this is the same in misskey. you will see that if you `$[rainbow :emoji:]` that emoji will in fact change color
Author

Sorry for the late reply.

I should have stated that I'm on the stable branch, not develop, I know it's an important detail.

And you're right, the rainbow effect does show on emojis. However, I changed themes a few times and the rainbow still didn't show on words unless I made it a link.

Another effect that I know doesn't render is bounce. I haven't found a way to force it to render yet.

Sorry for the late reply. I should have stated that I'm on the stable branch, not develop, I know it's an important detail. And you're right, the rainbow effect does show on emojis. However, I changed themes a few times and the rainbow still didn't show on words unless I made it a link. Another effect that I know doesn't render is `bounce`. I haven't found a way to force it to render yet.
Contributor

as i said, the rainbow doesn't change text because it deals with the hue of the element, and the saturation of text is usually 0 so you don't see the change. see attached example

as i said, the rainbow doesn't change text because it deals with the hue of the element, and the saturation of text is usually 0 so you don't see the change. see attached example
Author

I see now, I appreciate you clarifying things for me. ^^

The issue can be closed.

I see now, I appreciate you clarifying things for me. ^^ The issue can be closed.

yeah it's a bit confusing, but t'is how it is

thanks for understanding~

yeah it's a bit confusing, but t'is how it is thanks for understanding~
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#101
No description provided.