Consistently use red in forms

Errors and required fields now use the colour from the palette. The error messages in the old design are a bit darker now, but I think it's clearer. And it makes the new design look way better.

Also snuck in a tiny padding tweak.
This commit is contained in:
David Cook
2023-08-02 16:04:48 +10:00
parent 7886e25f83
commit 828df3ed82
3 changed files with 9 additions and 9 deletions

View File

@@ -100,15 +100,15 @@ span.info {
&.withError {
.field_with_errors {
label {
color: very-light($color-error, 30);
color: $color-error;
}
input {
border-color: very-light($color-error, 15);
border-color: $color-error;
}
}
.formError {
color: very-light($color-error, 30);
color: $color-error;
font-style: italic;
font-size: 85%;
}