Skip to content

Commit e8efee9

Browse files
authored
Set back old preset till we complete migration (#1588)
1 parent e4ba2aa commit e8efee9

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed

generatedTypes/src/style/shadows.d.ts

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,78 @@ declare const _default: {
207207
};
208208
};
209209
};
210+
dark10: {
211+
top: {
212+
shadowColor: string;
213+
shadowOpacity: number;
214+
shadowRadius: number;
215+
};
216+
bottom: {
217+
shadowColor: string;
218+
shadowOpacity: number;
219+
shadowRadius: number;
220+
shadowOffset: {
221+
height: number;
222+
width: number;
223+
};
224+
};
225+
};
226+
dark20: {
227+
top: {
228+
shadowColor: string;
229+
shadowOpacity: number;
230+
shadowRadius: number;
231+
};
232+
bottom: {
233+
shadowColor: string;
234+
shadowOpacity: number;
235+
shadowRadius: number;
236+
shadowOffset: {
237+
height: number;
238+
width: number;
239+
};
240+
};
241+
};
242+
dark30: {
243+
top: {
244+
shadowColor: string;
245+
shadowOpacity: number;
246+
shadowRadius: number;
247+
shadowOffset: {
248+
height: number;
249+
width: number;
250+
};
251+
};
252+
bottom: {
253+
shadowColor: string;
254+
shadowOpacity: number;
255+
shadowRadius: number;
256+
shadowOffset: {
257+
height: number;
258+
width: number;
259+
};
260+
};
261+
};
262+
dark40: {
263+
top: {
264+
shadowColor: string;
265+
shadowOpacity: number;
266+
shadowRadius: number;
267+
shadowOffset: {
268+
height: number;
269+
width: number;
270+
};
271+
};
272+
bottom: {
273+
shadowColor: string;
274+
shadowOpacity: number;
275+
shadowRadius: number;
276+
shadowOffset: {
277+
height: number;
278+
width: number;
279+
};
280+
};
281+
};
210282
/**
211283
* Load custom set of shadows
212284
* arguments:

src/style/shadows.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,23 @@ const Shadows = {
8686
top: {shadowColor: Colors.grey10, shadowOpacity: 0.04, shadowRadius: 4.5, shadowOffset: {height: 5, width: 0}},
8787
bottom: {shadowColor: Colors.grey20, shadowOpacity: 0.04, shadowRadius: 9, shadowOffset: {height: 10, width: 0}}
8888
},
89+
// TODO: We should remove dark presets eventually in favor of grey presets (after completing migration properly)
90+
dark10: {
91+
top: {shadowColor: Colors.grey20, shadowOpacity: 0.02, shadowRadius: 13.5},
92+
bottom: {shadowColor: Colors.grey10, shadowOpacity: 0.03, shadowRadius: 2, shadowOffset: {height: 2, width: 0}}
93+
},
94+
dark20: {
95+
top: {shadowColor: Colors.grey20, shadowOpacity: 0.03, shadowRadius: 15},
96+
bottom: {shadowColor: Colors.grey10, shadowOpacity: 0.02, shadowRadius: 3, shadowOffset: {height: 2.5, width: 0}}
97+
},
98+
dark30: {
99+
top: {shadowColor: Colors.grey10, shadowOpacity: 0.04, shadowRadius: 3.5, shadowOffset: {height: 3, width: 0}},
100+
bottom: {shadowColor: Colors.grey20, shadowOpacity: 0.04, shadowRadius: 8, shadowOffset: {height: 7, width: 0}}
101+
},
102+
dark40: {
103+
top: {shadowColor: Colors.grey10, shadowOpacity: 0.04, shadowRadius: 4.5, shadowOffset: {height: 5, width: 0}},
104+
bottom: {shadowColor: Colors.grey20, shadowOpacity: 0.04, shadowRadius: 9, shadowOffset: {height: 10, width: 0}}
105+
},
89106

90107
/**
91108
* Load custom set of shadows

0 commit comments

Comments
 (0)