COMARK1401 · warning
comark/badge/invalid-color
Write a badge's color as one of Nuxt UI's colors
A badge takes one of Nuxt UI's colors: primary, secondary, success, info, warning, error, or neutral. Any other value, such as red or purple, shows as primary, so a warning looks like every other badge.
Incorrect
The pond census is :badge[late]{color="red"} this year. lint-comark example.mdexample.md:1:27 comark/badge/invalid-colorWrite one of primary, secondary, success, info, warning, error, neutral.✖ 1 problem
Correct
The pond census is :badge[late]{color="error"} this year. lint-comark example.md✔ No problems