@ui5/webcomponents-theming 0.0.0-1929d08ff

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/README.md +33 -0
  3. package/config/postcss.themes/postcss.config.js +24 -0
  4. package/css-vars-usage.json +285 -0
  5. package/dist/Assets-static.js +2 -0
  6. package/dist/Assets.js +2 -0
  7. package/dist/css/themes/sap_belize/parameters-bundle.css +1 -0
  8. package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -0
  9. package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -0
  10. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -0
  11. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -0
  12. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -0
  13. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -0
  14. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -0
  15. package/dist/css/themes/sap_horizon_exp/parameters-bundle.css +1 -0
  16. package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -0
  17. package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -0
  18. package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -0
  19. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -0
  20. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -0
  21. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -0
  22. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -0
  23. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -0
  24. package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -0
  25. package/dist/generated/json-imports/Themes-static.js +35 -0
  26. package/dist/generated/json-imports/Themes.js +27 -0
  27. package/dist/generated/themes/sap_belize/parameters-bundle.css.js +1 -0
  28. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -0
  29. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -0
  30. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -0
  31. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -0
  32. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -0
  33. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -0
  34. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -0
  35. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -0
  36. package/dist/themes/sap_belize/css_variables.css +585 -0
  37. package/dist/themes/sap_belize/parameters-bundle.css +1 -0
  38. package/dist/themes/sap_belize_hcb/css_variables.css +584 -0
  39. package/dist/themes/sap_belize_hcb/parameters-bundle.css +1 -0
  40. package/dist/themes/sap_belize_hcw/css_variables.css +584 -0
  41. package/dist/themes/sap_belize_hcw/parameters-bundle.css +1 -0
  42. package/dist/themes/sap_fiori_3/css_variables.css +584 -0
  43. package/dist/themes/sap_fiori_3/parameters-bundle.css +1 -0
  44. package/dist/themes/sap_fiori_3_dark/css_variables.css +584 -0
  45. package/dist/themes/sap_fiori_3_dark/parameters-bundle.css +1 -0
  46. package/dist/themes/sap_fiori_3_hcb/css_variables.css +584 -0
  47. package/dist/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -0
  48. package/dist/themes/sap_fiori_3_hcw/css_variables.css +584 -0
  49. package/dist/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -0
  50. package/dist/themes/sap_horizon/css_variables.css +584 -0
  51. package/dist/themes/sap_horizon/parameters-bundle.css +1 -0
  52. package/dist/themes/sap_horizon_exp/css_variables.css +584 -0
  53. package/dist/themes/sap_horizon_exp/parameters-bundle.css +1 -0
  54. package/hash.txt +1 -0
  55. package/lib/generate-css-vars-usage-report/index.js +27 -0
  56. package/package-scripts.js +38 -0
  57. package/package.json +48 -0
