File tree 4 files changed +81
-0
lines changed
4 files changed +81
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ import FolderOpen from "../icons/FolderOpen";
56
56
import FolderClosed from "../icons/FolderClosed" ;
57
57
import Gift from "@/components/icons/Gift" ;
58
58
import Home from "@/components/icons/Home" ;
59
+ import HorizontalLoading from "@/components/icons/HorizontalLoading" ;
59
60
import Http from "@/components/icons/Http" ;
60
61
import Integrations from "@/components/icons/Integrations" ;
61
62
import LightBulb from "@/components/icons/LightBulb" ;
@@ -155,6 +156,7 @@ export const ICONS_MAP = {
155
156
gift : Gift ,
156
157
history : HistoryIcon ,
157
158
home : Home ,
159
+ "horizontal-loading" : HorizontalLoading ,
158
160
http : Http ,
159
161
"info-in-circle" : InfoInCircleIcon ,
160
162
information : InformationIcon ,
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ export type IconName =
59
59
| "folder-open"
60
60
| "gift"
61
61
| "history"
62
+ | "horizontal-loading"
62
63
| "home"
63
64
| "http"
64
65
| "info-in-circle"
Original file line number Diff line number Diff line change
1
+ import DotsHorizontal from "./DotsHorizontal" ;
2
+ import styled , { keyframes } from "styled-components" ;
3
+
4
+ const animationCircle1 = keyframes `
5
+ 0 {
6
+ r: 0;
7
+ }
8
+ 30% {
9
+ r: 1.5;
10
+ }
11
+ 60% {
12
+ r: 0;
13
+ }
14
+ 100% {
15
+ r: 0;
16
+ }
17
+ ` ;
18
+ const animationCircle2 = keyframes `
19
+ 0 {
20
+ r: 0;
21
+ }
22
+ 20% {
23
+ r: 0;
24
+ }
25
+ 40% {
26
+ r: 1.5;
27
+ }
28
+ 80% {
29
+ r: 0;
30
+ }
31
+ 100% {
32
+ r: 0
33
+ }
34
+ ` ;
35
+ const animationCircle3 = keyframes `
36
+ 0 {
37
+ r: 0;
38
+ }
39
+ 40% {
40
+ r: 0;
41
+ }
42
+ 80% {
43
+ r: 1.5;
44
+ }
45
+ 100% {
46
+ r: 0
47
+ }
48
+ ` ;
49
+
50
+ const HorizontalLoading = styled ( DotsHorizontal ) `
51
+ circle {
52
+ r: 0;
53
+ animation-name: example;
54
+ animation-duration: 1.5s;
55
+ animation-iteration-count: infinite;
56
+ animation-timing-function: linear;
57
+ &:nth-child(1) {
58
+ animation-name: ${ animationCircle1 } ;
59
+ }
60
+ &:nth-child(2) {
61
+ animation-name: ${ animationCircle2 } ;
62
+ }
63
+ &:nth-child(3) {
64
+ animation-name: ${ animationCircle3 } ;
65
+ }
66
+ }
67
+ ` ;
68
+
69
+ export default HorizontalLoading ;
Original file line number Diff line number Diff line change 697
697
}
698
698
},
699
699
"mono" : {
700
+ "xs" : {
701
+ "value" : {
702
+ "fontFamily" : " {typography.font.families.mono}" ,
703
+ "fontWeight" : " {typography.font.weights.2}" ,
704
+ "lineHeight" : " {typography.font.line-height.2}" ,
705
+ "fontSize" : " {typography.font.sizes.0}"
706
+ },
707
+ "type" : " typography"
708
+ },
700
709
"sm" : {
701
710
"value" : {
702
711
"fontFamily" : " {typography.font.families.mono}" ,
You can’t perform that action at this time.
0 commit comments