-
Notifications
You must be signed in to change notification settings - Fork 0
/
presets.ts
50 lines (47 loc) · 806 Bytes
/
presets.ts
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
export const hsKeys = new Set([
'paddingLeft',
'paddingRight',
'paddingHorizontal',
'marginLeft',
'marginRight',
'marginHorizontal',
'left',
'right',
'width',
'borderRadius',
'borderBottomLeftRadius',
'borderBottomRightRadius',
'borderTopLeftRadius',
'borderTopRightRadius',
'borderLeftWidth',
'borderRightWidth',
]);
export const vsKeys = new Set([
'paddingTop',
'paddingBottom',
'paddingVertical',
'marginTop',
'marginBottom',
'marginVertical',
'top',
'bottom',
'height',
'borderTopWidth',
'borderBottomWidth',
]);
export const msKeys = new Set([
'fontSize',
'lineHeight',
'padding',
'margin',
'borderWidth',
'flexBasis',
]);
export const PlatformKeys = new Set([
'ios',
'android',
'web',
'tablet',
'macos',
'windows',
]);