COMARK3804 · warning
comark/colors/invalid-color
Write palette colors in a form it can draw
A palette draws hex, rgb(), hsl(), hwb(), lab(), lch(), oklab(), and oklch() colors. It doesn't read named colors such as teal, or var() and color-mix(), whose color depends on the page, so a line with one of those is left out.
Incorrect
::palette
- Pond blue: #3b82f6
- Pigeon gray: slategray
:: lint-comark example.mdexample.md:1:1 comark/colors/invalid-colorWrite a hex color or an rgb(), hsl(), hwb(), lab(), lch(), oklab(), or oklch() color.✖ 1 problem
Correct
::palette
- Pond blue: #3b82f6
- Pigeon gray: #708090
:: lint-comark example.md✔ No problems