@@ -9,7 +9,6 @@ import { ContentDensity } from '@ui5/webcomponents-react/lib/ContentDensity';
9
9
import { ThemeProvider } from '@ui5/webcomponents-react/lib/ThemeProvider' ;
10
10
import { Themes } from '@ui5/webcomponents-react/lib/Themes' ;
11
11
import '@ui5/webcomponents/dist/Assets' ;
12
- import '@ui5/webcomponents-react/dist/Assets' ;
13
12
import '@ui5/webcomponents/dist/features/InputElementsFormSupport' ;
14
13
import React , { useEffect } from 'react' ;
15
14
import 'react-app-polyfill/ie11' ;
@@ -68,28 +67,10 @@ export const globalTypes = {
68
67
description : 'Fiori Theme' ,
69
68
defaultValue : Themes . sap_fiori_3 ,
70
69
toolbar : {
71
- items : [
72
- {
73
- value : Themes . sap_fiori_3 ,
74
- title : Themes . sap_fiori_3
75
- } ,
76
- {
77
- value : Themes . sap_fiori_3_dark ,
78
- title : Themes . sap_fiori_3_dark
79
- } ,
80
- {
81
- value : Themes . sap_belize ,
82
- title : Themes . sap_belize
83
- } ,
84
- {
85
- value : Themes . sap_belize_hcb ,
86
- title : Themes . sap_belize_hcb
87
- } ,
88
- {
89
- value : Themes . sap_belize_hcw ,
90
- title : Themes . sap_belize_hcw
91
- }
92
- ]
70
+ items : Object . keys ( Themes ) . map ( ( themeKey ) => ( {
71
+ value : themeKey ,
72
+ title : themeKey
73
+ } ) )
93
74
}
94
75
} ,
95
76
contentDensity : {
0 commit comments