forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiconsLight.ts
More file actions
120 lines (118 loc) · 2.32 KB
/
iconsLight.ts
File metadata and controls
120 lines (118 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
import {
AdonisIconLight,
AngularIconLight,
ApolloIconLight,
ReactIconLight,
ReasonIconLight,
EmberIconLight,
PreactIconLight,
VueIconLight,
SvelteIconLight,
DojoIconLight,
CxJSIconLight,
GatsbyIconLight,
MarkoIconLight,
NextIconLight,
NuxtIconLight,
NodeIconLight,
NestIconLight,
HTML5IconLight,
StyleguidistIconLight,
MDXDeckIconLight,
GridsomeIconLight,
QuasarIconLight,
SapperIconLight,
JavaScriptIconLight,
VuePressIconLight,
UnibitIconLight,
} from '@codesandbox/template-icons';
import {
adonis,
react,
ember,
vue,
preact,
reactTs,
svelte,
angular,
parcel,
dojo,
cxjs,
reason,
gatsby,
marko,
next,
nuxt,
node,
apollo,
nest,
sapper,
staticTemplate,
styleguidist,
gridsome,
vuepress,
mdxDeck,
quasar,
unibit,
TemplateType,
} from '.';
export default function getIcon(theme: TemplateType) {
switch (theme) {
case adonis.name:
return AdonisIconLight;
case react.name:
return ReactIconLight;
case vue.name:
return VueIconLight;
case preact.name:
return PreactIconLight;
case reactTs.name:
return ReactIconLight;
case svelte.name:
return SvelteIconLight;
case angular.name:
return AngularIconLight;
case parcel.name:
return JavaScriptIconLight;
case dojo.name:
return DojoIconLight;
case ember.name:
return EmberIconLight;
case sapper.name:
return SapperIconLight;
case cxjs.name:
return CxJSIconLight;
case reason.name:
return ReasonIconLight;
case gatsby.name:
return GatsbyIconLight;
case marko.name:
return MarkoIconLight;
case next.name:
return NextIconLight;
case nuxt.name:
return NuxtIconLight;
case node.name:
return NodeIconLight;
case apollo.name:
return ApolloIconLight;
case nest.name:
return NestIconLight;
case staticTemplate.name:
return HTML5IconLight;
case styleguidist.name:
return StyleguidistIconLight;
case gridsome.name:
return GridsomeIconLight;
case vuepress.name:
return VuePressIconLight;
case mdxDeck.name:
return MDXDeckIconLight;
case quasar.name:
return QuasarIconLight;
case unibit.name:
return UnibitIconLight;
default:
return ReactIconLight;
}
}