-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmetadata.json
More file actions
129 lines (129 loc) · 3 KB
/
metadata.json
File metadata and controls
129 lines (129 loc) · 3 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
121
122
123
124
125
126
127
128
129
{
"name": "csshat-language-css",
"title": "CSS",
"scope": "source.css",
"codeLanguage": true,
"settings": {
"inheritFontStyles": {
"description": "Group common styles for selected layers.",
"type": "boolean",
"default": true
},
"showComments": {
"description": "Show a brief description of selected layers.",
"type": "boolean",
"default": true
},
"showAbsolutePositions": {
"description": "Show absolute X and Y coordinates for all layers.",
"type": "boolean",
"default": false
},
"useColorName": {
"description": "Show color name values of common colors rather than hex codes.",
"type": "boolean",
"default": true
},
"vendorPrefixes": {
"description": "Generate vendor prefixes like `display: -webkit-flex;`",
"type": "boolean",
"default": true
},
"boxSizing": {
"type": "select",
"options": [
"border-box",
"content-box"
],
"default": "border-box"
},
"unit": {
"type": "select",
"options": [
"px",
"em",
"rem"
],
"default": "px"
},
"lineHeightUnit": {
"type": "select",
"options": [
"Use selected unit",
"Unitless (number multiplied by the element's font size)",
"px",
"em",
"rem"
],
"default": "Use selected unit"
},
"emValue": {
"description": "1 em = x px — Ammount of pixels that correspond to one em. Em value is **not** relative to parent element.",
"type": "text",
"default": 16,
"validate": "setNumberValue",
"showFor": [
"unit",
"lineHeightUnit"
],
"showWhen": "em"
},
"remValue": {
"description": "1 rem = x px — Ammount of pixels that correspond to one rem",
"type": "text",
"default": 16,
"validate": "setNumberValue",
"showFor": [
"unit",
"lineHeightUnit"
],
"showWhen": "rem"
},
"autoprefixer": {
"description": "Defines which vendor prefixes will be generated. Read more on [Github](https://github.com/postcss/autoprefixer).",
"type": "text",
"validate": "setAutoprefixer",
"default": "> 1%, last 2 versions, Firefox ESR, Opera 12.1"
},
"selector": {
"description": "Wrap code in a css selector.",
"type": "boolean",
"default": false
},
"selectorType": {
"type": "select",
"options": [
"id",
"class",
"element"
],
"default": "class"
},
"selectorTextStyle": {
"type": "select",
"options": [
"dash-case",
"snake_case",
"camelCase"
],
"default": "dash-case"
},
"colorType": {
"type": "select",
"options": [
"hex",
"rgb",
"hsl"
],
"default": "hex"
},
"quoteType": {
"type": "select",
"options": [
"'",
"\""
],
"default": "\""
}
}
}