@@ -0,0 +1,584 @@
1
+ /**
2
+ * Copyright (c) 2012-2020 SAP SE or an SAP affiliate company and Theming Base Content contributors. Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
3
+ *
4
+ * Theming Engine 1.51.0
5
+ * data:{"Path": "Base.baseLib.sap_horizon.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["baseTheme"], "Tags": ["Fiori_3","LightColorScheme"], "FallbackThemeId": "sap_fiori_3", "Version": { "Build":"11.1.34.20211012133552", "Source": "11.1.34", "Engine": "1.51.0"}}
6
+ */
7
+
8
+ .sapThemeMetaData-Base-baseLib{background-image: url('data:text/plain;utf-8,{"Path": "Base.baseLib.sap_horizon.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["baseTheme"], "Tags": ["Fiori_3","LightColorScheme"], "FallbackThemeId": "sap_fiori_3", "Version": { "Build":"11.1.34.20211012133552", "Source": "11.1.34", "Engine": "1.51.0"}}');}
9
+ :root {
10
+ --sapBrandColor: #0070f2;
11
+ --sapHighlightColor: #0070f2;
12
+ --sapBaseColor: #fff;
13
+ --sapShellColor: #fff;
14
+ --sapBackgroundColor: #f5f6f7;
15
+ --sapFontFamily: "72", "72full", Arial, Helvetica, sans-serif;
16
+ --sapFontLightFamily: "72-Light", "72-Lightfull", "72", "72full", Arial, Helvetica, sans-serif;
17
+ --sapFontBoldFamily: "72-Bold", "72-Boldfull", "72", "72full", Arial, Helvetica, sans-serif;
18
+ --sapFontBlackFamily: "72Black", "72", "72full", Arial, Helvetica, sans-serif;
19
+ --sapFontHeaderFamily: "72-Bold", "72-Boldfull", "72", "72full", Arial, Helvetica, sans-serif;
20
+ --sapFontSize: .875rem;
21
+ --sapFontSmallSize: .75rem;
22
+ --sapFontLargeSize: 1rem;
23
+ --sapFontHeader1Size: 3rem;
24
+ --sapFontHeader2Size: 2rem;
25
+ --sapFontHeader3Size: 1.5rem;
26
+ --sapFontHeader4Size: 1.25rem;
27
+ --sapFontHeader5Size: 1rem;
28
+ --sapFontHeader6Size: .875rem;
29
+ --sapTextColor: #223548;
30
+ --sapLinkColor: #0064d9;
31
+ --sapLink_Hover_Color: #005fce;
32
+ --sapLink_Active_Color: #0064d9;
33
+ --sapLink_Visited_Color: #0064d9;
34
+ --sapLink_InvertedColor: #a6cfff;
35
+ --sapLink_SubtleColor: #00418d;
36
+ --sapCompanyLogo: none;
37
+ --sapBackgroundImage: none;
38
+ --sapBackgroundImageOpacity: 1.0;
39
+ --sapBackgroundImageRepeat: false;
40
+ --sapSelectedColor: #0070f2;
41
+ --sapActiveColor: #dee2e5;
42
+ --sapHighlightTextColor: #fff;
43
+ --sapTitleColor: #223548;
44
+ --sapNegativeColor: #aa0808;
45
+ --sapCriticalColor: #e76500;
46
+ --sapPositiveColor: #256f3a;
47
+ --sapInformativeColor: #0070f2;
48
+ --sapNeutralColor: #5b738b;
49
+ --sapNegativeElementColor: #f53232;
50
+ --sapCriticalElementColor: #e76500;
51
+ --sapPositiveElementColor: #30914c;
52
+ --sapInformativeElementColor: #0070f2;
53
+ --sapNeutralElementColor: #6e87a0;
54
+ --sapNegativeTextColor: #aa0808;
55
+ --sapPositiveTextColor: #256f3a;
56
+ --sapCriticalTextColor: #b95100;
57
+ --sapInformativeTextColor: #0070f2;
58
+ --sapNeutralTextColor: #5b738b;
59
+ --sapNeutralBorderColor: #6e87a0;
60
+ --sapErrorColor: #aa0808;
61
+ --sapErrorBorderColor: #f53232;
62
+ --sapWarningColor: #e76500;
63
+ --sapWarningBorderColor: #e76500;
64
+ --sapSuccessColor: #256f3a;
65
+ --sapSuccessBorderColor: #30914c;
66
+ --sapInformationColor: #0070f2;
67
+ --sapInformationBorderColor: #0070f2;
68
+ --sapErrorBackground: #ffeaf4;
69
+ --sapWarningBackground: #fff8d6;
70
+ --sapSuccessBackground: #f5fae5;
71
+ --sapInformationBackground: #e1f4ff;
72
+ --sapNeutralBackground: #f5f6f7;
73
+ --sapIndicationColor_1: #840606;
74
+ --sapIndicationColor_1_Hover_Background: #6c0505;
75
+ --sapIndicationColor_1_Active_Background: #530404;
76
+ --sapIndicationColor_1_TextColor: #fff;
77
+ --sapIndicationColor_2: #aa0808;
78
+ --sapIndicationColor_2_Hover_Background: #920707;
79
+ --sapIndicationColor_2_Active_Background: #790606;
80
+ --sapIndicationColor_2_TextColor: #fff;
81
+ --sapIndicationColor_3: #e76500;
82
+ --sapIndicationColor_3_Hover_Background: #d85e00;
83
+ --sapIndicationColor_3_Active_Background: #c85800;
84
+ --sapIndicationColor_3_TextColor: #fff;
85
+ --sapIndicationColor_4: #256f3a;
86
+ --sapIndicationColor_4_Hover_Background: #1f5c30;
87
+ --sapIndicationColor_4_Active_Background: #184926;
88
+ --sapIndicationColor_4_TextColor: #fff;
89
+ --sapIndicationColor_5: #0070f2;
90
+ --sapIndicationColor_5_Hover_Background: #0064d9;
91
+ --sapIndicationColor_5_Active_Background: #0058bf;
92
+ --sapIndicationColor_5_TextColor: #fff;
93
+ --sapIndicationColor_6: #046c7a;
94
+ --sapIndicationColor_6_Hover_Background: #035661;
95
+ --sapIndicationColor_6_Active_Background: #024049;
96
+ --sapIndicationColor_6_TextColor: #fff;
97
+ --sapIndicationColor_7: #5d36ff;
98
+ --sapIndicationColor_7_Hover_Background: #481cff;
99
+ --sapIndicationColor_7_Active_Background: #3403ff;
100
+ --sapIndicationColor_7_TextColor: #fff;
101
+ --sapIndicationColor_8: #a100c2;
102
+ --sapIndicationColor_8_Hover_Background: #8c00a9;
103
+ --sapIndicationColor_8_Active_Background: #77008f;
104
+ --sapIndicationColor_8_TextColor: #fff;
105
+ --sapElement_LineHeight: 2.75rem;
106
+ --sapElement_Height: 2.25rem;
107
+ --sapElement_BorderWidth: .0625rem;
108
+ --sapElement_BorderCornerRadius: .75rem;
109
+ --sapElement_Compact_LineHeight: 2rem;
110
+ --sapElement_Compact_Height: 1.625rem;
111
+ --sapElement_Condensed_LineHeight: 1.5rem;
112
+ --sapElement_Condensed_Height: 1.375rem;
113
+ --sapContent_LineHeight: 1.5;
114
+ --sapContent_IconHeight: 1rem;
115
+ --sapContent_IconColor: #223548;
116
+ --sapContent_ContrastIconColor: #fff;
117
+ --sapContent_NonInteractiveIconColor: #223548;
118
+ --sapContent_MarkerIconColor: #5d36ff;
119
+ --sapContent_MarkerTextColor: #046c7a;
120
+ --sapContent_ImagePlaceholderBackground: #eaecee;
121
+ --sapContent_ImagePlaceholderForegroundColor: #5b738b;
122
+ --sapContent_RatedColor: #5d36ff;
123
+ --sapContent_UnratedColor: #788fa6;
124
+ --sapContent_FocusColor: #0070f2;
125
+ --sapContent_FocusStyle: solid;
126
+ --sapContent_FocusWidth: .125rem;
127
+ --sapContent_ContrastFocusColor: #fff;
128
+ --sapContent_ShadowColor: #556b82;
129
+ --sapContent_ContrastShadowColor: #fff;
130
+ --sapContent_Shadow0: 0 0 0.125rem 0 rgba(85,107,130,0.16), 0 0.125rem 0.25rem 0 rgba(85,107,130,0.16);
131
+ --sapContent_Shadow1: 0 0 0 0.0625rem rgba(85,107,130,0.42), 0 0.125rem 0.5rem 0 rgba(85,107,130,0.3);
132
+ --sapContent_Shadow2: 0 0 0 0.0625rem rgba(85,107,130,0.42), 0 0.625rem 1.875rem 0 rgba(85,107,130,0.3);
133
+ --sapContent_Shadow3: 0 0 0 0.0625rem rgba(85,107,130,0.42), 0 1.25rem 5rem 0 rgba(85,107,130,0.3);
134
+ --sapContent_TextShadow: 0 0 0.125rem #fff;
135
+ --sapContent_ContrastTextShadow: 0 0 0.0625rem rgba(0,0,0,0.7);
136
+ --sapContent_HeaderShadow: 0 0 0.25rem 0 rgba(85,107,130,0.16), inset 0 -0.0625rem 0 0 #d9d9d9;
137
+ --sapContent_Interaction_Shadow: 0 0 0.125rem 0 rgba(85,107,130,0.72);
138
+ --sapContent_Selected_Shadow: 0 0 0.125rem 0 rgba(0,112,242,0.72);
139
+ --sapContent_Negative_Shadow: 0 0 0.125rem 0 rgba(170,8,8,0.72);
140
+ --sapContent_Critical_Shadow: 0 0 0.125rem 0 rgba(231,101,0,0.72);
141
+ --sapContent_Positive_Shadow: 0 0 0.125rem 0 rgba(37,111,58,0.72);
142
+ --sapContent_Informative_Shadow: 0 0 0.125rem 0 rgba(0,112,242,0.72);
143
+ --sapContent_Neutral_Shadow: 0 0 0.125rem 0 rgba(91,115,139,0.72);
144
+ --sapContent_SearchHighlightColor: #dafdf5;
145
+ --sapContent_HelpColor: #188918;
146
+ --sapContent_LabelColor: #556b82;
147
+ --sapContent_MonospaceFontFamily: "72Mono", "72Monofull", lucida console, monospace;
148
+ --sapContent_MonospaceBoldFontFamily: "72Mono-Bold", "72Mono-Boldfull", lucida console, monospace;
149
+ --sapContent_IconFontFamily: "SAP-icons";
150
+ --sapContent_DisabledTextColor: rgba(34,53,72,0.6);
151
+ --sapContent_DisabledOpacity: 0.4;
152
+ --sapContent_ContrastTextThreshold: 0.65;
153
+ --sapContent_ContrastTextColor: #fff;
154
+ --sapContent_ForegroundColor: #efefef;
155
+ --sapContent_ForegroundBorderColor: #788fa6;
156
+ --sapContent_ForegroundTextColor: #223548;
157
+ --sapContent_BadgeBackground: #aa0808;
158
+ --sapContent_BadgeTextColor: #fff;
159
+ --sapContent_Placeholderloading_Background: #ccc;
160
+ --sapContent_Placeholderloading_Gradient: linear-gradient(to right, #ccc 0%, #ccc 20%, #999 50%, #ccc 80%, #ccc 100%);
161
+ --sapContent_DragAndDropActiveColor: #0070f2;
162
+ --sapContent_Selected_Background: #fff;
163
+ --sapContent_Selected_TextColor: #0070f2;
164
+ --sapContent_Selected_Hover_Background: #fff;
165
+ --sapContent_Selected_ForegroundColor: #0070f2;
166
+ --sapContent_Illustrative_Color1: #5d36ff;
167
+ --sapContent_Illustrative_Color2: #0070f2;
168
+ --sapContent_Illustrative_Color3: #f58b00;
169
+ --sapContent_Illustrative_Color4: #00144a;
170
+ --sapContent_Illustrative_Color5: #a9b4be;
171
+ --sapContent_Illustrative_Color6: #d5dadd;
172
+ --sapContent_Illustrative_Color7: #ebf8ff;
173
+ --sapContent_Illustrative_Color8: #fff;
174
+ --sapContent_Illustrative_Color9: #64edd2;
175
+ --sapContent_Illustrative_Color10: #ebf8ff;
176
+ --sapContent_Illustrative_Color11: #f31ded;
177
+ --sapContent_Illustrative_Color12: #5dc122;
178
+ --sapContent_Illustrative_Color13: #005dc9;
179
+ --sapContent_Illustrative_Color14: #004da5;
180
+ --sapContent_Illustrative_Color15: #cc7400;
181
+ --sapContent_Illustrative_Color16: #3b0ac6;
182
+ --sapContent_Illustrative_Color17: #00a58a;
183
+ --sapContent_Illustrative_Color18: #d1efff;
184
+ --sapContent_Illustrative_Color19: #b8e6ff;
185
+ --sapContent_Illustrative_Color20: #9eddff;
186
+ --sapShell_Background: #f5f6f7;
187
+ --sapShell_BackgroundImage: linear-gradient(to bottom, #f5f6f7, #f5f6f7);
188
+ --sapShell_BackgroundGradient: linear-gradient(to bottom, #f5f6f7, #f5f6f7);
189
+ --sapShell_BackgroundImageOpacity: 1.0;
190
+ --sapShell_BackgroundImageRepeat: false;
191
+ --sapShell_BorderColor: #fff;
192
+ --sapShell_TextColor: #223548;
193
+ --sapShell_InteractiveBackground: #eff1f2;
194
+ --sapShell_InteractiveTextColor: #223548;
195
+ --sapShell_InteractiveBorderColor: #788fa6;
196
+ --sapShell_GroupTitleTextColor: #223548;
197
+ --sapShell_GroupTitleTextShadow: 0 0 0.125rem #fff;
198
+ --sapShell_Hover_Background: #fff;
199
+ --sapShell_Active_Background: #fff;
200
+ --sapShell_Active_TextColor: #0070f2;
201
+ --sapShell_Selected_Background: #fff;
202
+ --sapShell_Selected_TextColor: #0070f2;
203
+ --sapShell_Selected_Hover_Background: #fff;
204
+ --sapShell_Favicon: none;
205
+ --sapShell_Navigation_Background: #fff;
206
+ --sapShell_Navigation_SelectedColor: #223548;
207
+ --sapShell_Navigation_Selected_TextColor: #223548;
208
+ --sapShell_Navigation_TextColor: #223548;
209
+ --sapShell_Navigation_Hover_Background: #fff;
210
+ --sapShell_Navigation_Active_Background: #fff;
211
+ --sapShell_Navigation_Active_TextColor: #0070f2;
212
+ --sapShell_Shadow: 0 0 0.5rem 0 rgba(85,107,130,0.2), inset 0 -0.0625rem 0 0 rgba(85,107,130,0.1);
213
+ --sapShell_NegativeColor: #aa0808;
214
+ --sapShell_CriticalColor: #e76500;
215
+ --sapShell_PositiveColor: #256f3a;
216
+ --sapShell_InformativeColor: #0070f2;
217
+ --sapShell_NeutralColor: #5b738b;
218
+ --sapButton_BorderWidth: .0625rem;
219
+ --sapButton_BorderCornerRadius: .5rem;
220
+ --sapButton_Background: #eaecee;
221
+ --sapButton_BorderColor: #eaecee;
222
+ --sapButton_TextColor: #223548;
223
+ --sapButton_Hover_Background: #fff;
224
+ --sapButton_Hover_BorderColor: #fff;
225
+ --sapButton_Hover_TextColor: #223548;
226
+ --sapButton_IconColor: #223548;
227
+ --sapButton_Active_Background: #fff;
228
+ --sapButton_Active_BorderColor: #0070f2;
229
+ --sapButton_Active_TextColor: #0070f2;
230
+ --sapButton_Emphasized_Background: #0070f2;
231
+ --sapButton_Emphasized_BorderColor: #0070f2;
232
+ --sapButton_Emphasized_TextColor: #fff;
233
+ --sapButton_Emphasized_Hover_Background: #0064d9;
234
+ --sapButton_Emphasized_Hover_BorderColor: #0064d9;
235
+ --sapButton_Emphasized_Hover_TextColor: #fff;
236
+ --sapButton_Emphasized_Active_Background: #fff;
237
+ --sapButton_Emphasized_Active_BorderColor: #0070f2;
238
+ --sapButton_Emphasized_Active_TextColor: #0070f2;
239
+ --sapButton_Emphasized_TextShadow: transparent;
240
+ --sapButton_Reject_Background: #ffd6e9;
241
+ --sapButton_Reject_BorderColor: #ffd6e9;
242
+ --sapButton_Reject_Hover_Background: #fff;
243
+ --sapButton_Reject_Hover_BorderColor: #fff;
244
+ --sapButton_Reject_Hover_TextColor: #aa0808;
245
+ --sapButton_Reject_Active_Background: #fff;
246
+ --sapButton_Reject_Active_BorderColor: #f53232;
247
+ --sapButton_Reject_Active_TextColor: #aa0808;
248
+ --sapButton_Reject_TextColor: #aa0808;
249
+ --sapButton_Reject_Selected_Background: #fff;
250
+ --sapButton_Reject_Selected_BorderColor: #f53232;
251
+ --sapButton_Reject_Selected_TextColor: #aa0808;
252
+ --sapButton_Reject_Selected_Hover_Background: #fff;
253
+ --sapButton_Reject_Selected_Hover_BorderColor: #f53232;
254
+ --sapButton_Accept_Background: #ebf5cb;
255
+ --sapButton_Accept_BorderColor: #ebf5cb;
256
+ --sapButton_Accept_Hover_Background: #fff;
257
+ --sapButton_Accept_Hover_BorderColor: #fff;
258
+ --sapButton_Accept_Hover_TextColor: #256f3a;
259
+ --sapButton_Accept_Active_Background: #fff;
260
+ --sapButton_Accept_Active_BorderColor: #30914c;
261
+ --sapButton_Accept_Active_TextColor: #256f3a;
262
+ --sapButton_Accept_TextColor: #256f3a;
263
+ --sapButton_Accept_Selected_Background: #fff;
264
+ --sapButton_Accept_Selected_BorderColor: #30914c;
265
+ --sapButton_Accept_Selected_TextColor: #256f3a;
266
+ --sapButton_Accept_Selected_Hover_Background: #fff;
267
+ --sapButton_Accept_Selected_Hover_BorderColor: #30914c;
268
+ --sapButton_Lite_Background: transparent;
269
+ --sapButton_Lite_BorderColor: transparent;
270
+ --sapButton_Lite_TextColor: #223548;
271
+ --sapButton_Lite_Hover_Background: #fff;
272
+ --sapButton_Lite_Hover_BorderColor: #fff;
273
+ --sapButton_Lite_Hover_TextColor: #223548;
274
+ --sapButton_Lite_Active_Background: #fff;
275
+ --sapButton_Lite_Active_BorderColor: #0070f2;
276
+ --sapButton_Selected_Background: #fff;
277
+ --sapButton_Selected_BorderColor: #0070f2;
278
+ --sapButton_Selected_TextColor: #0070f2;
279
+ --sapButton_Selected_Hover_Background: #fff;
280
+ --sapButton_Selected_Hover_BorderColor: #0070f2;
281
+ --sapButton_Attention_Background: #fff3b7;
282
+ --sapButton_Attention_BorderColor: #fff3b7;
283
+ --sapButton_Attention_TextColor: #b95100;
284
+ --sapButton_Attention_Hover_Background: #fff;
285
+ --sapButton_Attention_Hover_BorderColor: #fff;
286
+ --sapButton_Attention_Hover_TextColor: #b95100;
287
+ --sapButton_Attention_Active_Background: #fff;
288
+ --sapButton_Attention_Active_BorderColor: #ffa158;
289
+ --sapButton_Attention_Active_TextColor: #b95100;
290
+ --sapButton_Attention_Selected_Background: #fff;
291
+ --sapButton_Attention_Selected_BorderColor: #ffa158;
292
+ --sapButton_Attention_Selected_TextColor: #b95100;
293
+ --sapButton_Attention_Selected_Hover_Background: #fff;
294
+ --sapButton_Attention_Selected_Hover_BorderColor: #ffa158;
295
+ --sapButton_Negative_Background: #f53232;
296
+ --sapButton_Negative_BorderColor: #f53232;
297
+ --sapButton_Negative_TextColor: #fff;
298
+ --sapButton_Negative_Hover_Background: #f31010;
299
+ --sapButton_Negative_Hover_BorderColor: #f31010;
300
+ --sapButton_Negative_Hover_TextColor: #fff;
301
+ --sapButton_Negative_Active_Background: #e90b0b;
302
+ --sapButton_Negative_Active_BorderColor: #e90b0b;
303
+ --sapButton_Negative_Active_TextColor: #fff;
304
+ --sapButton_Critical_Background: #e76500;
305
+ --sapButton_Critical_BorderColor: #e76500;
306
+ --sapButton_Critical_TextColor: #fff;
307
+ --sapButton_Critical_Hover_Background: #ff760c;
308
+ --sapButton_Critical_Hover_BorderColor: #ff760c;
309
+ --sapButton_Critical_Hover_TextColor: #fff;
310
+ --sapButton_Critical_Active_Background: #ff8a2f;
311
+ --sapButton_Critical_Active_BorderColor: #ff8a2f;
312
+ --sapButton_Critical_Active_TextColor: #fff;
313
+ --sapButton_Success_Background: #30914c;
314
+ --sapButton_Success_BorderColor: #30914c;
315
+ --sapButton_Success_TextColor: #fff;
316
+ --sapButton_Success_Hover_Background: #27763e;
317
+ --sapButton_Success_Hover_BorderColor: #27763e;
318
+ --sapButton_Success_Hover_TextColor: #fff;
319
+ --sapButton_Success_Active_Background: #236b38;
320
+ --sapButton_Success_Active_BorderColor: #236b38;
321
+ --sapButton_Success_Active_TextColor: #fff;
322
+ --sapButton_Information_Background: #0070f2;
323
+ --sapButton_Information_BorderColor: #0070f2;
324
+ --sapButton_Information_TextColor: #fff;
325
+ --sapButton_Information_Hover_Background: #0064d9;
326
+ --sapButton_Information_Hover_BorderColor: #0064d9;
327
+ --sapButton_Information_Hover_TextColor: #fff;
328
+ --sapButton_Information_Active_Background: #0058bf;
329
+ --sapButton_Information_Active_BorderColor: #0058bf;
330
+ --sapButton_Neutral_Background: #6e87a0;
331
+ --sapButton_Neutral_BorderColor: #6e87a0;
332
+ --sapButton_Neutral_TextColor: #fff;
333
+ --sapButton_Neutral_Hover_Background: #5d758e;
334
+ --sapButton_Neutral_Hover_BorderColor: #5d758e;
335
+ --sapButton_Neutral_Hover_TextColor: #fff;
336
+ --sapButton_Neutral_Active_Background: #576d84;
337
+ --sapButton_Neutral_Active_BorderColor: #576d84;
338
+ --sapButton_Neutral_Active_TextColor: #fff;
339
+ --sapButton_Track_Selected_Background: #0070f2;
340
+ --sapButton_Track_Selected_TextColor: #fff;
341
+ --sapButton_Track_Background: #d6dade;
342
+ --sapButton_Track_TextColor: #223548;
343
+ --sapButton_TokenBackground: #fff;
344
+ --sapButton_TokenBorderColor: #788fa6;
345
+ --sapField_Background: #eff1f2;
346
+ --sapField_TextColor: #131e29;
347
+ --sapField_PlaceholderTextColor: #556b82;
348
+ --sapField_BorderColor: #788fa6;
349
+ --sapField_HelpBackground: #eff1f2;
350
+ --sapField_BorderWidth: .0625rem;
351
+ --sapField_BorderCornerRadius: .25rem;
352
+ --sapField_Hover_Background: #fff;
353
+ --sapField_Hover_BorderColor: #788fa6;
354
+ --sapField_Hover_HelpBackground: #fff;
355
+ --sapField_Active_BorderColor: #0070f2;
356
+ --sapField_Focus_Background: #fff;
357
+ --sapField_Focus_BorderColor: #0070f2;
358
+ --sapField_Focus_HelpBackground: #fff;
359
+ --sapField_ReadOnly_Background: #eff1f2;
360
+ --sapField_ReadOnly_BorderColor: #788fa6;
361
+ --sapField_ReadOnly_HelpBackground: #eff1f2;
362
+ --sapField_RequiredColor: #5d36ff;
363
+ --sapField_InvalidColor: #f53232;
364
+ --sapField_InvalidBackground: #ffeaf4;
365
+ --sapField_InvalidBorderWidth: .125rem;
366
+ --sapField_InvalidBorderStyle: solid;
367
+ --sapField_WarningColor: #e76500;
368
+ --sapField_WarningBackground: #fff8d6;
369
+ --sapField_WarningBorderWidth: .125rem;
370
+ --sapField_WarningBorderStyle: solid;
371
+ --sapField_SuccessColor: #30914c;
372
+ --sapField_SuccessBackground: #f5fae5;
373
+ --sapField_SuccessBorderWidth: .0625rem;
374
+ --sapField_SuccessBorderStyle: solid;
375
+ --sapField_InformationColor: #0070f2;
376
+ --sapField_InformationBackground: #e1f4ff;
377
+ --sapField_InformationBorderWidth: .125rem;
378
+ --sapField_InformationBorderStyle: solid;
379
+ --sapGroup_TitleBackground: transparent;
380
+ --sapGroup_TitleBorderColor: #d9d9d9;
381
+ --sapGroup_TitleTextColor: #223548;
382
+ --sapGroup_ContentBackground: #fff;
383
+ --sapGroup_ContentBorderColor: #d9d9d9;
384
+ --sapGroup_BorderWidth: .0625rem;
385
+ --sapGroup_BorderCornerRadius: .5rem;
386
+ --sapGroup_FooterBackground: transparent;
387
+ --sapToolbar_Background: transparent;
388
+ --sapToolbar_SeparatorColor: #d9d9d9;
389
+ --sapList_HeaderBackground: #fff;
390
+ --sapList_HeaderBorderColor: #e5e5e5;
391
+ --sapList_HeaderTextColor: #223548;
392
+ --sapList_BorderColor: #e5e5e5;
393
+ --sapList_TextColor: #223548;
394
+ --sapList_Active_TextColor: #223548;
395
+ --sapList_BorderWidth: .0625rem;
396
+ --sapList_Active_Background: #dee2e5;
397
+ --sapList_SelectionBackgroundColor: #ebf8ff;
398
+ --sapList_SelectionBorderColor: #0070f2;
399
+ --sapList_Hover_SelectionBackground: #dcf3ff;
400
+ --sapList_Background: #fff;
401
+ --sapList_Hover_Background: #eaecee;
402
+ --sapList_AlternatingBackground: #f5f6f7;
403
+ --sapList_GroupHeaderBackground: #fff;
404
+ --sapList_GroupHeaderBorderColor: #d9d9d9;
405
+ --sapList_GroupHeaderTextColor: #223548;
406
+ --sapList_FooterBackground: #fff;
407
+ --sapList_FooterTextColor: #223548;
408
+ --sapList_TableGroupHeaderBackground: #fff;
409
+ --sapList_TableGroupHeaderBorderColor: #d9d9d9;
410
+ --sapList_TableGroupHeaderTextColor: #223548;
411
+ --sapList_TableFooterBorder: #d9d9d9;
412
+ --sapList_TableFixedBorderColor: #8c8c8c;
413
+ --sapList_Active_Background: #dee2e5;
414
+ --sapScrollBar_FaceColor: #8197ac;
415
+ --sapScrollBar_TrackColor: #fff;
416
+ --sapScrollBar_BorderColor: #8197ac;
417
+ --sapScrollBar_SymbolColor: #223548;
418
+ --sapScrollBar_Dimension: .75rem;
419
+ --sapScrollBar_Hover_FaceColor: #788fa6;
420
+ --sapPageHeader_Background: #fff;
421
+ --sapPageHeader_BorderColor: #d9d9d9;
422
+ --sapPageHeader_TextColor: #223548;
423
+ --sapPageFooter_Background: #fff;
424
+ --sapPageFooter_BorderColor: #d9d9d9;
425
+ --sapPageFooter_TextColor: #223548;
426
+ --sapInfobar_Background: #dafdf5;
427
+ --sapInfobar_Hover_Background: #fff;
428
+ --sapInfobar_Active_Background: #fff;
429
+ --sapInfobar_NonInteractive_Background: #f5f6f7;
430
+ --sapInfobar_TextColor: #046c7a;
431
+ --sapObjectHeader_Background: #fff;
432
+ --sapObjectHeader_BorderColor: #d9d9d9;
433
+ --sapObjectHeader_Hover_Background: #eaecee;
434
+ --sapBlockLayer_Background: #000;
435
+ --sapTile_Background: #fff;
436
+ --sapTile_Hover_Background: #fff;
437
+ --sapTile_Active_Background: #f5f5f5;
438
+ --sapTile_BorderColor: transparent;
439
+ --sapTile_TitleTextColor: #223548;
440
+ --sapTile_TextColor: #556b82;
441
+ --sapTile_IconColor: #556b82;
442
+ --sapTile_SeparatorColor: #ccc;
443
+ --sapTile_Interactive_BorderColor: #b3b3b3;
444
+ --sapTile_OverlayBackground: rgba(255,255,255,0.96);
445
+ --sapTile_OverlayForegroundColor: #223548;
446
+ --sapAccentColor1: #f58b00;
447
+ --sapAccentColor2: #aa0808;
448
+ --sapAccentColor3: #cc00dc;
449
+ --sapAccentColor4: #a100c2;
450
+ --sapAccentColor5: #5d36ff;
451
+ --sapAccentColor6: #0057d2;
452
+ --sapAccentColor7: #046c7a;
453
+ --sapAccentColor8: #256f3a;
454
+ --sapAccentColor9: #07838f;
455
+ --sapAccentColor10: #5b738b;
456
+ --sapAccentBackgroundColor1: #fff3b8;
457
+ --sapAccentBackgroundColor2: #ffd0e7;
458
+ --sapAccentBackgroundColor3: #fff0fa;
459
+ --sapAccentBackgroundColor4: #ffdcf3;
460
+ --sapAccentBackgroundColor5: #ded3ff;
461
+ --sapAccentBackgroundColor6: #d1efff;
462
+ --sapAccentBackgroundColor7: #c2fcee;
463
+ --sapAccentBackgroundColor8: #ebf5cb;
464
+ --sapAccentBackgroundColor9: #dafdf5;
465
+ --sapAccentBackgroundColor10: #eaecee;
466
+ --sapLegend_WorkingBackground: #fff;
467
+ --sapLegend_NonWorkingBackground: #ebebeb;
468
+ --sapLegend_CurrentDateTime: #a100c2;
469
+ --sapLegendColor1: #e18409;
470
+ --sapLegendColor2: #e65151;
471
+ --sapLegendColor3: #e71376;
472
+ --sapLegendColor4: #a63030;
473
+ --sapLegendColor5: #da52b8;
474
+ --sapLegendColor6: #1d6ebf;
475
+ --sapLegendColor7: #089aab;
476
+ --sapLegendColor8: #92a35b;
477
+ --sapLegendColor9: #587b93;
478
+ --sapLegendColor10: #922075;
479
+ --sapLegendColor11: #7b5b31;
480
+ --sapLegendColor12: #c72323;
481
+ --sapLegendColor13: #c71065;
482
+ --sapLegendColor14: #967244;
483
+ --sapLegendColor15: #54559c;
484
+ --sapLegendColor16: #4d7dad;
485
+ --sapLegendColor17: #3f8188;
486
+ --sapLegendColor18: #6c832a;
487
+ --sapLegendColor19: #205992;
488
+ --sapLegendColor20: #4549c9;
489
+ --sapLegendBackgroundColor1: #fef4e6;
490
+ --sapLegendBackgroundColor2: #fce9e9;
491
+ --sapLegendBackgroundColor3: #fde8f2;
492
+ --sapLegendBackgroundColor4: #f9ebeb;
493
+ --sapLegendBackgroundColor5: #fae9f6;
494
+ --sapLegendBackgroundColor6: #e9f3fc;
495
+ --sapLegendBackgroundColor7: #e7fcfe;
496
+ --sapLegendBackgroundColor8: #f4f6ee;
497
+ --sapLegendBackgroundColor9: #eff3f6;
498
+ --sapLegendBackgroundColor10: #faeaf6;
499
+ --sapLegendBackgroundColor11: #f7f2ec;
500
+ --sapLegendBackgroundColor12: #fbe9e9;
501
+ --sapLegendBackgroundColor13: #fde8f2;
502
+ --sapLegendBackgroundColor14: #f7f2ed;
503
+ --sapLegendBackgroundColor15: #efeff6;
504
+ --sapLegendBackgroundColor16: #edf2f7;
505
+ --sapLegendBackgroundColor17: #eef6f7;
506
+ --sapLegendBackgroundColor18: #f5f9eb;
507
+ --sapLegendBackgroundColor19: #eaf2fa;
508
+ --sapLegendBackgroundColor20: #ebebf9;
509
+ --sapChart_OrderedColor_1: #1B90FF;
510
+ --sapChart_OrderedColor_2: #f25f18;
511
+ --sapChart_OrderedColor_3: #179c6f;
512
+ --sapChart_OrderedColor_4: #f62866;
513
+ --sapChart_OrderedColor_5: #873fd4;
514
+ --sapChart_OrderedColor_6: #04ACA7;
515
+ --sapChart_OrderedColor_7: #0070F2;
516
+ --sapChart_OrderedColor_8: #CC00DC;
517
+ --sapChart_OrderedColor_9: #8396A8;
518
+ --sapChart_OrderedColor_10: #f54848;
519
+ --sapChart_OrderedColor_11: #20578c;
520
+ --sapChart_Bad: #D20A0A;
521
+ --sapChart_Critical: #F58B00;
522
+ --sapChart_Good: #36A41D;
523
+ --sapChart_Neutral: #8396A8;
524
+ --sapChart_Sequence_1: #1B90FF;
525
+ --sapChart_Sequence_2: #f25f18;
526
+ --sapChart_Sequence_3: #179c6f;
527
+ --sapChart_Sequence_4: #f62866;
528
+ --sapChart_Sequence_5: #873fd4;
529
+ --sapChart_Sequence_6: #04ACA7;
530
+ --sapChart_Sequence_7: #0070F2;
531
+ --sapChart_Sequence_8: #CC00DC;
532
+ --sapChart_Sequence_9: #8396A8;
533
+ --sapChart_Sequence_10: #f54848;
534
+ --sapChart_Sequence_11: #20578c;
535
+ --sapChart_Sequence_Neutral: #8396A8;
536
+ --sapFontUrl_SAP-icons_ttf: url('../../../Base/baseLib/sap_horizon/fonts/SAP-icons.ttf');
537
+ --sapFontUrl_SAP-icons_woff: url('../../../Base/baseLib/sap_horizon/fonts/SAP-icons.woff');
538
+ --sapFontUrl_SAP-icons_woff2: url('../../../Base/baseLib/sap_horizon/fonts/SAP-icons.woff2');
539
+ --sapFontUrl_SAP-icons-TNT_ttf: url('../../../Base/baseLib/baseTheme/fonts/SAP-icons-TNT.ttf');
540
+ --sapFontUrl_SAP-icons-TNT_woff: url('../../../Base/baseLib/baseTheme/fonts/SAP-icons-TNT.woff');
541
+ --sapFontUrl_SAP-icons-TNT_woff2: url('../../../Base/baseLib/baseTheme/fonts/SAP-icons-TNT.woff2');
542
+ --sapFontUrl_SAP-icons-Business-Suite_ttf: url('../../../Base/baseLib/baseTheme/fonts/BusinessSuiteInAppSymbols.ttf');
543
+ --sapFontUrl_SAP-icons-Business-Suite_woff: url('../../../Base/baseLib/baseTheme/fonts/BusinessSuiteInAppSymbols.woff');
544
+ --sapFontUrl_SAP-icons-Business-Suite_woff2: url('../../../Base/baseLib/baseTheme/fonts/BusinessSuiteInAppSymbols.woff2');
545
+ --sapFontUrl_72_Regular_woff2: url('../../../Base/baseLib/baseTheme/fonts/72-Regular.woff2');
546
+ --sapFontUrl_72_Regular_woff: url('../../../Base/baseLib/baseTheme/fonts/72-Regular.woff');
547
+ --sapFontUrl_72_Bold_woff2: url('../../../Base/baseLib/baseTheme/fonts/72-Bold.woff2');
548
+ --sapFontUrl_72_Bold_woff: url('../../../Base/baseLib/baseTheme/fonts/72-Bold.woff');
549
+ --sapFontUrl_72_Light_woff2: url('../../../Base/baseLib/baseTheme/fonts/72-Light.woff2');
550
+ --sapFontUrl_72_Light_woff: url('../../../Base/baseLib/baseTheme/fonts/72-Light.woff');
551
+ --sapFontUrl_72_Regular_full_woff2: url('../../../Base/baseLib/baseTheme/fonts/72-Regular-full.woff2');
552
+ --sapFontUrl_72_Regular_full_woff: url('../../../Base/baseLib/baseTheme/fonts/72-Regular-full.woff');
553
+ --sapFontUrl_72_Bold_full_woff2: url('../../../Base/baseLib/baseTheme/fonts/72-Bold-full.woff2');
554
+ --sapFontUrl_72_Bold_full_woff: url('../../../Base/baseLib/baseTheme/fonts/72-Bold-full.woff');
555
+ --sapFontUrl_72_Light_full_woff2: url('../../../Base/baseLib/baseTheme/fonts/72-Light-full.woff2');
556
+ --sapFontUrl_72_Light_full_woff: url('../../../Base/baseLib/baseTheme/fonts/72-Light-full.woff');
557
+ --sapFontUrl_72_Black_woff2: url('../../../Base/baseLib/baseTheme/fonts/72-Black.woff2');
558
+ --sapFontUrl_72_Black_woff: url('../../../Base/baseLib/baseTheme/fonts/72-Black.woff');
559
+ --sapFontUrl_72_BoldItalic_woff2: url('../../../Base/baseLib/baseTheme/fonts/72-BoldItalic.woff2');
560
+ --sapFontUrl_72_BoldItalic_woff: url('../../../Base/baseLib/baseTheme/fonts/72-BoldItalic.woff');
561
+ --sapFontUrl_72_Condensed_woff2: url('../../../Base/baseLib/baseTheme/fonts/72-Condensed.woff2');
562
+ --sapFontUrl_72_Condensed_woff: url('../../../Base/baseLib/baseTheme/fonts/72-Condensed.woff');
563
+ --sapFontUrl_72_CondensedBold_woff2: url('../../../Base/baseLib/baseTheme/fonts/72-CondensedBold.woff2');
564
+ --sapFontUrl_72_CondensedBold_woff: url('../../../Base/baseLib/baseTheme/fonts/72-CondensedBold.woff');
565
+ --sapFontUrl_72_Italic_woff2: url('../../../Base/baseLib/baseTheme/fonts/72-Italic.woff2');
566
+ --sapFontUrl_72_Italic_woff: url('../../../Base/baseLib/baseTheme/fonts/72-Italic.woff');
567
+ --sapFontUrl_72Mono_Regular_woff2: url('../../../Base/baseLib/baseTheme/fonts/72Mono-Regular.woff2');
568
+ --sapFontUrl_72Mono_Regular_woff: url('../../../Base/baseLib/baseTheme/fonts/72Mono-Regular.woff');
569
+ --sapFontUrl_72Mono_Regular_full_woff2: url('../../../Base/baseLib/baseTheme/fonts/72Mono-Regular-full.woff2');
570
+ --sapFontUrl_72Mono_Regular_full_woff: url('../../../Base/baseLib/baseTheme/fonts/72Mono-Regular-full.woff');
571
+ --sapFontUrl_72Mono_Bold_woff2: url('../../../Base/baseLib/baseTheme/fonts/72Mono-Bold.woff2');
572
+ --sapFontUrl_72Mono_Bold_woff: url('../../../Base/baseLib/baseTheme/fonts/72Mono-Bold.woff');
573
+ --sapFontUrl_72Mono_Bold_full_woff2: url('../../../Base/baseLib/baseTheme/fonts/72Mono-Bold-full.woff2');
574
+ --sapFontUrl_72Mono_Bold_full_woff: url('../../../Base/baseLib/baseTheme/fonts/72Mono-Bold-full.woff');
575
+ }
576
+ .background-image--sapCompanyLogo {
577
+ background-image: var(--sapCompanyLogo);
578
+ }
579
+ .background-image--sapBackgroundImage {
580
+ background-image: var(--sapBackgroundImage);
581
+ }
582
+ .background-image--sapShell_BackgroundImage {
583
+ background-image: var(--sapShell_BackgroundImage);
584
+ }
@@ -0,0 +1 @@
1
+ @import "./css_variables.css";
package/hash.txt ADDED
@@ -0,0 +1 @@
1
+ rZnyMTmoc2CFM82C+7zGHcw3GGY=
@@ -0,0 +1,27 @@
1
+ const fs = require('fs');
2
+ const path = require("path");
3
+ const glob = require("glob");
4
+ const beautify = require("json-beautify");
5
+
6
+ const vars = new Set();
7
+
8
+ const processFile = file => {
9
+ const content = fs.readFileSync(file);
10
+ const matches = `${content}`.match(/var\(--sap[\-_A-Za-z0-9]+\)/g);
11
+ matches && matches.forEach(match => {
12
+ const cssVar = match.match(/--sap[\-_A-Za-z0-9]+/)[0];
13
+ vars.add(cssVar);
14
+ });
15
+ };
16
+
17
+ // Main
18
+ glob.sync(path.join(__dirname, "../../../main/src/themes/**/*.css")).forEach(file => processFile(file));
19
+
20
+ // Fiori
21
+ glob.sync(path.join(__dirname, "../../../fiori/src/themes/**/*.css")).forEach(file => processFile(file));
22
+
23
+ const collator = new Intl.Collator(undefined, {numeric: true, sensitivity: 'base'});
24
+ const result = Array.from(vars).sort(collator.compare); // natural sort
25
+
26
+ fs.writeFileSync(path.join(__dirname, "../../css-vars-usage.json"), beautify(result, null, 2, 100));
27
+ console.log("CSS Vars usage report generated.");
@@ -0,0 +1,38 @@
1
+ const resolve = require("resolve");
2
+ const assets = require('@ui5/webcomponents-tools/assets-meta.js');
3
+
4
+ const jsonImportsScript = resolve.sync("@ui5/webcomponents-tools/lib/generate-json-imports/themes.js");
5
+ const generateReportScript = resolve.sync("@ui5/webcomponents-theming/lib/generate-css-vars-usage-report/index.js");
6
+
7
+ const allThemes = assets.themes.all;
8
+ const buildThemesCommands = {};
9
+ const buildThemesCommandsNames = allThemes.map(theme => `build.themes.${theme}`).join(" ");
10
+
11
+ buildThemesCommands["prepare"] = allThemes.map(theme => `mkdirp dist/themes/${theme}`).join(" && ");
12
+ allThemes.forEach(theme => {
13
+ buildThemesCommands[theme] = `nps build.themes.copy_${theme}_vars build.themes.copy_${theme}_bundle`;
14
+ buildThemesCommands[`copy_${theme}_vars`] = `copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/${theme.replace("sap_horizon_exp", "sap_horizon")}/css_variables.css" dist/themes/${theme}/`;
15
+ buildThemesCommands[`copy_${theme}_bundle`] = `copy-and-watch "src/themes/${theme}/parameters-bundle.css" dist/themes/${theme}/`;
16
+ });
17
+
18
+ const generateHash = resolve.sync("@ui5/webcomponents-tools/lib/hash/generate.js");
19
+ const hashIsUpToDate = resolve.sync("@ui5/webcomponents-tools/lib/hash/upToDate.js");
20
+ const UP_TO_DATE = `node "${hashIsUpToDate}" dist/ hash.txt && echo "Up to date."`;
21
+
22
+ module.exports = {
23
+ scripts: {
24
+ clean: "rimraf dist",
25
+ build: {
26
+ default: `${UP_TO_DATE} || nps clean build.src build.themes build.postcss build.jsonImports generateReport hash`,
27
+ src: `copy-and-watch "src/**/*.js" dist/`,
28
+ themes: {
29
+ default: `nps build.themes.prepare ${buildThemesCommandsNames}`,
30
+ ...buildThemesCommands
31
+ },
32
+ postcss: "postcss dist/**/parameters-bundle.css --config config/postcss.themes --base dist/ --dir dist/css/",
33
+ jsonImports: `node "${jsonImportsScript}" dist/generated/assets/themes dist/generated/json-imports`,
34
+ },
35
+ generateReport: `node "${generateReportScript}"`,
36
+ hash: `node ${generateHash} dist/ hash.txt`,
37
+ },
38
+ };