Skip to content

Commit 7d0590e

Browse files
Adjust error message styling
1 parent 3c93c90 commit 7d0590e

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

styles/Contact.module.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,12 @@
8181
}
8282

8383
&__errorMessage {
84-
color: $white;
84+
color: $error;
8585
margin: 0.1rem 0 1rem;
86-
font-size: 1.2rem;
86+
font-size: 1rem;
8787
height: 1.5rem;
88+
font-style: italic;
89+
align-self: start;
8890
}
8991

9092
&__input {

styles/Newsletter.module.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@
22
@use './variables' as *;
33

44
.newsletterFormInfo {
5-
font-size: 0.9rem;
5+
font-size: 1rem;
66
font-style: italic;
7+
color: $primary-content-color;
8+
9+
.newsletterFormError {
10+
color: $error;
11+
}
712

813
.newsletterFormError,
914
.newsletterFormSuccess,
1015
.newsletterFormSending {
11-
color: $primary-content-color;
1216
margin-top: 1rem;
1317

14-
@include large-desktop {
18+
@include desktop {
1519
font-size: 1.2rem;
1620
margin: 0;
1721
}

styles/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $dark-bg-color: #023047;
1717
$light-bg-color: #8cd5e8;
1818
$primary-accent-color: #ffcc4c;
1919
$secondary-accent-color: #19aad1;
20-
$error: #ab5252;
20+
$error: #be1313;
2121
$black: #000000;
2222
$white: #ffffff;
2323
$transparent: transparent;

0 commit comments

Comments
 (0)