From 4fbd41c0409d6d4600a30fdf04933bd15f2803c5 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Wed, 1 Sep 2021 01:07:24 +0100 Subject: [PATCH] Add configurable invalid input border color --- index.html | 1 + src/scss/style.scss | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 53b6f99..d82dff6 100644 --- a/index.html +++ b/index.html @@ -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 */ diff --git a/src/scss/style.scss b/src/scss/style.scss index 0190d98..308b0fd 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -361,8 +361,7 @@ img { } &.form--invalid input:invalid { - border-color: var(--background-error); - outline-color: var(--background-error); + border-color: var(--border-error); } }