mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2025-03-13 14:09: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. |
||
---|---|---|
.. | ||
boot | ||
components | ||
modules | ||
services |