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.
:: lint-comark example.mdexample.md:1:1 comark/cards/invalid-colorWrite one of primary, secondary, success, info, warning, error, neutral.✖ 1 problem
Correct
::card{title="Pond report" color="success"}
14 ducks, 3 pigeons.
:: lint-comark example.md✔ No problems