-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstudio.view.css.ts
111 lines (90 loc) · 1.21 KB
/
studio.view.css.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
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
namespace $.$$ {
const { rem, per, px } = $mol_style_unit
$mol_style_define( $hyoo_studio, {
Edit: {
flex: {
grow: 0,
shrink: 0,
},
Body: {
padding: 0,
},
},
Edit_form: {
gap: $mol_gap.block,
display: 'flex',
},
$mol_form_field: {
flex: {
grow: 1,
},
},
Pack: {
width: per (100),
},
Readme_open: {
marginLeft: 'auto',
},
Config: {
gap: $mol_gap.block,
},
Props: {
gap: $mol_gap.block,
},
Props_controls: {
padding: {
top: $mol_gap.block,
bottom: $mol_gap.block,
},
},
Source_type: {
flex: {
grow: 1,
},
Switch: {
flex: {
grow: 0,
},
},
},
Source_page: {
flex: {
basis: rem( 40 ),
},
Body: {
flexDirection: 'row',
},
},
Source_page_list: {
width: '100%',
},
Source_prop_name: {
padding: $mol_gap.block,
},
Preview: {
flex: {
basis: rem( 40 ),
shrink: 0,
grow: 10000,
},
minWidth: per( 50 ),
zIndex: 2,
box: {
shadow: [ {
x: 0,
y: 0,
blur: 0,
spread: px( 1 ),
color: $mol_theme.line,
} ],
}
},
Inspect: {
flex: {
basis: rem( 30 ),
shrink: 0,
grow: 1,
},
},
} )
}