@ui5/webcomponents-theming 1.2.6 → 1.4.0

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 (55) hide show
  1. package/CHANGELOG.md +16 -3
  2. package/config/postcss.themes/postcss.config.js +1 -1
  3. package/css-vars-usage.json +140 -5
  4. package/dist/css/themes/sap_belize/parameters-bundle.css +1 -1
  5. package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  6. package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  7. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  8. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  9. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  10. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  11. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
  12. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  13. package/dist/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  14. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  15. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  16. package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -1
  17. package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -1
  18. package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -1
  19. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  20. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  21. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
  22. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
  23. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  24. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  25. package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -1
  26. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  27. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  28. package/dist/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
  29. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
  30. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
  31. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  32. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  33. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  34. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  35. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  36. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
  37. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -1
  38. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
  39. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
  40. package/dist/themes/sap_belize/css_variables.css +6 -4
  41. package/dist/themes/sap_belize_hcb/css_variables.css +6 -4
  42. package/dist/themes/sap_belize_hcw/css_variables.css +6 -4
  43. package/dist/themes/sap_fiori_3/css_variables.css +6 -4
  44. package/dist/themes/sap_fiori_3_dark/css_variables.css +6 -4
  45. package/dist/themes/sap_fiori_3_hcb/css_variables.css +6 -4
  46. package/dist/themes/sap_fiori_3_hcw/css_variables.css +6 -4
  47. package/dist/themes/sap_horizon/css_variables.css +56 -54
  48. package/dist/themes/sap_horizon_dark/css_variables.css +17 -15
  49. package/dist/themes/sap_horizon_exp/css_variables.css +56 -54
  50. package/dist/themes/sap_horizon_hcb/css_variables.css +6 -4
  51. package/dist/themes/sap_horizon_hcw/css_variables.css +6 -4
  52. package/lib/generate-css-vars-usage-report/index.js +16 -12
  53. package/package-scripts.js +1 -6
  54. package/package.json +6 -8
  55. package/hash.txt +0 -1
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Copyright (c) 2012-2020 SAP SE or an SAP affiliate company. All rights reserved.
3
3
  *
4
- * Theming Engine 1.68.3
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", "Engine": {"Name": "theming-engine", "Version": "1.68.3"}, "Version": { "Build": "11.1.36.20220314143804", "Source": "11.1.36"}}
4
+ * Theming Engine 1.69.2
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", "Engine": {"Name": "theming-engine", "Version": "1.69.2"}, "Version": { "Build": "11.1.38.20220405122918", "Source": "11.1.38"}}
6
6
  */
