forked from db-ui/base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
patternlab-config.json
160 lines (159 loc) · 3.59 KB
/
patternlab-config.json
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"cacheBust": true,
"cleanPublic": true,
"defaultPattern": "pages-intro",
"defaultShowPatternInfo": false,
"defaultInitialViewportWidth": true,
"ishControlsHide": {
"s": false,
"m": false,
"l": false,
"full": false,
"random": true,
"disco": true,
"hay": true,
"mqs": false,
"find": false,
"views-all": false,
"views-annotations": false,
"views-code": false,
"views-new": false,
"tools-all": false,
"tools-docs": false
},
"ishViewportRange": {
"s": [240, 500],
"m": [500, 800],
"l": [800, 2600]
},
"logLevel": "info",
"outputFileSuffixes": {
"rendered": ".rendered",
"rawTemplate": "",
"markupOnly": ".markup-only"
},
"paths": {
"source": {
"root": "./source/",
"patterns": "./source/_patterns/",
"data": "./tokens/",
"meta": "./source/_meta/",
"annotations": "./source/_annotations/",
"styleguide": "dist/",
"patternlabFiles": {
"general-header": "views/partials/general-header.mustache",
"general-footer": "views/partials/general-footer.mustache",
"patternSection": "views/partials/patternSection.mustache",
"patternSectionSubgroup": "views/partials/patternSectionSubgroup.mustache",
"viewall": "views/viewall.mustache"
},
"js": "./source/js",
"images": "./source/images",
"fonts": "./assets/fonts",
"css": "./source/css",
"icons": "./assets/icons",
"sitemap": "./source/sitemap.xml"
},
"public": {
"root": "out/",
"patterns": "out/patterns/",
"data": "out/styleguide/data/",
"annotations": "out/annotations/",
"styleguide": "out/styleguide/",
"js": "out/js",
"images": "out/images",
"fonts": "out/fonts",
"css": "out/css",
"icons": "out/icons",
"sitemap": "out/sitemap.xml"
}
},
"patternExtension": "hbs",
"patternStateCascade": [
"inevaluation",
"inprogress",
"inreview",
"complete"
],
"patternExportAll": false,
"patternExportDirectory": "pattern_exports",
"patternExportPatternPartials": [],
"patternExportPreserveDirectoryStructure": true,
"patternExportRaw": false,
"patternMergeVariantArrays": true,
"renderFlatPatternsOnViewAllPages": false,
"serverOptions": {
"wait": 1000
},
"starterkitSubDir": "dist",
"styleGuideExcludes": [],
"theme": {
"color": "light",
"density": "compact",
"layout": "vertical",
"logo": {
"text": "",
"altText": "Deutsche Bahn Logo",
"url": "./",
"srcLight": "images/db_logo.svg",
"srcDark": "images/db_logo.svg",
"width": "33",
"height": "23"
}
},
"uikits": [
{
"name": "uikit-workshop",
"package": "@pattern-lab/uikit-workshop",
"outputDir": "",
"enabled": true,
"excludedPatternStates": [],
"excludedTags": []
}
],
"engines": {
"handlebars": {
"package": "@pattern-lab/engine-handlebars",
"extensions": ["hbs"],
"extend": "helpers/*.js"
}
},
"transformedAssetTypes": ["scss"],
"plugins": {
"@mfranzke/plugin-node-uiextension": {
"enabled": true,
"initialized": false,
"options": {
"stylesheets": [
"https://db-ui.github.io/core/css/pattern-scaffolding-project-specific.css"
],
"navLinks": {
"before": [],
"after": []
},
"toolLinks": {
"before": [],
"after": [
{
"text": "Imprint",
"url": "https://www.dbsystel.de/dbsystel-en/legal-3715942",
"class": "",
"icon": "help"
},
{
"text": "Datenschutzerklärung",
"url": "https://db-ui.github.io/datenschutzerklaerung.html",
"class": "",
"icon": "help"
}
]
}
}
},
"plugin-node-patternlab-inline-remote-assets": {
"enabled": true,
"initialized": false,
"options": {}
}
}
}