Esc

COMARK0201 · warning

comark/cards/invalid-color

Write a card's color as one of Nuxt UI's colors

A card's color tints its icon, a hovered link card's border, and the background of a soft or subtle card. It takes one of Nuxt UI's colors: primary, secondary, success, info, warning, error, or neutral. Any other value, such as a CSS color, shows as primary.

Incorrect

::card{title="Pond report" color="green"}
14 ducks, 3 pigeons.
::
md
lint-comark example.mdexample.md:1:1 comark/cards/invalid-color::card 1 ("Pond report"): color is "green", so it shows as primary.Write one of primary, secondary, success, info, warning, error, neutral.✖ 1 problem

Correct

::card{title="Pond report" color="success"}
14 ducks, 3 pigeons.
::
md
lint-comark example.md✔ No problems