7
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", "Engine": {"Name": "theming-engine", "Version": "1.68.3"}, "Version": { "Build": "11.1.36.20220314143804", "Source": "11.1.36"}}');}
9
- :root{--sapThemeMetaData-Base-baseLib:{"Path": "Base.baseLib.sap_horizon.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["baseTheme"], "Tags": ["Fiori_3","LightColorScheme"], "FallbackThemeId": "sap_fiori_3", "Engine": {"Name": "theming-engine", "Version": "1.68.3"}, "Version": { "Build": "11.1.36.20220314143804", "Source": "11.1.36"}};}
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", "Engine": {"Name": "theming-engine", "Version": "1.69.2"}, "Version": { "Build": "11.1.38.20220405122918", "Source": "11.1.38"}}');}
9
+ :root{--sapThemeMetaData-Base-baseLib:{"Path": "Base.baseLib.sap_horizon.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["baseTheme"], "Tags": ["Fiori_3","LightColorScheme"], "FallbackThemeId": "sap_fiori_3", "Engine": {"Name": "theming-engine", "Version": "1.69.2"}, "Version": { "Build": "11.1.38.20220405122918", "Source": "11.1.38"}};}
10
10
  :root {
11
11
  --sapBrandColor: #0070f2;
12
12
  --sapHighlightColor: #0070f2;
@@ -29,13 +29,13 @@
29
29
  --sapFontHeader4Size: 1.25rem;
30
30
  --sapFontHeader5Size: 1rem;
31
31
  --sapFontHeader6Size: .875rem;
32
- --sapTextColor: #223548;
33
- --sapLinkColor: #0064d9;
34
- --sapLink_Hover_Color: #005fce;
32
+ --sapTextColor: #1d2d3e;
33
+ --sapLinkColor: #0070f2;
34
+ --sapLink_Hover_Color: #0064d9;
35
35
  --sapLink_Active_Color: #0064d9;
36
36
  --sapLink_Visited_Color: #0064d9;
37
- --sapLink_InvertedColor: #a6cfff;
38
- --sapLink_SubtleColor: #223548;
37
+ --sapLink_InvertedColor: #bfddff;
38
+ --sapLink_SubtleColor: #1d2d3e;
39
39
  --sapCompanyLogo: none;
40
40
  --sapBackgroundImage: none;
41
41
  --sapBackgroundImageOpacity: 1.0;
@@ -43,7 +43,7 @@
43
43
  --sapSelectedColor: #0070f2;
44
44
  --sapActiveColor: #dee2e5;
45
45
  --sapHighlightTextColor: #fff;
46
- --sapTitleColor: #223548;
46
+ --sapTitleColor: #1d2d3e;
47
47
  --sapNegativeColor: #aa0808;
48
48
  --sapCriticalColor: #e76500;
49
49
  --sapPositiveColor: #256f3a;
@@ -58,7 +58,7 @@
58
58
  --sapPositiveTextColor: #256f3a;
59
59
  --sapCriticalTextColor: #b95100;
60
60
  --sapInformativeTextColor: #0070f2;
61
- --sapNeutralTextColor: #223548;
61
+ --sapNeutralTextColor: #1d2d3e;
62
62
  --sapNeutralBorderColor: #788fa6;
63
63
  --sapErrorColor: #aa0808;
64
64
  --sapErrorBorderColor: #f53232;
@@ -85,7 +85,7 @@
85
85
  --sapIndicationColor_2_Hover_Background: #920707;
86
86
  --sapIndicationColor_2_Active_Background: #790606;
87
87
  --sapIndicationColor_2_TextColor: #fff;
88
- --sapIndicationColor_3: #e76500;
88
+ --sapIndicationColor_3: #b95100;
89
89
  --sapIndicationColor_3_Background: #e76500;
90
90
  --sapIndicationColor_3_BorderColor: #e76500;
91
91
  --sapIndicationColor_3_Hover_Background: #d85e00;
@@ -131,7 +131,7 @@
131
131
  --sapElement_Condensed_Height: 1.375rem;
132
132
  --sapContent_LineHeight: 1.5;
133
133
  --sapContent_IconHeight: 1rem;
134
- --sapContent_IconColor: #223548;
134
+ --sapContent_IconColor: #1d2d3e;
135
135
  --sapContent_ContrastIconColor: #fff;
136
136
  --sapContent_NonInteractiveIconColor: #758ca4;
137
137
  --sapContent_MarkerIconColor: #5d36ff;
@@ -142,7 +142,7 @@
142
142
  --sapContent_ImagePlaceholderForegroundColor: #5b738b;
143
143
  --sapContent_RatedColor: #d27700;
144
144
  --sapContent_UnratedColor: #758ca4;
145
- --sapContent_BusyColor: #223548;
145
+ --sapContent_BusyColor: #1d2d3e;
146
146
  --sapContent_FocusColor: #0070f2;
147
147
  --sapContent_FocusStyle: solid;
148
148
  --sapContent_FocusWidth: .125rem;
@@ -169,13 +169,13 @@
169
169
  --sapContent_MonospaceFontFamily: "72Mono", "72Monofull", lucida console, monospace;
170
170
  --sapContent_MonospaceBoldFontFamily: "72Mono-Bold", "72Mono-Boldfull", lucida console, monospace;
171
171
  --sapContent_IconFontFamily: "SAP-icons";
172
- --sapContent_DisabledTextColor: rgba(34,53,72,0.6);
172
+ --sapContent_DisabledTextColor: rgba(29,45,62,0.6);
173
173
  --sapContent_DisabledOpacity: 0.4;
174
174
  --sapContent_ContrastTextThreshold: 0.65;
175
175
  --sapContent_ContrastTextColor: #fff;
176
176
  --sapContent_ForegroundColor: #efefef;
177
177
  --sapContent_ForegroundBorderColor: #758ca4;
178
- --sapContent_ForegroundTextColor: #223548;
178
+ --sapContent_ForegroundTextColor: #1d2d3e;
179
179
  --sapContent_BadgeBackground: #aa0808;
180
180
  --sapContent_BadgeTextColor: #fff;
181
181
  --sapContent_Placeholderloading_Background: #ccc;
@@ -212,11 +212,11 @@
212
212
  --sapShell_BackgroundImageOpacity: 1.0;
213
213
  --sapShell_BackgroundImageRepeat: false;
214
214
  --sapShell_BorderColor: #fff;
215
- --sapShell_TextColor: #223548;
215
+ --sapShell_TextColor: #1d2d3e;
216
216
  --sapShell_InteractiveBackground: #eff1f2;
217
- --sapShell_InteractiveTextColor: #223548;
217
+ --sapShell_InteractiveTextColor: #1d2d3e;
218
218
  --sapShell_InteractiveBorderColor: #556b81;
219
- --sapShell_GroupTitleTextColor: #223548;
219
+ --sapShell_GroupTitleTextColor: #1d2d3e;
220
220
  --sapShell_GroupTitleTextShadow: 0 0 .125rem #fff;
221
221
  --sapShell_Hover_Background: #fff;
222
222
  --sapShell_Active_Background: #fff;
@@ -226,9 +226,9 @@
226
226
  --sapShell_Selected_Hover_Background: #fff;
227
227
  --sapShell_Favicon: none;
228
228
  --sapShell_Navigation_Background: #fff;
229
- --sapShell_Navigation_SelectedColor: #223548;
230
- --sapShell_Navigation_Selected_TextColor: #223548;
231
- --sapShell_Navigation_TextColor: #223548;
229
+ --sapShell_Navigation_SelectedColor: #0070f2;
230
+ --sapShell_Navigation_Selected_TextColor: #0070f2;
231
+ --sapShell_Navigation_TextColor: #1d2d3e;
232
232
  --sapShell_Navigation_Hover_Background: #fff;
233
233
  --sapShell_Navigation_Active_Background: #fff;
234
234
  --sapShell_Navigation_Active_TextColor: #0070f2;
@@ -237,7 +237,7 @@
237
237
  --sapShell_CriticalColor: #b95100;
238
238
  --sapShell_PositiveColor: #256f3a;
239
239
  --sapShell_InformativeColor: #0070f2;
240
- --sapShell_NeutralColor: #223548;
240
+ --sapShell_NeutralColor: #1d2d3e;
241
241
  --sapAvatar_1_Background: #fff3b8;
242
242
  --sapAvatar_1_BorderColor: #fff3b8;
243
243
  --sapAvatar_1_TextColor: #a45d00;
@@ -272,11 +272,11 @@
272
272
  --sapButton_BorderCornerRadius: .5rem;
273
273
  --sapButton_Background: #eaecee;
274
274
  --sapButton_BorderColor: #eaecee;
275
- --sapButton_TextColor: #223548;
275
+ --sapButton_TextColor: #1d2d3e;
276
276
  --sapButton_Hover_Background: #fff;
277
277
  --sapButton_Hover_BorderColor: #fff;
278
- --sapButton_Hover_TextColor: #223548;
279
- --sapButton_IconColor: #223548;
278
+ --sapButton_Hover_TextColor: #1d2d3e;
279
+ --sapButton_IconColor: #1d2d3e;
280
280
  --sapButton_Active_Background: #fff;
281
281
  --sapButton_Active_BorderColor: #0070f2;
282
282
  --sapButton_Active_TextColor: #0070f2;
@@ -403,7 +403,7 @@
403
403
  --sapButton_Track_Selected_Hover_BorderColor: #0064d9;
404
404
  --sapButton_Handle_Background: #fff;
405
405
  --sapButton_Handle_BorderColor: #fff;
406
- --sapButton_Handle_TextColor: #223548;
406
+ --sapButton_Handle_TextColor: #1d2d3e;
407
407
  --sapButton_Handle_Hover_Background: #fff;
408
408
  --sapButton_Handle_Hover_BorderColor: rgba(255,255,255,0.5);
409
409
  --sapButton_Handle_Selected_Background: #fff;
@@ -440,7 +440,7 @@
440
440
  --sapField_BorderColor: #556b81;
441
441
  --sapField_HelpBackground: #eff1f2;
442
442
  --sapField_BorderWidth: .0625rem;
443
- --sapField_BorderStyle: solid;
443
+ --sapField_BorderStyle: none;
444
444
  --sapField_BorderCornerRadius: .25rem;
445
445
  --sapField_Hover_Background: #fff;
446
446
  --sapField_Hover_BackgroundStyle: 0 100% / 100% .0625rem no-repeat linear-gradient(0deg, #556b81, #556b81) border-box;
@@ -451,32 +451,34 @@
451
451
  --sapField_Focus_BorderColor: #0070f2;
452
452
  --sapField_Focus_HelpBackground: #fff;
453
453
  --sapField_ReadOnly_Background: transparent;
454
+ --sapField_ReadOnly_BackgroundStyle: 0 100% / 0.375rem .0625rem repeat-x linear-gradient(90deg, #556b81 0, #556b81 0.25rem, transparent 0.25rem) border-box;
454
455
  --sapField_ReadOnly_BorderColor: #556b81;
456
+ --sapField_ReadOnly_BorderStyle: none;
455
457
  --sapField_ReadOnly_HelpBackground: transparent;
456
458
  --sapField_RequiredColor: #ba066c;
457
459
  --sapField_InvalidColor: #f53232;
458
460
  --sapField_InvalidBackground: #ffeaf4;
459
461
  --sapField_InvalidBackgroundStyle: 0 100% / 100% .125rem no-repeat linear-gradient(0deg, #f53232, #f53232) border-box;
460
462
  --sapField_InvalidBorderWidth: .125rem;
461
- --sapField_InvalidBorderStyle: solid;
463
+ --sapField_InvalidBorderStyle: none;
462
464
  --sapField_WarningColor: #e76500;
463
465
  --sapField_WarningBackground: #fff8d6;
464
466
  --sapField_WarningBackgroundStyle: 0 100% / 100% .125rem no-repeat linear-gradient(0deg, #e76500, #e76500) border-box;
465
467
  --sapField_WarningBorderWidth: .125rem;
466
- --sapField_WarningBorderStyle: solid;
468
+ --sapField_WarningBorderStyle: none;
467
469
  --sapField_SuccessColor: #30914c;
468
470
  --sapField_SuccessBackground: #f5fae5;
469
471
  --sapField_SuccessBackgroundStyle: 0 100% / 100% .0625rem no-repeat linear-gradient(0deg, #30914c, #30914c) border-box;
470
472
  --sapField_SuccessBorderWidth: .0625rem;
471
- --sapField_SuccessBorderStyle: solid;
473
+ --sapField_SuccessBorderStyle: none;
472
474
  --sapField_InformationColor: #0070f2;
473
475
  --sapField_InformationBackground: #e1f4ff;
474
476
  --sapField_InformationBackgroundStyle: 0 100% / 100% .125rem no-repeat linear-gradient(0deg, #0070f2, #0070f2) border-box;
475
477
  --sapField_InformationBorderWidth: .125rem;
476
- --sapField_InformationBorderStyle: solid;
478
+ --sapField_InformationBorderStyle: none;
477
479
  --sapGroup_TitleBackground: #fff;
478
480
  --sapGroup_TitleBorderColor: #a8b2bd;
479
- --sapGroup_TitleTextColor: #223548;
481
+ --sapGroup_TitleTextColor: #1d2d3e;
480
482
  --sapGroup_Title_FontSize: 1rem;
481
483
  --sapGroup_ContentBackground: #fff;
482
484
  --sapGroup_ContentBorderColor: #d9d9d9;
@@ -488,10 +490,10 @@
488
490
  --sapToolbar_SeparatorColor: #d9d9d9;
489
491
  --sapList_HeaderBackground: #fff;
490
492
  --sapList_HeaderBorderColor: #a8b2bd;
491
- --sapList_HeaderTextColor: #223548;
493
+ --sapList_HeaderTextColor: #1d2d3e;
492
494
  --sapList_BorderColor: #e5e5e5;
493
- --sapList_TextColor: #223548;
494
- --sapList_Active_TextColor: #223548;
495
+ --sapList_TextColor: #1d2d3e;
496
+ --sapList_Active_TextColor: #1d2d3e;
495
497
  --sapList_BorderWidth: .0625rem;
496
498
  --sapList_Active_Background: #dee2e5;
497
499
  --sapList_SelectionBackgroundColor: #ebf8ff;
@@ -502,12 +504,12 @@
502
504
  --sapList_AlternatingBackground: #f5f6f7;
503
505
  --sapList_GroupHeaderBackground: #fff;
504
506
  --sapList_GroupHeaderBorderColor: #a8b2bd;
505
- --sapList_GroupHeaderTextColor: #223548;
507
+ --sapList_GroupHeaderTextColor: #1d2d3e;
506
508
  --sapList_FooterBackground: #fff;
507
- --sapList_FooterTextColor: #223548;
509
+ --sapList_FooterTextColor: #1d2d3e;
508
510
  --sapList_TableGroupHeaderBackground: #eff1f2;
509
511
  --sapList_TableGroupHeaderBorderColor: #a8b2bd;
510
- --sapList_TableGroupHeaderTextColor: #223548;
512
+ --sapList_TableGroupHeaderTextColor: #1d2d3e;
511
513
  --sapList_TableFooterBorder: #a8b2bd;
512
514
  --sapList_TableFixedBorderColor: #8c8c8c;
513
515
  --sapMessage_ErrorBorderColor: #ff8ec4;
@@ -516,39 +518,39 @@
516
518
  --sapMessage_InformationBorderColor: #7bcfff;
517
519
  --sapProgress_Background: #d5dadd;
518
520
  --sapProgress_BorderColor: #d5dadd;
519
- --sapProgress_TextColor: #223548;
521
+ --sapProgress_TextColor: #1d2d3e;
520
522
  --sapProgress_FontSize: .875rem;
521
523
  --sapProgress_NegativeBackground: #ffdbec;
522
524
  --sapProgress_NegativeBorderColor: #ffdbec;
523
- --sapProgress_NegativeTextColor: #223548;
525
+ --sapProgress_NegativeTextColor: #1d2d3e;
524
526
  --sapProgress_CriticalBackground: #fff4bd;
525
527
  --sapProgress_CriticalBorderColor: #fff4bd;
526
- --sapProgress_CriticalTextColor: #223548;
528
+ --sapProgress_CriticalTextColor: #1d2d3e;
527
529
  --sapProgress_PositiveBackground: #e5f2ba;
528
530
  --sapProgress_PositiveBorderColor: #e5f2ba;
529
- --sapProgress_PositiveTextColor: #223548;
531
+ --sapProgress_PositiveTextColor: #1d2d3e;
530
532
  --sapProgress_InformationBackground: #cdedff;
531
533
  --sapProgress_InformationBorderColor: #cdedff;
532
- --sapProgress_InformationTextColor: #223548;
534
+ --sapProgress_InformationTextColor: #1d2d3e;
533
535
  --sapProgress_Value_Background: #788fa6;
534
536
  --sapProgress_Value_BorderColor: #d5dadd;
535
537
  --sapProgress_Value_TextColor: #788fa6;
536
538
  --sapProgress_Value_NegativeBackground: #f53232;
537
- --sapProgress_Value_NegativeBorderColor: #ffdbec;
539
+ --sapProgress_Value_NegativeBorderColor: #f53232;
538
540
  --sapProgress_Value_NegativeTextColor: #f53232;
539
541
  --sapProgress_Value_CriticalBackground: #e76500;
540
- --sapProgress_Value_CriticalBorderColor: #fff4bd;
542
+ --sapProgress_Value_CriticalBorderColor: #e76500;
541
543
  --sapProgress_Value_CriticalTextColor: #e76500;
542
544
  --sapProgress_Value_PositiveBackground: #30914c;
543
- --sapProgress_Value_PositiveBorderColor: #e5f2ba;
545
+ --sapProgress_Value_PositiveBorderColor: #30914c;
544
546
  --sapProgress_Value_PositiveTextColor: #30914c;
545
547
  --sapProgress_Value_InformationBackground: #0070f2;
546
- --sapProgress_Value_InformationBorderColor: #cdedff;
548
+ --sapProgress_Value_InformationBorderColor: #0070f2;
547
549
  --sapProgress_Value_InformationTextColor: #0070f2;
548
550
  --sapScrollBar_FaceColor: #7b91a8;
549
551
  --sapScrollBar_TrackColor: #fff;
550
552
  --sapScrollBar_BorderColor: #7b91a8;
551
- --sapScrollBar_SymbolColor: #223548;
553
+ --sapScrollBar_SymbolColor: #1d2d3e;
552
554
  --sapScrollBar_Dimension: .75rem;
553
555
  --sapScrollBar_Hover_FaceColor: #6f87a0;
554
556
  --sapSlider_Background: #d5dadd;
@@ -566,10 +568,10 @@
566
568
  --sapSlider_Active_RangeHandleBackground: transparent;
567
569
  --sapPageHeader_Background: #fff;
568
570
  --sapPageHeader_BorderColor: #d9d9d9;
569
- --sapPageHeader_TextColor: #223548;
571
+ --sapPageHeader_TextColor: #1d2d3e;
570
572
  --sapPageFooter_Background: #fff;
571
573
  --sapPageFooter_BorderColor: #d9d9d9;
572
- --sapPageFooter_TextColor: #223548;
574
+ --sapPageFooter_TextColor: #1d2d3e;
573
575
  --sapInfobar_Background: #c2fcee;
574
576
  --sapInfobar_Hover_Background: #fff;
575
577
  --sapInfobar_Active_Background: #fff;
@@ -578,7 +580,7 @@
578
580
  --sapObjectHeader_Background: #fff;
579
581
  --sapObjectHeader_BorderColor: #d9d9d9;
580
582
  --sapObjectHeader_Hover_Background: #eaecee;
581
- --sapObjectHeader_Title_TextColor: #223548;
583
+ --sapObjectHeader_Title_TextColor: #1d2d3e;
582
584
  --sapObjectHeader_Title_FontSize: 2rem;
583
585
  --sapObjectHeader_Title_SnappedFontSize: 1.25rem;
584
586
  --sapObjectHeader_Title_FontFamily: "72Black", "72", "72full", Arial, Helvetica, sans-serif;
@@ -589,13 +591,13 @@
589
591
  --sapTile_Active_Background: #f5f5f5;
590
592
  --sapTile_BorderColor: transparent;
591
593
  --sapTile_BorderCornerRadius: 1rem;
592
- --sapTile_TitleTextColor: #223548;
594
+ --sapTile_TitleTextColor: #1d2d3e;
593
595
  --sapTile_TextColor: #556b82;
594
596
  --sapTile_IconColor: #556b82;
595
597
  --sapTile_SeparatorColor: #ccc;
596
598
  --sapTile_Interactive_BorderColor: #b3b3b3;
597
599
  --sapTile_OverlayBackground: rgba(255,255,255,0.96);
598
- --sapTile_OverlayForegroundColor: #223548;
600
+ --sapTile_OverlayForegroundColor: #1d2d3e;
599
601
  --sapAccentColor1: #d27700;
600
602
  --sapAccentColor2: #aa0808;
601
603
  --sapAccentColor3: #ba066c;
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Copyright (c) 2012-2020 SAP SE or an SAP affiliate company. All rights reserved.
3
3
  *
4
- * Theming Engine 1.68.3
5
- * data:{"Path": "Base.baseLib.sap_horizon_hcb.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["sap_horizon","baseTheme"], "Tags": ["Fiori_3","HighContrast","DarkColorScheme"], "FallbackThemeId": "sap_horizon", "Engine": {"Name": "theming-engine", "Version": "1.68.3"}, "Version": { "Build": "11.1.36.20220314143804", "Source": "11.1.36"}}
4
+ * Theming Engine 1.69.2
5
+ * data:{"Path": "Base.baseLib.sap_horizon_hcb.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["sap_horizon","baseTheme"], "Tags": ["Fiori_3","HighContrast","DarkColorScheme"], "FallbackThemeId": "sap_horizon", "Engine": {"Name": "theming-engine", "Version": "1.69.2"}, "Version": { "Build": "11.1.38.20220405122918", "Source": "11.1.38"}}
6
6
  */
7
7
 
8
- .sapThemeMetaData-Base-baseLib{background-image: url('data:text/plain;utf-8,{"Path": "Base.baseLib.sap_horizon_hcb.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["sap_horizon","baseTheme"], "Tags": ["Fiori_3","HighContrast","DarkColorScheme"], "FallbackThemeId": "sap_horizon", "Engine": {"Name": "theming-engine", "Version": "1.68.3"}, "Version": { "Build": "11.1.36.20220314143804", "Source": "11.1.36"}}');}
9
- :root{--sapThemeMetaData-Base-baseLib:{"Path": "Base.baseLib.sap_horizon_hcb.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["sap_horizon","baseTheme"], "Tags": ["Fiori_3","HighContrast","DarkColorScheme"], "FallbackThemeId": "sap_horizon", "Engine": {"Name": "theming-engine", "Version": "1.68.3"}, "Version": { "Build": "11.1.36.20220314143804", "Source": "11.1.36"}};}
8
+ .sapThemeMetaData-Base-baseLib{background-image: url('data:text/plain;utf-8,{"Path": "Base.baseLib.sap_horizon_hcb.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["sap_horizon","baseTheme"], "Tags": ["Fiori_3","HighContrast","DarkColorScheme"], "FallbackThemeId": "sap_horizon", "Engine": {"Name": "theming-engine", "Version": "1.69.2"}, "Version": { "Build": "11.1.38.20220405122918", "Source": "11.1.38"}}');}
9
+ :root{--sapThemeMetaData-Base-baseLib:{"Path": "Base.baseLib.sap_horizon_hcb.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["sap_horizon","baseTheme"], "Tags": ["Fiori_3","HighContrast","DarkColorScheme"], "FallbackThemeId": "sap_horizon", "Engine": {"Name": "theming-engine", "Version": "1.69.2"}, "Version": { "Build": "11.1.38.20220405122918", "Source": "11.1.38"}};}
10
10
  :root {
11
11
  --sapBrandColor: #795100;
12
12
  --sapHighlightColor: #795100;
@@ -451,7 +451,9 @@
451
451
  --sapField_Focus_BorderColor: #fff;
452
452
  --sapField_Focus_HelpBackground: #000;
453
453
  --sapField_ReadOnly_Background: #585858;
454
+ --sapField_ReadOnly_BackgroundStyle: none;
454
455
  --sapField_ReadOnly_BorderColor: #fff;
456
+ --sapField_ReadOnly_BorderStyle: solid;
455
457
  --sapField_ReadOnly_HelpBackground: #585858;
456
458
  --sapField_RequiredColor: #fff;
457
459
  --sapField_InvalidColor: #fff;
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * Copyright (c) 2012-2020 SAP SE or an SAP affiliate company. All rights reserved.
3
3
  *
4
- * Theming Engine 1.68.3
5
- * data:{"Path": "Base.baseLib.sap_horizon_hcw.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["sap_horizon","baseTheme"], "Tags": ["Fiori_3","HighContrast","LightColorScheme"], "FallbackThemeId": "sap_horizon", "Engine": {"Name": "theming-engine", "Version": "1.68.3"}, "Version": { "Build": "11.1.36.20220314143804", "Source": "11.1.36"}}
4
+ * Theming Engine 1.69.2
5
+ * data:{"Path": "Base.baseLib.sap_horizon_hcw.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["sap_horizon","baseTheme"], "Tags": ["Fiori_3","HighContrast","LightColorScheme"], "FallbackThemeId": "sap_horizon", "Engine": {"Name": "theming-engine", "Version": "1.69.2"}, "Version": { "Build": "11.1.38.20220405122918", "Source": "11.1.38"}}
6
6
  */
7
7
 
8
- .sapThemeMetaData-Base-baseLib{background-image: url('data:text/plain;utf-8,{"Path": "Base.baseLib.sap_horizon_hcw.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["sap_horizon","baseTheme"], "Tags": ["Fiori_3","HighContrast","LightColorScheme"], "FallbackThemeId": "sap_horizon", "Engine": {"Name": "theming-engine", "Version": "1.68.3"}, "Version": { "Build": "11.1.36.20220314143804", "Source": "11.1.36"}}');}
9
- :root{--sapThemeMetaData-Base-baseLib:{"Path": "Base.baseLib.sap_horizon_hcw.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["sap_horizon","baseTheme"], "Tags": ["Fiori_3","HighContrast","LightColorScheme"], "FallbackThemeId": "sap_horizon", "Engine": {"Name": "theming-engine", "Version": "1.68.3"}, "Version": { "Build": "11.1.36.20220314143804", "Source": "11.1.36"}};}
8
+ .sapThemeMetaData-Base-baseLib{background-image: url('data:text/plain;utf-8,{"Path": "Base.baseLib.sap_horizon_hcw.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["sap_horizon","baseTheme"], "Tags": ["Fiori_3","HighContrast","LightColorScheme"], "FallbackThemeId": "sap_horizon", "Engine": {"Name": "theming-engine", "Version": "1.69.2"}, "Version": { "Build": "11.1.38.20220405122918", "Source": "11.1.38"}}');}
9
+ :root{--sapThemeMetaData-Base-baseLib:{"Path": "Base.baseLib.sap_horizon_hcw.css_variables", "PathPattern": "/%frameworkId%/%libId%/%themeId%/%fileId%.css", "Extends": ["sap_horizon","baseTheme"], "Tags": ["Fiori_3","HighContrast","LightColorScheme"], "FallbackThemeId": "sap_horizon", "Engine": {"Name": "theming-engine", "Version": "1.69.2"}, "Version": { "Build": "11.1.38.20220405122918", "Source": "11.1.38"}};}
10
10
  :root {
11
11
  --sapBrandColor: #e97624;
12
12
  --sapHighlightColor: #e97624;
@@ -451,7 +451,9 @@
451
451
  --sapField_Focus_BorderColor: #000;
452
452
  --sapField_Focus_HelpBackground: #fff;
453
453
  --sapField_ReadOnly_Background: #b3b3b3;
454
+ --sapField_ReadOnly_BackgroundStyle: none;
454
455
  --sapField_ReadOnly_BorderColor: #000;
456
+ --sapField_ReadOnly_BorderStyle: solid;
455
457
  --sapField_ReadOnly_HelpBackground: #b3b3b3;
456
458
  --sapField_RequiredColor: #000;
457
459
  --sapField_InvalidColor: #000;
@@ -1,12 +1,11 @@
1
- const fs = require('fs');
1
+ const fs = require('fs').promises;
2
2
  const path = require("path");
3
- const glob = require("glob");
4
3
  const beautify = require("json-beautify");
5
4
 
6
5
  const vars = new Set();
7
6
 
8
- const processFile = file => {
9
- const content = fs.readFileSync(file);
7
+ const processFile = async file => {
8
+ const content = await fs.readFile(file);
10
9
  const matches = `${content}`.match(/var\(--sap[\-_A-Za-z0-9]+\)/g);
11
10
  matches && matches.forEach(match => {
12
11
  const cssVar = match.match(/--sap[\-_A-Za-z0-9]+/)[0];
@@ -14,14 +13,19 @@ const processFile = file => {
14
13
  });
15
14
  };
16
15
 
17
- // Main
18
- glob.sync(path.join(__dirname, "../../../main/src/themes/**/*.css")).forEach(file => processFile(file));
16
+ const generate = async () => {
17
+ const { globby } = await import("globby");
19
18
 
20
- // Fiori
21
- glob.sync(path.join(__dirname, "../../../fiori/src/themes/**/*.css")).forEach(file => processFile(file));
19
+ const mainFiles = await globby(path.join(__dirname, "../../../main/src/themes/**/*.css"));
20
+ const fioriFiles = await globby(path.join(__dirname, "../../../fiori/src/themes/**/*.css"));
21
+ await Promise.all([...mainFiles.map(processFile), ...fioriFiles.map(processFile)]);
22
22
 
23
- const collator = new Intl.Collator(undefined, {numeric: true, sensitivity: 'base'});
24
- const result = Array.from(vars).sort(collator.compare); // natural sort
23
+ const collator = new Intl.Collator(undefined, {numeric: true, sensitivity: 'base'});
24
+ const result = Array.from(vars).sort(collator.compare); // natural sort
25
25
 
26
- fs.writeFileSync(path.join(__dirname, "../../css-vars-usage.json"), beautify(result, null, 2, 100));
27
- console.log("CSS Vars usage report generated.");
26
+ return fs.writeFile(path.join(__dirname, "../../css-vars-usage.json"), beautify(result, null, 2, 100));
27
+ }
28
+
29
+ generate().then(() => {
30
+ console.log("CSS Vars usage report generated.");
31
+ });
@@ -15,15 +15,11 @@ allThemes.forEach(theme => {
15
15
  buildThemesCommands[`copy_${theme}_bundle`] = `copy-and-watch "src/themes/${theme}/parameters-bundle.css" dist/themes/${theme}/`;
16
16
  });
17
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
18
  module.exports = {
23
19
  scripts: {
24
20
  clean: "rimraf dist",
25
21
  build: {
26
- default: `${UP_TO_DATE} || nps clean build.src build.themes build.postcss build.jsonImports generateReport hash`,
22
+ default: `nps clean build.src build.themes build.postcss build.jsonImports generateReport`,
27
23
  src: `copy-and-watch "src/**/*.js" dist/`,
28
24
  themes: {
29
25
  default: `nps build.themes.prepare ${buildThemesCommandsNames}`,
@@ -33,6 +29,5 @@ module.exports = {
33
29
  jsonImports: `node "${jsonImportsScript}" dist/generated/assets/themes dist/generated/json-imports`,
34
30
  },
35
31
  generateReport: `node "${generateReportScript}"`,
36
- hash: `node ${generateHash} dist/ hash.txt`,
37
32
  },
38
33
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-theming",
3
- "version": "1.2.6",
3
+ "version": "1.4.0",
4
4
  "description": "UI5 Web Components: webcomponents.theming",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -20,7 +20,6 @@
20
20
  "build": "nps build",
21
21
  "start": "nps start",
22
22
  "verify": "node ./lib/verify-vars/index.js",
23
- "hash": "nps hash",
24
23
  "prepublishOnly": "npm run clean && npm run build"
25
24
  },
26
25
  "repository": {
@@ -29,18 +28,17 @@
29
28
  "directory": "packages/theming"
30
29
  },
31
30
  "dependencies": {
32
- "@sap-theming/theming-base-content": "11.1.36",
33
- "@ui5/webcomponents-base": "1.2.6"
31
+ "@sap-theming/theming-base-content": "11.1.38",
32
+ "@ui5/webcomponents-base": "1.4.0"
34
33
  },
35
34
  "devDependencies": {
36
- "@ui5/webcomponents-tools": "1.2.6",
37
- "chromedriver": "99.0.0",
35
+ "@ui5/webcomponents-tools": "1.4.0",
36
+ "chromedriver": "101.0.0",
38
37
  "cssnano": "^4.1.11",
39
- "glob": "^7.1.6",
38
+ "globby": "^13.1.1",
40
39
  "json-beautify": "^1.1.1",
41
40
  "nps": "^5.10.0",
42
41
  "postcss": "^8.4.5",
43
- "postcss-combine-duplicated-selectors": "^10.0.3",
44
42
  "postcss-import": "^14.0.2",
45
43
  "resolve": "^1.20.0"
46
44
  },
package/hash.txt DELETED
@@ -1 +0,0 @@
1
- e9nvhaIrmTEv/i+UBIn4RvhZfio=