fix: update strong selector example to include color property

This commit is contained in:
Michael Czechowski
2025-05-23 14:48:03 +02:00
parent 6e4b3a141c
commit 19035c64eb

View File

@@ -110,18 +110,10 @@
"value": "^strong\\s*{",
"message": "Include a <kbd>strong { … }</kbd> selector"
},
{
"type": "property_value",
"value": {
"property": "color",
"expected": "red"
},
"message": "Set the <kbd>color: red</kbd> for strong elements"
},
{
"type": "regex",
"value": "strong\\s*{[^}]*}",
"message": "Make sure to close your strong rule with a closing brace <kbd>}</kbd>"
"value": "strong\\s*{\\s*color:\\s*red;[^}]*}",
"message": "Set the <kbd>color: red</kbd> for strong elements"
}
]
},