mirror of
https://git.notfire.cc/notfire/akkoma-fe.git
synced 2026-01-11 13:33:24 -08: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 | ||