matcha.css provides rules that automatically colors the borders of inputs based on their validation status.
:user-valid has ◉ --success borders.
:user-invalid has ◉ --danger borders.
*No validation except the ones operated by the browser are performed.