1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-14 03:04:26 -04:00

add some rounded corners and theme transition fading

This commit is contained in:
2022-01-21 12:05:01 -05:00
parent 7e37adabc1
commit 224358fd68
26 changed files with 127 additions and 207 deletions

View File

@@ -3,7 +3,7 @@
padding: 0.8em;
margin: 0.6em 0;
border: 2px solid;
border-radius: 0.3em;
border-radius: var(--rounded-edge-radius);
color: var(--text);
background-color: var(--super-duper-light);
border-color: var(--light);
@@ -18,6 +18,12 @@
border-color: var(--error);
}
.input,
.btn_submit {
/* light-dark theme switch fading */
transition: background 0.25s ease;
}
.textarea {
height: 12em;
min-height: 6em;
@@ -51,7 +57,7 @@
padding: 1em 1.25em;
margin-right: 1.5em;
border: 0;
border-radius: 0.3em;
border-radius: var(--rounded-edge-radius);
cursor: pointer;
user-select: none;
font-weight: 500;
@@ -65,7 +71,7 @@
}
.btn_submit .send_icon {
margin-right: 0.4em;
margin-right: var(--rounded-edge-radius);
}
.result_success,

View File

@@ -113,7 +113,7 @@ const ContactForm = ({ className }: Props) => {
className={cx({ input: true, missing: errors.email && touched.email })}
name="email"
type="email"
inputmode="email"
inputMode="email"
placeholder="Email"
disabled={success}
/>