Add configurable invalid input border color

This commit is contained in:
James Lyne 2021-09-01 01:07:24 +01:00
parent aa78d6ad63
commit 4fbd41c040
2 changed files with 2 additions and 2 deletions

View File

@ -172,6 +172,7 @@
--border-radius: 0.5rem;
--border-color: #333333; /* Control borders */
--border-error: #cc0e0e;
--box-shadow: 2px 2px 0px #111111;
--text-base: rgba(255, 255, 255, 0.7); /* Normal text */

View File

@ -361,8 +361,7 @@ img {
}
&.form--invalid input:invalid {
border-color: var(--background-error);
outline-color: var(--background-error);
border-color: var(--border-error);
}
}