@opengeoweb/theme 2.1.0 → 2.1.4

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.
@@ -1,4 +1,4 @@
1
- import { createMuiTheme, ThemeProvider as ThemeProvider$1, CssBaseline } from '@material-ui/core';
1
+ import { createTheme as createTheme$1, ThemeProvider as ThemeProvider$1, CssBaseline, StyledEngineProvider } from '@mui/material';
2
2
  import * as React from 'react';
3
3
 
4
4
  function _defineProperty(obj, key, value) {
@@ -122,9 +122,9 @@ var createShadows = function createShadows(elevations) {
122
122
  };
123
123
  var BORDER_RADIUS = 3;
124
124
  var createTheme = function createTheme(paletteType, geowebColors, shadows) {
125
- return createMuiTheme({
125
+ return createTheme$1({
126
126
  palette: {
127
- type: paletteType,
127
+ mode: paletteType,
128
128
  secondary: {
129
129
  main: geowebColors.typographyAndIcons.iconLinkActive
130
130
  },
@@ -145,193 +145,304 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
145
145
  fontFamily: ['Roboto', 'Helvetica', 'Arial', 'sans-serif'].join(',')
146
146
  },
147
147
  shadows: shadows,
148
- overrides: {
148
+ components: {
149
149
  MuiCssBaseline: {
150
- '@global': {
151
- body: {
152
- fontSmoothing: 'auto'
153
- }
154
- }
150
+ styleOverrides: "\n html {\n -webkit-font-smoothing: auto;\n }\n "
155
151
  },
156
152
  MuiMenuItem: {
157
- root: {
158
- fontSize: '0.875rem',
159
- letterSpacing: '0.25px',
160
- ':not(:last-child)&:after': {
161
- content: '""',
162
- position: 'absolute',
163
- width: '100%',
164
- height: 1,
165
- background: geowebColors.greys.accessible,
166
- bottom: 0,
167
- left: 0,
168
- opacity: 0.5
169
- },
170
- '&.Mui-selected': {
171
- background: 'none',
172
- boxShadow: "inset 4px 0px 0px 0px ".concat(geowebColors.typographyAndIcons.iconLinkActive)
153
+ styleOverrides: {
154
+ root: {
155
+ fontSize: '0.875rem',
156
+ letterSpacing: '0.25px',
157
+ ':not(:last-child)&:after': {
158
+ content: '""',
159
+ position: 'absolute',
160
+ width: '100%',
161
+ height: 1,
162
+ background: geowebColors.greys.accessible,
163
+ bottom: 0,
164
+ left: 0,
165
+ opacity: 0.5
166
+ },
167
+ '&.Mui-selected': {
168
+ background: 'none',
169
+ boxShadow: "inset 4px 0px 0px 0px ".concat(geowebColors.typographyAndIcons.iconLinkActive)
170
+ }
173
171
  }
174
172
  }
175
173
  },
176
174
  MuiRadio: {
177
- root: {
178
- color: geowebColors.typographyAndIcons.iconLinkActive
175
+ styleOverrides: {
176
+ root: {
177
+ color: geowebColors.typographyAndIcons.iconLinkActive,
178
+ '&.Mui-disabled': {
179
+ color: "".concat(geowebColors.typographyAndIcons.iconLinkDisabled, "!important")
180
+ },
181
+ '&.Mui-checked': {
182
+ color: geowebColors.typographyAndIcons.iconLinkActive
183
+ }
184
+ }
185
+ }
186
+ },
187
+ MuiCheckbox: {
188
+ styleOverrides: {
189
+ root: {
190
+ color: geowebColors.typographyAndIcons.iconLinkActive,
191
+ '&.Mui-disabled': {
192
+ color: "".concat(geowebColors.typographyAndIcons.iconLinkDisabled, "!important")
193
+ },
194
+ '&.Mui-checked': {
195
+ color: geowebColors.typographyAndIcons.iconLinkActive
196
+ }
197
+ }
179
198
  }
180
199
  },
181
200
  MuiPaper: {
182
- outlined: {
183
- borderColor: geowebColors.cards.cardContainerBorder
201
+ styleOverrides: {
202
+ root: {
203
+ backgroundImage: 'unset'
204
+ },
205
+ outlined: {
206
+ borderColor: geowebColors.cards.cardContainerBorder
207
+ }
184
208
  }
185
209
  },
186
210
  MuiCard: {
187
- root: {
188
- backgroundColor: geowebColors.cards.cardContainer
211
+ styleOverrides: {
212
+ root: {
213
+ backgroundColor: geowebColors.cards.cardContainer
214
+ }
189
215
  }
190
216
  },
191
217
  MuiSlider: {
192
- root: {
193
- color: geowebColors.typographyAndIcons.iconLinkActive
218
+ styleOverrides: {
219
+ root: {
220
+ color: geowebColors.typographyAndIcons.iconLinkActive
221
+ }
194
222
  }
195
223
  },
196
224
  MuiTable: {
197
- root: {
198
- borderSpacing: '0 0.25rem',
199
- borderCollapse: 'separate'
225
+ styleOverrides: {
226
+ root: {
227
+ borderSpacing: '0 0.25rem',
228
+ borderCollapse: 'separate'
229
+ }
200
230
  }
201
231
  },
202
232
  MuiTableRow: {
203
- head: {
204
- '&:hover': {
205
- boxShadow: shadows[0]
206
- }
207
- },
208
- root: {
209
- transition: 'box-shadow 100ms ease-out',
210
- boxShadow: shadows[0],
211
- borderRadius: BORDER_RADIUS,
212
- '&:hover': {
213
- boxShadow: shadows[1]
233
+ styleOverrides: {
234
+ head: {
235
+ '&:hover': {
236
+ boxShadow: shadows[0]
237
+ }
214
238
  },
215
- position: 'relative'
239
+ root: {
240
+ transition: 'box-shadow 100ms ease-out',
241
+ boxShadow: shadows[0],
242
+ borderRadius: BORDER_RADIUS,
243
+ '&:hover': {
244
+ boxShadow: shadows[1]
245
+ },
246
+ position: 'relative'
247
+ }
216
248
  }
217
249
  },
218
250
  MuiTableCell: {
219
- head: {
220
- borderBottom: 'none',
221
- fontSize: '0.875rem',
222
- fontWeight: 400
223
- },
224
- body: {
225
- padding: 12,
226
- fontWeight: 500,
227
- backgroundColor: geowebColors.background.surface,
228
- borderStyle: 'solid',
229
- borderColor: 'transparent',
230
- borderWidth: 1,
231
- borderTopColor: geowebColors.cards.cardContainerBorder,
232
- borderBottomColor: geowebColors.cards.cardContainerBorder,
233
- '&:first-child': {
234
- borderLeftColor: geowebColors.cards.cardContainerBorder,
235
- borderRadius: "".concat(BORDER_RADIUS, "px 0px 0px ").concat(BORDER_RADIUS, "px")
251
+ styleOverrides: {
252
+ head: {
253
+ borderBottom: 'none',
254
+ fontSize: '0.875rem',
255
+ fontWeight: 400
236
256
  },
237
- '&:last-child': {
238
- borderRightColor: geowebColors.cards.cardContainerBorder,
239
- borderRadius: "0px ".concat(BORDER_RADIUS, "px ").concat(BORDER_RADIUS, "px 0px")
257
+ body: {
258
+ padding: 12,
259
+ fontWeight: 500,
260
+ backgroundColor: geowebColors.background.surface,
261
+ borderStyle: 'solid',
262
+ borderColor: 'transparent',
263
+ borderWidth: 1,
264
+ borderTopColor: geowebColors.cards.cardContainerBorder,
265
+ borderBottomColor: geowebColors.cards.cardContainerBorder,
266
+ '&:first-child': {
267
+ borderLeftColor: geowebColors.cards.cardContainerBorder,
268
+ borderRadius: "".concat(BORDER_RADIUS, "px 0px 0px ").concat(BORDER_RADIUS, "px")
269
+ },
270
+ '&:last-child': {
271
+ borderRightColor: geowebColors.cards.cardContainerBorder,
272
+ borderRadius: "0px ".concat(BORDER_RADIUS, "px ").concat(BORDER_RADIUS, "px 0px")
273
+ }
240
274
  }
241
275
  }
242
276
  },
243
277
  MuiTabs: {
244
- root: {
245
- position: 'relative',
246
- '&:after': {
247
- content: '""',
248
- position: 'absolute',
249
- bottom: 0,
250
- height: 1,
251
- width: '100%',
252
- zIndex: 0,
253
- backgroundColor: hex2rgba(geowebColors.greys.accessible, 0.2)
278
+ styleOverrides: {
279
+ root: {
280
+ position: 'relative',
281
+ '&:after': {
282
+ content: '""',
283
+ position: 'absolute',
284
+ bottom: 0,
285
+ height: 1,
286
+ width: '100%',
287
+ zIndex: 0,
288
+ backgroundColor: hex2rgba(geowebColors.greys.accessible, 0.2)
289
+ }
290
+ },
291
+ indicator: {
292
+ zIndex: 1,
293
+ backgroundColor: geowebColors.typographyAndIcons.iconLinkActive
254
294
  }
255
- },
256
- indicator: {
257
- zIndex: 1,
258
- backgroundColor: geowebColors.typographyAndIcons.iconLinkActive
259
295
  }
260
296
  },
261
297
  MuiTab: {
262
- root: {
263
- textTransform: 'initial',
264
- '&.Mui-selected': {
265
- color: geowebColors.typographyAndIcons.iconLinkActive
266
- },
267
- '&:hover': {
268
- opacity: 1,
269
- color: geowebColors.typographyAndIcons.iconLinkActive,
270
- backgroundColor: geowebColors.tab.mouseOver.rgba
298
+ styleOverrides: {
299
+ root: {
300
+ textTransform: 'initial',
301
+ '&.Mui-selected': {
302
+ color: geowebColors.typographyAndIcons.iconLinkActive
303
+ },
304
+ '&:hover': {
305
+ opacity: 1,
306
+ color: geowebColors.typographyAndIcons.iconLinkActive,
307
+ backgroundColor: geowebColors.tab.mouseOver.rgba
308
+ }
271
309
  }
272
310
  }
273
311
  },
274
312
  MuiListItem: {
275
- root: {
276
- color: geowebColors.typographyAndIcons.text
277
- },
278
- divider: {
279
- borderBottomColor: hex2rgba(geowebColors.greys.accessible, 0.2)
313
+ styleOverrides: {
314
+ root: {
315
+ color: geowebColors.typographyAndIcons.text,
316
+ fontSize: '14px'
317
+ },
318
+ divider: {
319
+ borderBottomColor: hex2rgba(geowebColors.greys.accessible, 0.2)
320
+ }
280
321
  }
281
322
  },
282
323
  MuiBackdrop: {
283
- root: {
284
- backgroundColor: geowebColors.backdrops.black.rgba
324
+ styleOverrides: {
325
+ root: {
326
+ backgroundColor: geowebColors.backdrops.black.rgba
327
+ }
285
328
  }
286
329
  },
287
330
  MuiTooltip: {
288
- tooltip: {
289
- backgroundColor: geowebColors.tooltips.tooltipContainer.rgba,
290
- color: geowebColors.tooltips.tooltipText.color,
291
- padding: '8px 12px',
292
- fontSize: 16,
293
- fontWeight: 400,
294
- fontStretch: 'normal',
295
- fontStyle: 'normal',
296
- letterSpacing: 0.44,
297
- lineHeight: 1.56
331
+ styleOverrides: {
332
+ tooltip: {
333
+ backgroundColor: geowebColors.tooltips.tooltipContainer.rgba,
334
+ color: geowebColors.tooltips.tooltipText.color,
335
+ padding: '8px 12px',
336
+ fontSize: 16,
337
+ fontWeight: 400,
338
+ fontStretch: 'normal',
339
+ fontStyle: 'normal',
340
+ letterSpacing: 0.44,
341
+ lineHeight: 1.56
342
+ }
298
343
  }
299
344
  },
300
345
  MuiLink: {
301
- root: {
302
- color: geowebColors.typographyAndIcons.textLinkActive
346
+ styleOverrides: {
347
+ root: {
348
+ color: geowebColors.typographyAndIcons.textLinkActive,
349
+ textDecoration: 'none',
350
+ '&:hover': {
351
+ textDecoration: 'underline',
352
+ textDecorationColor: geowebColors.typographyAndIcons.textLinkActive
353
+ }
354
+ }
303
355
  }
304
356
  },
305
357
  // TODO: implement correct theming values https://gitlab.com/opengeoweb/opengeoweb/-/issues/1369
306
358
  MuiAlert: {
307
- standardError: {
308
- border: '1px solid #c00000',
309
- borderRadius: '0px',
310
- backgroundColor: '#fff0ea'
311
- },
312
- standardWarning: {
313
- border: '1px solid #ffa800',
314
- borderRadius: '0px',
315
- backgroundColor: '#fff8eb'
316
- },
317
- standardInfo: {
318
- border: '1px solid #0062e6',
319
- borderRadius: '0px',
320
- backgroundColor: '#eaf3ff'
321
- },
322
- standardSuccess: {
323
- border: '1px solid #72bb23',
324
- borderRadius: '0px',
325
- backgroundColor: '#fcffeb'
326
- },
327
- action: {
328
- color: '#0075a9'
329
- },
330
- message: {
331
- fontSize: '14px',
332
- lineHeight: 1.43,
333
- letterSpacing: '0.25px',
334
- color: '#051039'
359
+ styleOverrides: {
360
+ standardError: {
361
+ border: '1px solid #c00000',
362
+ borderRadius: '0px',
363
+ backgroundColor: '#fff0ea'
364
+ },
365
+ standardWarning: {
366
+ border: '1px solid #ffa800',
367
+ borderRadius: '0px',
368
+ backgroundColor: '#fff8eb'
369
+ },
370
+ standardInfo: {
371
+ border: '1px solid #0062e6',
372
+ borderRadius: '0px',
373
+ backgroundColor: '#eaf3ff'
374
+ },
375
+ standardSuccess: {
376
+ border: '1px solid #72bb23',
377
+ borderRadius: '0px',
378
+ backgroundColor: '#fcffeb'
379
+ },
380
+ action: {
381
+ color: '#0075a9'
382
+ },
383
+ message: {
384
+ fontSize: '14px',
385
+ lineHeight: 1.43,
386
+ letterSpacing: '0.25px',
387
+ color: '#051039'
388
+ }
389
+ }
390
+ },
391
+ MuiFilledInput: {
392
+ styleOverrides: {
393
+ root: {
394
+ backgroundColor: geowebColors.textInputField["default"].rgba,
395
+ '&.Mui-focused': {
396
+ backgroundColor: geowebColors.textInputField.active.rgba
397
+ },
398
+ '&.Mui-disabled': {
399
+ backgroundColor: geowebColors.textInputField.disabled.rgba
400
+ }
401
+ },
402
+ underline: {
403
+ '&:after': {
404
+ borderBottom: 'transparent'
405
+ },
406
+ '&.Mui-disabled:before': {
407
+ borderBottomStyle: 'solid'
408
+ }
409
+ }
410
+ }
411
+ },
412
+ MuiFormLabel: {
413
+ styleOverrides: {
414
+ root: {
415
+ color: geowebColors.captions.captionStatus.color,
416
+ opacity: geowebColors.captions.captionStatus.opacity,
417
+ '&.Mui-focused': {
418
+ color: geowebColors.captions.captionInformation.color,
419
+ opacity: geowebColors.captions.captionInformation.opacity
420
+ },
421
+ '&.Mui-error': {
422
+ color: geowebColors.captions.captionError.color,
423
+ opacity: geowebColors.captions.captionError.opacity
424
+ },
425
+ '&.Mui-disabled': {
426
+ color: geowebColors.captions.captionDisabled.color,
427
+ opacity: geowebColors.captions.captionDisabled.opacity
428
+ }
429
+ }
430
+ }
431
+ },
432
+ MuiFormHelperText: {
433
+ styleOverrides: {
434
+ root: {
435
+ color: geowebColors.captions.captionStatus.color,
436
+ opacity: geowebColors.captions.captionStatus.opacity,
437
+ '&.Mui-error': {
438
+ color: geowebColors.captions.captionError.color,
439
+ opacity: geowebColors.captions.captionError.opacity
440
+ },
441
+ '&.Mui-disabled': {
442
+ color: geowebColors.captions.captionDisabled.color,
443
+ opacity: geowebColors.captions.captionDisabled.opacity
444
+ }
445
+ }
335
446
  }
336
447
  }
337
448
  }
@@ -628,7 +739,7 @@ var lightTheme = createTheme('light', parseColors(colors$1), createShadows(eleva
628
739
  * */
629
740
 
630
741
  var geowebColors = Object.assign({}, colors$1);
631
- var GWTheme = createMuiTheme({
742
+ var GWTheme = createTheme$1({
632
743
  palette: {
633
744
  secondary: {
634
745
  main: '#0075a9'
@@ -697,138 +808,208 @@ var GWTheme = createMuiTheme({
697
808
  color: '0075a9'
698
809
  }
699
810
  },
700
- overrides: {
811
+ components: {
701
812
  MuiTooltip: {
702
- tooltip: {
703
- borderRadius: '2px',
704
- fontSize: '16px',
705
- fontWeight: 'normal',
706
- padding: '10px',
707
- backgroundColor: '#232323'
813
+ styleOverrides: {
814
+ tooltip: {
815
+ borderRadius: '2px',
816
+ fontSize: '16px',
817
+ fontWeight: 'normal',
818
+ padding: '10px',
819
+ backgroundColor: '#232323'
820
+ }
708
821
  }
709
822
  },
710
823
  MuiIconButton: {
711
- root: {
712
- color: '#0075a9'
824
+ styleOverrides: {
825
+ root: {
826
+ color: '#0075a9'
827
+ }
713
828
  }
714
829
  },
715
830
  MuiCheckbox: {
716
- root: {
717
- color: '#0075a9'
831
+ styleOverrides: {
832
+ root: {
833
+ '&.Mui-disabled': {
834
+ color: '#CCCCCC!important'
835
+ },
836
+ '&.Mui-checked': {
837
+ color: '#0075a9'
838
+ }
839
+ }
718
840
  }
719
841
  },
720
842
  MuiSelect: {
721
- icon: {
722
- color: '#0075a9'
723
- },
724
- select: {
725
- '&:focus': {
726
- backgroundColor: 'rgba(0, 117, 169, 0.05)'
843
+ styleOverrides: {
844
+ icon: {
845
+ color: '#0075a9'
846
+ },
847
+ select: {
848
+ '&:focus': {
849
+ backgroundColor: 'rgba(0, 117, 169, 0.05)'
850
+ }
727
851
  }
728
852
  }
729
853
  },
730
854
  MuiAlert: {
731
- standardError: {
732
- border: '1px solid #c00000',
733
- borderRadius: '0px',
734
- backgroundColor: '#fff0ea'
735
- },
736
- standardWarning: {
737
- border: '1px solid #ffa800',
738
- borderRadius: '0px',
739
- backgroundColor: '#fff8eb'
740
- },
741
- standardInfo: {
742
- border: '1px solid #0062e6',
743
- borderRadius: '0px',
744
- backgroundColor: '#eaf3ff'
745
- },
746
- standardSuccess: {
747
- border: '1px solid #72bb23',
748
- borderRadius: '0px',
749
- backgroundColor: '#fcffeb'
750
- },
751
- action: {
752
- color: '#0075a9'
753
- },
754
- message: {
755
- fontSize: '14px',
756
- lineHeight: 1.43,
757
- letterSpacing: '0.25px',
758
- color: '#051039'
855
+ styleOverrides: {
856
+ standardError: {
857
+ border: '1px solid #c00000',
858
+ borderRadius: '0px',
859
+ backgroundColor: '#fff0ea'
860
+ },
861
+ standardWarning: {
862
+ border: '1px solid #ffa800',
863
+ borderRadius: '0px',
864
+ backgroundColor: '#fff8eb'
865
+ },
866
+ standardInfo: {
867
+ border: '1px solid #0062e6',
868
+ borderRadius: '0px',
869
+ backgroundColor: '#eaf3ff'
870
+ },
871
+ standardSuccess: {
872
+ border: '1px solid #72bb23',
873
+ borderRadius: '0px',
874
+ backgroundColor: '#fcffeb'
875
+ },
876
+ action: {
877
+ color: '#0075a9'
878
+ },
879
+ message: {
880
+ fontSize: '14px',
881
+ lineHeight: 1.43,
882
+ letterSpacing: '0.25px',
883
+ color: '#051039'
884
+ }
759
885
  }
760
886
  },
761
887
  MuiTabs: {
762
- root: {
763
- backgroundColor: '#ffffff',
764
- minHeight: '30px'
765
- },
766
- scrollButtons: {
767
- width: '20px'
888
+ styleOverrides: {
889
+ root: {
890
+ backgroundColor: '#ffffff',
891
+ minHeight: '30px'
892
+ },
893
+ scrollButtons: {
894
+ width: '20px'
895
+ }
768
896
  }
769
897
  },
770
898
  MuiTab: {
771
- root: {
772
- minHeight: '30px',
773
- textTransform: 'none',
774
- minWidth: '76px',
775
- '@media (min-width: 600px)': {
776
- minWidth: '76px'
899
+ styleOverrides: {
900
+ root: {
901
+ minHeight: '30px',
902
+ textTransform: 'none',
903
+ minWidth: '76px',
904
+ '@media (min-width: 600px)': {
905
+ minWidth: '76px'
906
+ }
907
+ },
908
+ labelIcon: {
909
+ minHeight: '30px'
777
910
  }
778
- },
779
- labelIcon: {
780
- minHeight: '30px'
781
911
  }
782
912
  },
783
913
  MuiListItem: {
784
- root: {
785
- '&$selected': {
786
- backgroundColor: 'rgba(0, 117, 169, 0.15)',
787
- borderLeft: '4px solid #0075a9',
914
+ styleOverrides: {
915
+ root: {
916
+ '&$selected': {
917
+ backgroundColor: 'rgba(0, 117, 169, 0.15)',
918
+ borderLeft: '4px solid #0075a9',
919
+ '&:hover': {
920
+ backgroundColor: 'rgba(0, 117, 169, 0.10)'
921
+ }
922
+ }
923
+ },
924
+ button: {
788
925
  '&:hover': {
789
- backgroundColor: 'rgba(0, 117, 169, 0.10)'
926
+ backgroundColor: 'rgba(0, 117, 169, 0.15)'
790
927
  }
791
928
  }
792
- },
793
- button: {
794
- '&:hover': {
795
- backgroundColor: 'rgba(0, 117, 169, 0.15)'
929
+ }
930
+ },
931
+ MuiMenuItem: {
932
+ styleOverrides: {
933
+ root: {
934
+ '&.Mui-selected': {
935
+ backgroundColor: 'rgba(0, 117, 169, 0.15)',
936
+ borderLeft: '4px solid #0075a9',
937
+ '&:hover': {
938
+ backgroundColor: 'rgba(0, 117, 169, 0.10)'
939
+ }
940
+ },
941
+ '&:hover': {
942
+ backgroundColor: 'rgba(0, 117, 169, 0.15)'
943
+ }
796
944
  }
797
945
  }
798
946
  },
799
947
  MuiFormLabel: {
800
- root: {
801
- color: 'rgba(5, 16, 57, 0.7)',
802
- '&$focused': {
803
- color: '#0075a9'
948
+ styleOverrides: {
949
+ root: {
950
+ color: 'rgba(5, 16, 57, 0.7)',
951
+ '&.Mui-focused': {
952
+ color: '#0075a9'
953
+ },
954
+ '&.Mui-error': {
955
+ color: '#d32f2f!important'
956
+ }
804
957
  }
805
958
  }
806
959
  },
807
960
  MuiOutlinedInput: {
808
- root: {
809
- '&$focused $notchedOutline': {
810
- borderColor: '#0075a9'
961
+ styleOverrides: {
962
+ root: {
963
+ '&$focused $notchedOutline': {
964
+ borderColor: '#0075a9'
965
+ }
811
966
  }
812
967
  }
813
968
  },
814
969
  MuiFilledInput: {
815
- root: {
816
- backgroundColor: 'rgba(0, 117, 169, 0.05)',
817
- color: '#051039',
818
- '&$disabled': {
819
- backgroundColor: 'transparent'
970
+ styleOverrides: {
971
+ root: {
972
+ backgroundColor: 'rgba(0, 117, 169, 0.05)',
973
+ color: '#051039',
974
+ '&.Mui-disabled': {
975
+ backgroundColor: 'white'
976
+ },
977
+ '&.Mui-focused': {
978
+ backgroundColor: 'rgba(0,0,0,0.09)'
979
+ }
980
+ },
981
+ underline: {
982
+ '&.Mui-disabled:before': {
983
+ borderBottomStyle: 'none'
984
+ }
820
985
  }
821
- },
822
- underline: {
823
- '&$disabled:before': {
824
- borderBottomStyle: 'none'
986
+ }
987
+ },
988
+ MuiRadio: {
989
+ styleOverrides: {
990
+ root: {
991
+ '&.Mui-disabled': {
992
+ color: '#CCCCCC!important'
993
+ },
994
+ '&.Mui-checked': {
995
+ color: '#0075a9'
996
+ }
825
997
  }
826
998
  }
827
999
  },
828
1000
  MuiCardContent: {
829
- root: {
830
- '&:last-child': {
831
- paddingBottom: 0
1001
+ styleOverrides: {
1002
+ root: {
1003
+ '&:last-child': {
1004
+ paddingBottom: 0
1005
+ }
1006
+ }
1007
+ }
1008
+ },
1009
+ MuiDialog: {
1010
+ styleOverrides: {
1011
+ paperWidthLg: {
1012
+ maxWidth: '1280px'
832
1013
  }
833
1014
  }
834
1015
  }
@@ -899,7 +1080,7 @@ var colors = {
899
1080
  fill: '#186DFF'
900
1081
  },
901
1082
  flatMouseover: {
902
- fill: '#242424'
1083
+ fill: '#494949'
903
1084
  },
904
1085
  focusDefault: {
905
1086
  outline: 'solid 2px #419cfe'
@@ -1177,10 +1358,12 @@ var ThemeWrapper = function ThemeWrapper(_ref2) {
1177
1358
  theme = _ref2$theme === void 0 ? lightTheme : _ref2$theme,
1178
1359
  _ref2$disableCssBasel = _ref2.disableCssBaseline,
1179
1360
  disableCssBaseline = _ref2$disableCssBasel === void 0 ? false : _ref2$disableCssBasel;
1180
- return /*#__PURE__*/React.createElement(ThemeProvider, {
1361
+ return /*#__PURE__*/React.createElement(StyledEngineProvider, {
1362
+ injectFirst: true
1363
+ }, /*#__PURE__*/React.createElement(ThemeProvider, {
1181
1364
  theme: theme,
1182
1365
  disableCssBaseline: disableCssBaseline
1183
- }, children);
1366
+ }, children));
1184
1367
  }; // Wrapper for storybook stories with GWTheme. Will be deprecated
1185
1368
 
1186
1369
  var ThemeWrapperOldTheme = function ThemeWrapperOldTheme(_a) {