Skip to content

Commit eddc7f1

Browse files
committed
feat: add global styles
1 parent 0f8ad34 commit eddc7f1

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

src/styles.scss

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,50 @@
11
/* You can add global styles to this file, and also import other style files */
2+
:root {
3+
--color-dark: #211e1a;
4+
}
5+
6+
.header {
7+
box-shadow: 0px -7px 11px 0px var(--color-dark);
8+
}
9+
10+
form {
11+
input {
12+
padding: 1rem;
13+
}
14+
}
15+
16+
@keyframes animateInPrimary {
17+
0% {
18+
transform: translate3d(-100%, 0, 0);
19+
}
20+
21+
100% {
22+
transform: translate3d(0, 0, 0);
23+
}
24+
}
25+
26+
@keyframes animateInSecondary {
27+
0% {
28+
opacity: 0;
29+
}
30+
31+
50% {
32+
opacity: 0;
33+
}
34+
35+
100% {
36+
opacity: 1;
37+
}
38+
}
39+
40+
.animate-in-primary {
41+
animation: animateInPrimary;
42+
animation: animateInPrimary;
43+
animation-duration: 750ms;
44+
}
45+
46+
.animate-in-secondary {
47+
animation: animateInSecondary ease-in 1;
48+
animation: animateInSecondary ease-in 1;
49+
animation-duration: 750ms;
50+
}

0 commit comments

Comments
 (0)