mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2025-03-13 05:59:59 +01:00
For colour in MFM attributes, we expected a `#`, but that's apparently wrong. The BE translates the `color` attribute in `$[fg.color=000 text]` into `data-mfm-color=000`. But for the SCSS to work, we need to put it in the style attribute as `--mfm-color: #000`. Generally we just add the attribute value as-is in the `style` attribute, but now we have a special exception for color so we add a `#` before the value. |
||
---|---|---|
.. | ||
emoji_input.spec.js | ||
rich_content.spec.js | ||
user_profile.spec.js |