diy-template-components 1.1.10 → 1.1.11

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.
package/build/index.es.js CHANGED
@@ -361,11 +361,13 @@ const buttonStyles = createUseStyles(theme => ({
361
361
  textAlign: 'center',
362
362
  color: ({
363
363
  disabled
364
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.CtaTextColor,
364
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
365
365
  background: ({
366
366
  disabled
367
- } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.colors?.ctaColor,
368
- border: 'none',
367
+ } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
368
+ border: ({
369
+ disabled
370
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
369
371
  textDecoration: 'none',
370
372
  cursor: ({
371
373
  disabled
@@ -387,13 +389,13 @@ const buttonStyles = createUseStyles(theme => ({
387
389
  lineHeight: '18px',
388
390
  color: ({
389
391
  disabled
390
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
392
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
391
393
  background: ({
392
394
  disabled
393
- } = {}) => disabled ? colorMixer(theme?.palette?.parimar?.default, 0.5).color : theme?.colors?.ctaColor,
395
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
394
396
  border: ({
395
397
  disabled
396
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
398
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
397
399
  cursor: ({
398
400
  disabled
399
401
  } = {}) => disabled ? 'not-allowed' : 'pointer',
@@ -1180,8 +1182,13 @@ const NextImageRenderer = ({
1180
1182
  isMobile
1181
1183
  } = useContext(PageContext);
1182
1184
 
1185
+ // return empty div if src is empty string or empty object or null
1186
+ if (!src || typeof src === 'object' && Object.keys(src).length === 0) {
1187
+ return /*#__PURE__*/React.createElement("div", null);
1188
+ }
1189
+
1183
1190
  // checkif src url is encoded or not, if not encode it
1184
- if (src && src.includes(' ')) {
1191
+ if (src.includes(' ')) {
1185
1192
  src = encodeURI(src);
1186
1193
  }
1187
1194
  try {
@@ -2074,13 +2081,17 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
2074
2081
  const shape = {
2075
2082
  borderRadius
2076
2083
  };
2084
+ const spacing = {
2085
+ padding: isMobile ? mobilePadding : padding,
2086
+ margin: isMobile ? mobileMargin : margin
2087
+ };
2077
2088
  return {
2078
2089
  palette,
2079
2090
  shape,
2080
2091
  typography,
2081
2092
  shadows: generateShadows(palette),
2082
- borders: generateBorders(palette)
2083
- // spacing
2093
+ borders: generateBorders(palette),
2094
+ spacing
2084
2095
  };
2085
2096
  }
2086
2097
 
@@ -2202,176 +2213,6 @@ const defaultMetadata = {
2202
2213
  layout: defaultLayout
2203
2214
  };
2204
2215
 
2205
- const GRADIENT = `linear-gradient`;
2206
- const allColors = {
2207
- white: '#FFFFFF',
2208
- black: '#000000',
2209
- lightblack: '#333333',
2210
- gray: '#999999',
2211
- bannerRed: "#EB5757",
2212
- // Blue gradient
2213
-
2214
- blue: '#1676F3',
2215
- bluegradient: `${GRADIENT}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
2216
- tertiaryblue: '#F4F9FF',
2217
- // Orange gradient
2218
-
2219
- orange: '#FF9000',
2220
- orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
2221
- tertiaryorange: '#FFF6EA',
2222
- // Pink gradient
2223
-
2224
- pink: '#F72585',
2225
- pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
2226
- tertiarypink: '#FEE9F3',
2227
- // Violet gradient
2228
-
2229
- violet: '#6026A8',
2230
- violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
2231
- tertiaryviolet: '#F5F2FA',
2232
- // Teal gradient
2233
-
2234
- teal: '#46A9A9',
2235
- tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
2236
- tertiaryteal: '#F4FAFA',
2237
- //Red solid
2238
-
2239
- red: '#F41828',
2240
- tertiaryred: '#FFF2F3',
2241
- // Green
2242
-
2243
- green: '#8ECE19',
2244
- tertiarygreen: '#F4FAFA',
2245
- //Maroon solid
2246
-
2247
- rust: '#9B2226',
2248
- tertiaryrust: '#FFF0F0',
2249
- //Purple solid
2250
-
2251
- purple: '#6269C9',
2252
- tertiarypurple: '#F4F6FF',
2253
- //Golden gradient
2254
-
2255
- golden: `#F2BA35`,
2256
- goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
2257
- //light green gradient
2258
-
2259
- lightgreen: `#D6E359`,
2260
- lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
2261
- //light blue gradient
2262
-
2263
- lightblue: `#A8EDF8`,
2264
- lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
2265
- skyblue: '#00ADE7',
2266
- tertiaryskyblue: '#F2FCFF'
2267
- };
2268
-
2269
- const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
2270
- let themeColor = theme.split('-');
2271
- let color, gradient, darkMode;
2272
- if (themeColor.length === 1) {
2273
- color = themeColor[0] == 'default' ? 'blue' : themeColor[0];
2274
- } else if (themeColor.length === 2) {
2275
- color = themeColor[0];
2276
- gradient = themeColor[1];
2277
- } else {
2278
- color = themeColor[0];
2279
- gradient = themeColor[1];
2280
- darkMode = themeColor[2];
2281
- }
2282
- console.log('color', allColors, gradient, darkMode);
2283
-
2284
- // switch (color) {
2285
- // case solidColors:
2286
- // break;
2287
-
2288
- // case gradientColors:
2289
- // break;
2290
-
2291
- // default:
2292
- // break;
2293
- // }
2294
-
2295
- // type 1
2296
- // const solidColors = {
2297
- // font1: solidBaseColors?.black,
2298
- // font2: solidBaseColors?.black,
2299
- // font3: solidBaseColors?.black,
2300
- // font4: solidBaseColors?.black,
2301
- // AccentColor: solidBaseColors[theme],
2302
- // background1: solidBaseColors?.white,
2303
- // background2: solidBaseColors['tertiary' + theme],
2304
- // background3: solidBaseColors['tertiary' + theme],
2305
- // ctaColor: solidBaseColors[theme],
2306
- // CtaTextColor: solidBaseColors?.white,
2307
- // icon: solidBaseColors[theme],
2308
- // iconBg: solidBaseColors['tertiary' + theme],
2309
- // stripBg: solidBaseColors[theme],
2310
- // stripText: solidBaseColors?.white,
2311
- // inputBorderColor: solidBaseColors?.blue2,
2312
- // tertiaryBlue2: solidBaseColors?.tertiaryblue2
2313
- // };
2314
-
2315
- //type 2
2316
- // const gradientColors = {
2317
- // font1: gradientBaseColors?.white,
2318
- // font2: gradientBaseColors?.black,
2319
- // font3: gradientBaseColors?.black,
2320
- // font4: gradientBaseColors?.white,
2321
- // AccentColor: gradientBaseColors[theme],
2322
- // background1: gradientBaseColors[theme + 'gradient'],
2323
- // background2: gradientBaseColors['tertiary' + theme],
2324
- // background3: gradientBaseColors[theme + 'gradient'],
2325
- // ctaColor: gradientBaseColors[theme + 'gradient'],
2326
- // CtaTextColor: gradientBaseColors?.white,
2327
- // icon: gradientBaseColors[theme],
2328
- // iconBg: gradientBaseColors['tertiary' + theme],
2329
- // stripBg: gradientBaseColors?.black,
2330
- // stripText: gradientBaseColors?.white
2331
- // };
2332
-
2333
- const colors = {
2334
- font1: gradient ? allColors?.white : allColors?.black,
2335
- font2: darkMode ? allColors[color] : allColors?.black,
2336
- font3: darkMode ? allColors?.white : allColors?.black,
2337
- font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
2338
- AccentColor: allColors[color],
2339
- background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
2340
- background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
2341
- background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
2342
- ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
2343
- CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
2344
- icon: allColors[color],
2345
- iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
2346
- stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
2347
- stripText: darkMode ? allColors?.lightblack : allColors?.white,
2348
- inputBorderColor: allColors?.blue2,
2349
- tertiaryBlue2: allColors?.tertiaryblue2,
2350
- white: allColors?.white,
2351
- black: allColors?.black,
2352
- lightblack: allColors?.lightblack,
2353
- gray: allColors?.gray,
2354
- bannerColor: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.bannerRed,
2355
- bannerCtaColor: gradient ? allColors?.lightblack : allColors?.white
2356
- };
2357
- const typography = {
2358
- fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
2359
- fontSize: isMobile ? fontSizeMob : fontSize,
2360
- fontWeight
2361
- };
2362
- // const shape = { borderRadius };
2363
- const spacing = {
2364
- padding: isMobile ? mobilePadding : padding,
2365
- margin: isMobile ? mobileMargin : margin
2366
- };
2367
- return {
2368
- ...getTheme(theme),
2369
- typography,
2370
- spacing,
2371
- colors
2372
- };
2373
- };
2374
-
2375
2216
  function PageRenderer$1({
2376
2217
  pageData: {
2377
2218
  metadata: {
@@ -2428,7 +2269,7 @@ function PageRenderer$1({
2428
2269
  countryCode,
2429
2270
  currencySymbol
2430
2271
  }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
2431
- const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2272
+ const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2432
2273
  const Wrapper = SectionWrapper || Fragment;
2433
2274
  return /*#__PURE__*/React.createElement(ThemeProvider, {
2434
2275
  theme: theme
@@ -2466,7 +2307,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2466
2307
  padding: ({
2467
2308
  isMobile
2468
2309
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2469
- background: theme?.colors?.background2,
2310
+ backgroundColor: theme?.palette?.background?.primary,
2470
2311
  '&, & *, & *:before, & *:after': {
2471
2312
  fontFamily: theme?.typography?.fontFamily,
2472
2313
  boxSizing: 'border-box'
@@ -2524,14 +2365,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2524
2365
  marginBottom: '8px',
2525
2366
  fontSize: theme.typography.fontSize.subHead,
2526
2367
  letterSpacing: '3px',
2527
- color: theme?.colors?.font3,
2368
+ color: theme?.palette?.font?.default,
2528
2369
  wordBreak: 'break-word',
2529
2370
  maxWidth: '100%'
2530
2371
  },
2531
2372
  heading: {
2532
2373
  margin: '0',
2533
2374
  fontSize: theme.typography.fontSize.h1,
2534
- color: theme?.colors?.font3,
2375
+ color: theme?.palette?.font?.default,
2535
2376
  wordBreak: ({
2536
2377
  wordBreakValue
2537
2378
  }) => wordBreakValue || 'break-word',
@@ -2540,7 +2381,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2540
2381
  },
2541
2382
  description: {
2542
2383
  margin: `${theme.spacing.margin.tiny}px 0px`,
2543
- color: theme?.colors?.font3,
2384
+ color: theme?.palette?.font?.primary,
2544
2385
  lineHeight: '24px',
2545
2386
  wordBreak: 'break-word'
2546
2387
  },
@@ -2657,7 +2498,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2657
2498
  width: '26px',
2658
2499
  background: ({
2659
2500
  inverted
2660
- } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.colors.AccentColor
2501
+ } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
2661
2502
  },
2662
2503
  '@media screen and (max-width: 767px)': {
2663
2504
  sliderClass: {
@@ -2693,7 +2534,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2693
2534
  height: sizeHandler,
2694
2535
  border: ({
2695
2536
  inverted
2696
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor}`,
2537
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2697
2538
  borderRadius: '50%',
2698
2539
  display: 'flex',
2699
2540
  justifyContent: 'center',
@@ -2715,7 +2556,7 @@ function ArrowButton(props) {
2715
2556
  }, /*#__PURE__*/React.createElement(Icon, {
2716
2557
  height: props.size === 'small' ? '12px' : '18px',
2717
2558
  name: "Angle",
2718
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor,
2559
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2719
2560
  inverted: true
2720
2561
  }));
2721
2562
  }
@@ -2925,6 +2766,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2925
2766
  justifyContent: 'center',
2926
2767
  flexDirection: 'column',
2927
2768
  alignItems: 'center',
2769
+ backgroundColor: theme?.palette?.background?.default,
2928
2770
  '&, & *, & *:before, & *:after': {
2929
2771
  fontFamily: theme?.typography?.fontFamily,
2930
2772
  boxSizing: 'border-box'
@@ -2942,7 +2784,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2942
2784
  subTitleHeading: {
2943
2785
  marginBottom: '8px',
2944
2786
  fontSize: theme.typography.fontSize.subHead,
2945
- color: theme?.colors?.black,
2787
+ color: theme?.palette?.font?.default,
2946
2788
  alignItems: 'center',
2947
2789
  textAlign: 'center',
2948
2790
  wordBreak: 'break-word',
@@ -2952,7 +2794,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2952
2794
  heading: {
2953
2795
  marginBottom: theme.spacing.margin.tiny,
2954
2796
  fontSize: theme.typography.fontSize.h2,
2955
- color: theme?.colors?.black,
2797
+ color: theme?.palette?.font?.default,
2956
2798
  fontWeight: theme.typography.fontWeight.bold,
2957
2799
  textAlign: 'center',
2958
2800
  wordBreak: 'break-word'
@@ -2969,7 +2811,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2969
2811
  display: 'flex',
2970
2812
  width: 'calc(100% - 200px)',
2971
2813
  alignItems: 'center',
2972
- background: theme?.colors?.white,
2814
+ background: theme?.palette?.background?.default,
2973
2815
  boxShadow: theme?.shadows?.primary,
2974
2816
  borderRadius: theme?.shape?.borderRadius?.regular,
2975
2817
  overflow: 'hidden',
@@ -2993,13 +2835,33 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2993
2835
  '& $contentText': {
2994
2836
  marginLeft: '170px'
2995
2837
  }
2838
+ },
2839
+ '&:nth-child(7n+1) $contentNumber': {
2840
+ background: palettes.purple.primary.lightest
2841
+ },
2842
+ '&:nth-child(7n+2) $contentNumber': {
2843
+ background: palettes.orange.primary.lightest
2844
+ },
2845
+ '&:nth-child(7n+3) $contentNumber': {
2846
+ background: palettes.red.primary.lightest
2847
+ },
2848
+ '&:nth-child(7n+4) $contentNumber': {
2849
+ background: palettes.green.primary.lightest
2850
+ },
2851
+ '&:nth-child(7n+5) $contentNumber': {
2852
+ background: palettes.pink.primary.lightest
2853
+ },
2854
+ '&:nth-child(7n+6) $contentNumber': {
2855
+ background: palettes.blue.primary.lightest
2856
+ },
2857
+ '&:nth-child(7n) $contentNumber': {
2858
+ background: palettes.rust.primary.lightest
2996
2859
  }
2997
2860
  },
2998
2861
  contentNumber: {
2999
2862
  position: 'absolute',
3000
2863
  top: '0',
3001
2864
  fontWeight: '700',
3002
- background: theme?.colors?.background3,
3003
2865
  fontSize: '72px',
3004
2866
  letterSpacing: '-3px',
3005
2867
  display: 'flex',
@@ -3007,7 +2869,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
3007
2869
  justifyContent: 'center',
3008
2870
  padding: '48px',
3009
2871
  height: '100%',
3010
- color: theme?.colors?.font4,
2872
+ color: theme?.palette?.font?.default,
3011
2873
  wordBreak: 'break-word'
3012
2874
  },
3013
2875
  contentText: {
@@ -3019,14 +2881,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
3019
2881
  fontWeight: theme.typography.fontWeight.bold,
3020
2882
  lineHeight: '32px',
3021
2883
  marginBottom: '8px',
3022
- color: theme?.colors?.lightblack,
2884
+ color: theme?.palette?.font?.default,
3023
2885
  wordBreak: 'break-word'
3024
2886
  },
3025
2887
  contentPara: {
3026
2888
  fontStyle: 'normal',
3027
2889
  fontSize: '16px',
3028
2890
  lineHeight: '26px',
3029
- color: theme?.colors?.gray,
2891
+ color: theme?.palette?.font?.primary,
3030
2892
  wordBreak: 'break-word'
3031
2893
  },
3032
2894
  '@media screen and (max-width: 767px)': {
@@ -3439,7 +3301,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
3439
3301
  return {
3440
3302
  section: {
3441
3303
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3442
- background: theme?.colors?.background2,
3443
3304
  '&, & *, & *:before, & *:after': {
3444
3305
  fontFamily: theme?.typography?.fontFamily,
3445
3306
  boxSizing: 'border-box'
@@ -3483,7 +3344,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3483
3344
  }
3484
3345
  },
3485
3346
  imageBorder: {
3486
- // border: `2px solid ${theme?.palette?.primary?.light}`,
3347
+ border: `2px solid ${theme?.palette?.primary?.light}`,
3487
3348
  borderRadius: theme?.shape?.borderRadius?.small,
3488
3349
  position: 'absolute',
3489
3350
  width: '100%',
@@ -3508,13 +3369,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
3508
3369
  marginBottom: '8px',
3509
3370
  fontSize: theme?.typography?.fontSize?.subHead,
3510
3371
  letterSpacing: '3px',
3511
- color: theme?.colors?.font3,
3372
+ color: theme?.palette?.font?.default,
3512
3373
  wordBreak: 'break-word'
3513
3374
  },
3514
3375
  heading: {
3515
3376
  margin: '0',
3516
3377
  fontSize: theme?.typography?.fontSize?.h1,
3517
- color: theme?.colors?.font3,
3378
+ color: theme?.palette?.font?.default,
3518
3379
  wordBreak: ({
3519
3380
  wordBreakValue
3520
3381
  }) => wordBreakValue || 'break-word',
@@ -3524,7 +3385,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3524
3385
  description: {
3525
3386
  marginTop: theme.spacing.margin.tiny,
3526
3387
  marginBottom: theme.spacing.margin.tiny,
3527
- color: theme?.colors?.font3,
3388
+ color: theme?.palette?.font?.primary,
3528
3389
  lineHeight: '24px',
3529
3390
  wordBreak: 'break-word'
3530
3391
  },
@@ -3690,16 +3551,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3690
3551
  containerWidth
3691
3552
  } = {}) => containerWidth
3692
3553
  },
3693
- // partialBackground: {
3694
- // top: '0',
3695
- // left: '0',
3696
- // width: '100%',
3697
- // height: '50%',
3698
- // position: 'absolute',
3699
- // background: theme?.palette?.background?.primary
3700
- // },
3554
+ partialBackground: {
3555
+ top: '0',
3556
+ left: '0',
3557
+ width: '100%',
3558
+ height: '50%',
3559
+ position: 'absolute',
3560
+ background: theme?.palette?.background?.primary
3561
+ },
3701
3562
  sectionContainer: {
3702
- backgroundColor: theme?.colors?.background2,
3563
+ backgroundColor: theme?.palette?.background?.default,
3703
3564
  boxShadow: theme?.shadows?.secondary,
3704
3565
  borderRadius: theme?.shape?.borderRadius?.regular,
3705
3566
  padding: theme.spacing.padding.small,
@@ -3710,7 +3571,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3710
3571
  fontWeight: theme.typography.fontWeight.bold,
3711
3572
  lineHeight: '71px',
3712
3573
  letterSpacing: '-3px',
3713
- color: theme?.colors?.font3,
3574
+ color: theme?.palette?.font?.default,
3714
3575
  marginBottom: theme.spacing.padding.tiny,
3715
3576
  wordBreak: 'break-word'
3716
3577
  },
@@ -3722,7 +3583,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3722
3583
  title: {
3723
3584
  fontSize: theme.typography.fontSize.h6,
3724
3585
  lineHeight: '32px',
3725
- color: theme?.colors?.font3,
3586
+ color: theme?.palette?.font?.primary,
3726
3587
  wordBreak: 'break-word',
3727
3588
  flex: 1
3728
3589
  },
@@ -3850,8 +3711,8 @@ const inputStyles = createUseStyles(theme => ({
3850
3711
  inputField: {
3851
3712
  width: '100%',
3852
3713
  // maxWidth: '314px',
3853
- // background: theme?.palette?.background?.default,
3854
- border: `1px solid ${theme?.colors?.icon}`,
3714
+ background: theme?.palette?.background?.default,
3715
+ border: `1px solid ${theme?.palette?.border?.secondary}`,
3855
3716
  borderRadius: theme?.shape?.borderRadius?.regular,
3856
3717
  padding: '14px 12px',
3857
3718
  display: 'flex',
@@ -3865,7 +3726,7 @@ const inputStyles = createUseStyles(theme => ({
3865
3726
  fontWeight: '400',
3866
3727
  fontSize: '16px',
3867
3728
  lineHeight: '20px',
3868
- color: theme?.colors?.black,
3729
+ color: theme?.palette?.font?.primary,
3869
3730
  fontFamily: theme?.typography?.fontFamily
3870
3731
  },
3871
3732
  '&:focus': {
@@ -4065,6 +3926,7 @@ var index$h = /*#__PURE__*/Object.freeze({
4065
3926
 
4066
3927
  const useTestimonialStyles = createUseStyles(theme => ({
4067
3928
  testimonialContainer: {
3929
+ background: theme?.palette?.background?.primary,
4068
3930
  overflow: 'hidden',
4069
3931
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4070
3932
  '&, & *, & *:before, & *:after': {
@@ -4082,14 +3944,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
4082
3944
  } = {}) => containerWidth
4083
3945
  },
4084
3946
  testimonialText: {
4085
- color: theme?.colors?.lightblack,
3947
+ color: theme?.palette?.font?.default,
4086
3948
  fontSize: theme.typography.fontSize.subHead,
4087
3949
  wordBreak: 'break-word',
4088
3950
  textTransform: 'uppercase'
4089
3951
  },
4090
3952
  testimonialHeader: {
4091
3953
  fontSize: theme.typography.fontSize.h2,
4092
- color: theme?.colors?.lightblack,
3954
+ color: theme?.palette?.font?.default,
4093
3955
  fontWeight: theme.typography.fontWeight.bold,
4094
3956
  marginBottom: theme.spacing.margin.tiny,
4095
3957
  marginTop: '8px',
@@ -4106,7 +3968,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4106
3968
  position: 'relative',
4107
3969
  height: 'calc(100% - 12px)',
4108
3970
  width: 'calc(100% - 24px)',
4109
- background: theme?.colors?.background1,
3971
+ background: theme?.palette?.background?.default,
4110
3972
  boxShadow: theme?.shadows?.primary,
4111
3973
  borderRadius: theme?.shape?.borderRadius?.regular
4112
3974
  },
@@ -4133,7 +3995,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4133
3995
  marginBottom: theme.spacing.margin.tiny,
4134
3996
  fontSize: theme.typography.fontSize.body,
4135
3997
  wordBreak: 'break-word',
4136
- color: theme?.colors?.font1,
3998
+ color: theme?.palette?.font?.primary,
4137
3999
  lineHeight: '26px'
4138
4000
  },
4139
4001
  userContainer: {
@@ -4162,7 +4024,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4162
4024
  marginRight: '16px'
4163
4025
  },
4164
4026
  userName: {
4165
- color: theme?.colors?.font1,
4027
+ color: theme?.palette?.font?.default,
4166
4028
  margin: '0',
4167
4029
  fontSize: theme.typography.fontSize.h5,
4168
4030
  // paddingTop: '16px',
@@ -4181,6 +4043,19 @@ const useTestimonialStyles = createUseStyles(theme => ({
4181
4043
  testimonialContainer: {
4182
4044
  padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
4183
4045
  },
4046
+ // testimonialCardAndText: {
4047
+ // margin: '0 20px'
4048
+ // },
4049
+
4050
+ // testimonialHeader: {
4051
+ // fontSize: '24px',
4052
+ // color: theme?.palette?.font?.default,
4053
+ // margin: '4px 0 12px 0',
4054
+ // overflow: 'hidden',
4055
+ // // whiteSpace: 'nowrap',
4056
+ // wordBreak: 'break-word',
4057
+ // textOverflow: 'ellipsis'
4058
+ // },
4184
4059
  testimonialText: {
4185
4060
  textAlign: 'center'
4186
4061
  },
@@ -4233,7 +4108,7 @@ function QuotesComponent() {
4233
4108
  width: "28px",
4234
4109
  height: "21px",
4235
4110
  name: "Quote",
4236
- color: theme?.colors?.icon
4111
+ color: theme?.palette?.primary?.main
4237
4112
  }));
4238
4113
  }
4239
4114
 
@@ -4763,7 +4638,7 @@ const useVideoStyles = createUseStyles(theme => {
4763
4638
  padding: ({
4764
4639
  isMobile
4765
4640
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4766
- backgroundColor: theme?.colors?.background2,
4641
+ backgroundColor: theme?.palette?.background?.primary,
4767
4642
  '&, & *, & *:before, & *:after': {
4768
4643
  fontFamily: theme?.typography?.fontFamily,
4769
4644
  boxSizing: 'border-box'
@@ -4786,7 +4661,7 @@ const useVideoStyles = createUseStyles(theme => {
4786
4661
  fontSize: theme.typography.fontSize.subHead,
4787
4662
  textTransform: 'uppercase',
4788
4663
  lineHeight: '20px',
4789
- color: theme?.colors?.font2,
4664
+ color: theme?.palette?.font?.default,
4790
4665
  letterSpacing: '3px',
4791
4666
  wordBreak: 'break-word'
4792
4667
  },
@@ -4797,14 +4672,14 @@ const useVideoStyles = createUseStyles(theme => {
4797
4672
  letterSpacing: '-3px',
4798
4673
  marginBottom: theme.spacing.margin.tiny,
4799
4674
  marginTop: '8px',
4800
- color: theme?.colors?.font2,
4675
+ color: theme?.palette?.font?.default,
4801
4676
  wordBreak: 'break-word'
4802
4677
  },
4803
4678
  sliderContainer: {
4804
4679
  marginRight: `-${theme.spacing.padding.medium}px`
4805
4680
  },
4806
4681
  singleSlideContainer: {
4807
- backgroundColor: 'white',
4682
+ backgroundColor: theme?.palette?.background?.default,
4808
4683
  // margin: '20px',
4809
4684
  width: 'calc(100% - 24px)',
4810
4685
  height: 'calc(100% - 40px)',
@@ -4841,14 +4716,14 @@ const useVideoStyles = createUseStyles(theme => {
4841
4716
  fontWeight: theme.typography.fontWeight.bold,
4842
4717
  lineHeight: '32px',
4843
4718
  marginBottom: '8px',
4844
- color: theme?.colors?.lightblack,
4719
+ color: theme?.palette?.font?.default,
4845
4720
  wordBreak: 'break-word'
4846
4721
  },
4847
4722
  videoDetailsSubHeading: {
4848
4723
  fontSize: theme.typography.fontSize.body,
4849
4724
  lineHeight: '24px',
4850
4725
  wordBreak: 'break-word',
4851
- color: theme?.colors?.gray
4726
+ color: theme?.palette?.font?.primary
4852
4727
  },
4853
4728
  '@media (max-width: 767px)': {
4854
4729
  videoHeading: {
@@ -4995,10 +4870,11 @@ var index$e = /*#__PURE__*/Object.freeze({
4995
4870
 
4996
4871
  const useSectionStyles$3 = createUseStyles(theme => ({
4997
4872
  section: {
4873
+ position: 'relative',
4998
4874
  padding: ({
4999
4875
  isMobile
5000
4876
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px 0px ${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5001
- background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
4877
+ backgroundColor: theme?.palette?.background?.default,
5002
4878
  '&, & *, & *:before, & *:after': {
5003
4879
  fontFamily: theme?.typography?.fontFamily,
5004
4880
  boxSizing: 'border-box'
@@ -5017,13 +4893,21 @@ const useSectionStyles$3 = createUseStyles(theme => ({
5017
4893
  containerWidth
5018
4894
  } = {}) => containerWidth
5019
4895
  },
4896
+ partialBackground: {
4897
+ position: 'absolute',
4898
+ top: '0',
4899
+ left: '0',
4900
+ height: '50%',
4901
+ background: theme?.palette?.background?.primary,
4902
+ width: '100%'
4903
+ },
5020
4904
  content: {
5021
4905
  position: 'relative'
5022
4906
  },
5023
4907
  subTitleHeading: {
5024
4908
  width: '100%',
5025
4909
  fontSize: theme.typography.fontSize.subHead,
5026
- color: theme?.colors?.font2,
4910
+ color: theme?.palette?.font?.default,
5027
4911
  textTransform: 'uppercase',
5028
4912
  textAlign: 'left',
5029
4913
  lineHeight: '20px',
@@ -5035,7 +4919,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
5035
4919
  fontSize: theme.typography.fontSize.h2,
5036
4920
  width: '100%',
5037
4921
  lineHeight: '70px',
5038
- color: theme?.colors?.font2,
4922
+ color: theme?.palette?.font?.default,
5039
4923
  textAlign: 'left',
5040
4924
  wordBreak: 'break-word'
5041
4925
  },
@@ -5045,7 +4929,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
5045
4929
  // },
5046
4930
 
5047
4931
  card: {
5048
- background: theme?.colors?.white,
4932
+ background: theme?.palette?.background?.default,
5049
4933
  boxShadow: theme?.shadows?.primary,
5050
4934
  borderRadius: theme.shape.borderRadius.large,
5051
4935
  margin: ({
@@ -5066,7 +4950,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
5066
4950
  textAlign: 'center',
5067
4951
  fontSize: theme.typography.fontSize.h6,
5068
4952
  fontWeight: theme.typography.fontWeight.bold,
5069
- color: theme?.colors?.lightblack,
4953
+ color: theme?.palette?.font?.default,
5070
4954
  margin: `16px 0px`,
5071
4955
  wordBreak: 'break-word'
5072
4956
  },
@@ -5078,7 +4962,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
5078
4962
  alignItems: 'center',
5079
4963
  justifyContent: 'center',
5080
4964
  borderRadius: '50%',
5081
- background: theme?.colors?.background2
4965
+ background: theme?.palette?.background?.primary
5082
4966
  },
5083
4967
  buttonContainerClass: {
5084
4968
  marginRight: theme.spacing.margin.regular,
@@ -5092,7 +4976,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
5092
4976
  textAlign: 'center',
5093
4977
  fontSize: theme.typography.fontSize.body,
5094
4978
  lineHeight: '22px',
5095
- color: theme?.colors?.gray,
4979
+ color: theme?.palette?.font?.primary,
5096
4980
  margin: '0',
5097
4981
  wordBreak: 'break-word'
5098
4982
  },
@@ -5178,7 +5062,7 @@ function Info({
5178
5062
  className: classes.imageContainer
5179
5063
  }, /*#__PURE__*/React.createElement(Icon, {
5180
5064
  name: dt.icon.metadata.value,
5181
- color: theme?.colors?.icon,
5065
+ color: theme.palette.primary.main,
5182
5066
  width: isMobile ? '30px' : '40px',
5183
5067
  height: isMobile ? '30px' : '40px'
5184
5068
  })), /*#__PURE__*/React.createElement("h3", {
@@ -5235,7 +5119,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5235
5119
  padding: ({
5236
5120
  isMobile
5237
5121
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5238
- backgroundColor: theme?.colors?.background2,
5122
+ backgroundColor: theme?.palette?.background?.default,
5239
5123
  '&, & *, & *:before, & *:after': {
5240
5124
  fontFamily: theme?.typography?.fontFamily,
5241
5125
  boxSizing: 'border-box'
@@ -5252,7 +5136,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5252
5136
  subHeading: {
5253
5137
  fontSize: theme.typography.fontSize.subHead,
5254
5138
  marginBottom: '8px',
5255
- color: theme?.colors?.font3,
5139
+ color: theme?.palette?.font?.default,
5256
5140
  wordBreak: 'break-word',
5257
5141
  textTransform: 'uppercase',
5258
5142
  letterSpacing: '3px'
@@ -5262,7 +5146,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5262
5146
  fontWeight: theme.typography.fontWeight.bold,
5263
5147
  lineHeight: 'normal',
5264
5148
  margin: '0',
5265
- color: theme?.colors?.font3,
5149
+ color: theme?.palette?.font?.default,
5266
5150
  wordBreak: 'break-word',
5267
5151
  marginBottom: theme.spacing.margin.tiny
5268
5152
  },
@@ -5273,7 +5157,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5273
5157
  padding: '32px 0px'
5274
5158
  },
5275
5159
  textPara: {
5276
- color: theme?.colors?.font3,
5160
+ color: theme?.palette?.font?.primary,
5277
5161
  wordBreak: 'break-word',
5278
5162
  fontSize: theme.typography.fontSize.body,
5279
5163
  lineHeight: '24px'
@@ -5580,7 +5464,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5580
5464
  padding: ({
5581
5465
  isMobile
5582
5466
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5583
- backgroundColor: theme?.colors?.background2,
5467
+ backgroundColor: theme?.palette?.background?.primary,
5584
5468
  '&, & *, & *:before, & *:after': {
5585
5469
  fontFamily: theme?.typography?.fontFamily,
5586
5470
  boxSizing: 'border-box'
@@ -5595,7 +5479,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5595
5479
  } = {}) => containerWidth
5596
5480
  },
5597
5481
  sectionSubheading: {
5598
- color: theme?.colors?.font3,
5482
+ color: theme?.palette?.font.default,
5599
5483
  fontSize: theme.typography.fontSize.subHead,
5600
5484
  marginBottom: '8px',
5601
5485
  wordBreak: 'break-word'
@@ -5604,16 +5488,15 @@ const useFaqListStyles = createUseStyles(theme => ({
5604
5488
  fontSize: theme.typography.fontSize.h2,
5605
5489
  fontWeight: theme.typography.fontWeight.bold,
5606
5490
  wordBreak: 'break-word',
5607
- marginBottom: `${theme.spacing.margin.tiny}px`,
5608
- color: theme?.colors?.font3
5491
+ marginBottom: `${theme.spacing.margin.tiny}px`
5609
5492
  },
5610
5493
  container: {
5611
5494
  boxShadow: theme?.shadows?.secondary,
5612
5495
  borderRadius: '8px',
5613
- backgroundColor: theme?.colors?.white
5496
+ backgroundColor: theme?.palette?.background?.default
5614
5497
  },
5615
5498
  basicCardContainer: {
5616
- borderBottom: `1px solid #D8E0F0`,
5499
+ borderBottom: theme?.borders?.secondary,
5617
5500
  padding: `${theme.spacing.padding.tiny}px`
5618
5501
  },
5619
5502
  innerContainer: {
@@ -5632,14 +5515,14 @@ const useFaqListStyles = createUseStyles(theme => ({
5632
5515
  alignItems: 'center'
5633
5516
  },
5634
5517
  title: {
5635
- color: theme?.colors?.lightblack,
5518
+ color: theme?.palette?.font.default,
5636
5519
  fontSize: theme.typography.fontSize.h5,
5637
5520
  fontWeight: theme.typography.fontWeight.bold,
5638
5521
  margin: '0',
5639
5522
  wordBreak: 'break-word'
5640
5523
  },
5641
5524
  content: {
5642
- color: theme?.colors?.lightblack,
5525
+ color: theme?.palette?.font.primary,
5643
5526
  fontSize: theme.typography.fontSize.body,
5644
5527
  lineHeight: '24px',
5645
5528
  maxHeight: ({
@@ -5759,10 +5642,11 @@ var index$a = /*#__PURE__*/Object.freeze({
5759
5642
 
5760
5643
  const useTextGridStyles = createUseStyles(theme => ({
5761
5644
  section: {
5762
- background: theme.colors.background1,
5763
5645
  padding: ({
5764
5646
  isMobile
5765
5647
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5648
+ // backgroundColor: theme?.palette?.background?.primary,
5649
+
5766
5650
  '&, & *, & *:before, & *:after': {
5767
5651
  fontFamily: theme?.typography?.fontFamily,
5768
5652
  boxSizing: 'border-box'
@@ -5770,7 +5654,14 @@ const useTextGridStyles = createUseStyles(theme => ({
5770
5654
  '& h2,& h3,& p': {
5771
5655
  marginTop: '0'
5772
5656
  }
5657
+ // '& h2,& h3': {
5658
+ // fontWeight: '500',
5659
+ // '& b,& strong': {
5660
+ // fontWeight: '700'
5661
+ // }
5662
+ // }
5773
5663
  },
5664
+
5774
5665
  sectionContainer: {
5775
5666
  margin: '0 auto',
5776
5667
  maxWidth: ({
@@ -5778,7 +5669,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5778
5669
  } = {}) => containerWidth
5779
5670
  },
5780
5671
  subheading: {
5781
- color: theme?.colors?.font1,
5672
+ color: theme?.palette?.font.default,
5782
5673
  fontSize: theme.typography.fontSize.subHead,
5783
5674
  lineHeight: '20px',
5784
5675
  letterSpacing: '3px',
@@ -5792,8 +5683,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5792
5683
  fontWeight: theme.typography.fontWeight.bold,
5793
5684
  letterSpacing: '-3px',
5794
5685
  marginBottom: theme.spacing.margin.tiny,
5795
- wordBreak: 'break-word',
5796
- color: theme?.colors?.font1
5686
+ wordBreak: 'break-word'
5797
5687
  },
5798
5688
  sliderContainer: {
5799
5689
  margin: '0 -10px'
@@ -6063,7 +5953,7 @@ const useCourseStyles = createUseStyles(theme => {
6063
5953
  display: 'flex',
6064
5954
  justifyContent: 'flex-start',
6065
5955
  alignItems: 'center',
6066
- fontSize: theme.typography.fontSize.body,
5956
+ fontSize: theme.typography.fontSize.subHead,
6067
5957
  color: theme?.palette?.font?.primary,
6068
5958
  '& img': {
6069
5959
  marginRight: '5px'
@@ -6096,8 +5986,8 @@ const useCourseStyles = createUseStyles(theme => {
6096
5986
  },
6097
5987
  courseCardBuyBtn: {
6098
5988
  cursor: 'pointer',
6099
- background: theme?.colors?.ctaColor,
6100
- color: theme?.colors?.CtaTextColor,
5989
+ background: theme?.palette?.primary?.main,
5990
+ color: theme?.palette?.font?.invertedDefault,
6101
5991
  padding: '8px 16px',
6102
5992
  fontWeight: theme.typography.fontWeight.bold,
6103
5993
  cursor: 'pointer',
@@ -6470,10 +6360,11 @@ var index$8 = /*#__PURE__*/Object.freeze({
6470
6360
  const useTeamStyles = createUseStyles(theme => {
6471
6361
  return {
6472
6362
  teamSuperContainer: {
6473
- background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6474
6363
  padding: ({
6475
6364
  isMobile
6476
6365
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6366
+ // backgroundColor: theme?.palette?.background?.primary,
6367
+
6477
6368
  '&, & *, & *:before, & *:after': {
6478
6369
  fontFamily: theme?.typography?.fontFamily,
6479
6370
  boxSizing: 'border-box'
@@ -6494,17 +6385,25 @@ const useTeamStyles = createUseStyles(theme => {
6494
6385
  lineHeight: '20px',
6495
6386
  letterSpacing: '3px',
6496
6387
  marginBottom: '8px',
6497
- color: theme?.colors?.font2,
6388
+ color: theme?.palette?.font?.default,
6498
6389
  // wordBreak: 'break-word',
6499
6390
  position: 'relative'
6500
6391
  },
6392
+ partialBackground: {
6393
+ position: 'absolute',
6394
+ top: '0',
6395
+ left: '0',
6396
+ height: '50%',
6397
+ background: theme?.palette?.background?.primary,
6398
+ width: '100%'
6399
+ },
6501
6400
  teamTitle: {
6502
6401
  fontSize: theme.typography.fontSize.h2,
6503
6402
  fontWeight: theme.typography.fontWeight.bold,
6504
6403
  lineHeight: '70px',
6505
6404
  letterSpacing: '-3px',
6506
6405
  wordBreak: 'break-word',
6507
- color: theme?.colors?.font2,
6406
+ color: theme?.palette?.font?.default,
6508
6407
  position: 'relative'
6509
6408
  },
6510
6409
  sliderContainer: {
@@ -6596,10 +6495,12 @@ const useTeamStyles = createUseStyles(theme => {
6596
6495
  teamDetailsHeading: {
6597
6496
  fontSize: '16px',
6598
6497
  lineHeight: '24px',
6599
- margin: '0'
6498
+ margin: '0',
6499
+ color: theme?.palette?.font?.body
6600
6500
  },
6601
6501
  teamDetailsSubHeading: {
6602
- marginTop: '0px'
6502
+ marginTop: '0px',
6503
+ color: theme?.palette?.font?.primary
6603
6504
  }
6604
6505
  }
6605
6506
  };
@@ -6710,7 +6611,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6710
6611
  justifyContent: 'center',
6711
6612
  flexDirection: 'column',
6712
6613
  alignItems: 'center',
6713
- background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6614
+ backgroundColor: theme?.palette?.background?.default,
6714
6615
  padding: ({
6715
6616
  isMobile
6716
6617
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
@@ -6732,16 +6633,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6732
6633
  containerWidth
6733
6634
  } = {}) => containerWidth
6734
6635
  },
6735
- // partialBackground: {
6736
- // top: '0',
6737
- // left: '0',
6738
- // width: '100%',
6739
- // height: '50%',
6740
- // position: 'absolute',
6741
- // background: theme?.colors?.white
6742
- // },
6636
+ partialBackground: {
6637
+ top: '0',
6638
+ left: '0',
6639
+ width: '100%',
6640
+ height: '50%',
6641
+ position: 'absolute',
6642
+ background: theme?.palette?.background?.primary
6643
+ },
6743
6644
  sectionContainer: {
6744
- backgroundColor: theme?.colors?.white,
6645
+ backgroundColor: theme?.palette?.background?.default,
6745
6646
  boxShadow: theme?.shadows?.secondary,
6746
6647
  borderRadius: theme?.shape?.borderRadius?.regular,
6747
6648
  padding: '48px',
@@ -6750,7 +6651,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6750
6651
  title: {
6751
6652
  margin: '0',
6752
6653
  fontSize: theme.typography.fontSize.h2,
6753
- color: theme?.colors?.lightblack,
6654
+ color: theme?.palette?.font?.default,
6754
6655
  fontWeight: theme.typography.fontWeight.bold,
6755
6656
  lineHeight: '71px',
6756
6657
  letterSpacing: '-3px',
@@ -6773,7 +6674,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6773
6674
  subtitle: {
6774
6675
  // margin: '0 0 40px 0',
6775
6676
  fontSize: theme.typography.fontSize.h5,
6776
- color: theme?.colors?.lightblack,
6677
+ color: theme?.palette?.font?.default,
6777
6678
  lineHeight: '32px',
6778
6679
  wordBreak: 'break-word',
6779
6680
  marginBottom: '32px'
@@ -6796,7 +6697,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6796
6697
  },
6797
6698
  addressText: {
6798
6699
  fontSize: theme.typography.fontSize.h6,
6799
- color: theme?.colors?.lightblack,
6700
+ color: theme?.palette?.font?.default,
6800
6701
  lineHeight: '24px',
6801
6702
  fontSize: '16px'
6802
6703
  },
@@ -7133,7 +7034,7 @@ const useSectionStyles = createUseStyles(theme => ({
7133
7034
  padding: ({
7134
7035
  isMobile
7135
7036
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
7136
- background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
7037
+ backgroundColor: theme?.palette?.background?.default,
7137
7038
  '&, & *, & *:before, & *:after': {
7138
7039
  fontFamily: theme?.typography?.fontFamily,
7139
7040
  boxSizing: 'border-box'
@@ -7153,8 +7054,16 @@ const useSectionStyles = createUseStyles(theme => ({
7153
7054
  containerWidth
7154
7055
  } = {}) => containerWidth
7155
7056
  },
7057
+ partialBackground: {
7058
+ top: '0',
7059
+ left: '0',
7060
+ width: '100%',
7061
+ height: '50%',
7062
+ position: 'absolute',
7063
+ background: theme?.palette?.background?.primary
7064
+ },
7156
7065
  sectionContainer: {
7157
- backgroundColor: theme?.colors?.white,
7066
+ backgroundColor: theme?.palette?.background?.default,
7158
7067
  boxShadow: theme?.shadows?.secondary,
7159
7068
  borderRadius: theme?.shape?.borderRadius?.regular,
7160
7069
  padding: '48px',
@@ -7163,7 +7072,7 @@ const useSectionStyles = createUseStyles(theme => ({
7163
7072
  title: {
7164
7073
  margin: '0',
7165
7074
  fontSize: theme.typography.fontSize.h2,
7166
- color: theme?.colors?.lightblack?.default,
7075
+ color: theme?.palette?.font?.default,
7167
7076
  lineHeight: '71px',
7168
7077
  letterSpacing: '-3px',
7169
7078
  textAlign: 'left',
@@ -7188,7 +7097,7 @@ const useSectionStyles = createUseStyles(theme => ({
7188
7097
  subtitle: {
7189
7098
  // margin: '0 0 auto 0',
7190
7099
  fontSize: theme.typography.fontSize.h6,
7191
- color: theme?.colors?.lightblack,
7100
+ color: theme?.palette?.font?.default,
7192
7101
  // lineHeight: '32px',
7193
7102
  // margin: '16px 0',
7194
7103
  textAlign: 'center',
@@ -7219,8 +7128,8 @@ const useSectionStyles = createUseStyles(theme => ({
7219
7128
  inputField: {
7220
7129
  width: '100%',
7221
7130
  // maxWidth: '314px',
7222
- // background: theme?.palette?.background?.default,
7223
- border: `1px solid ${theme?.colors?.cta}`,
7131
+ background: theme?.palette?.background?.default,
7132
+ border: `1px solid ${theme?.palette?.border?.secondary}`,
7224
7133
  borderRadius: theme?.shape?.borderRadius?.regular,
7225
7134
  // padding: '14px 12px',
7226
7135
  display: 'flex',
@@ -7233,7 +7142,7 @@ const useSectionStyles = createUseStyles(theme => ({
7233
7142
  fontWeight: '400',
7234
7143
  fontSize: theme.typography.fontSize.subHead,
7235
7144
  lineHeight: '20px',
7236
- color: theme?.colors?.lightblack,
7145
+ color: theme?.palette?.font?.primary,
7237
7146
  fontFamily: theme?.typography?.fontFamily
7238
7147
  },
7239
7148
  '&:focus': {
@@ -7546,7 +7455,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7546
7455
  webinarSuperContainer: {
7547
7456
  display: 'flex',
7548
7457
  justifyContent: 'center',
7549
- background: theme.colors.background1,
7550
7458
  padding: ({
7551
7459
  isMobile
7552
7460
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7569,6 +7477,30 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7569
7477
  maxWidth: '1440px',
7570
7478
  fontFamily: theme?.typography?.fontFamily
7571
7479
  },
7480
+ // videoTestimonialHeading: {
7481
+ // fontSize: theme.typography.fontSize.subHead,
7482
+ // lineHeight: '20px',
7483
+ // letterSpacing: '3px',
7484
+ // textTransform: 'uppercase',
7485
+ // color: theme.palette.font.tertiary,
7486
+ // wordBreak: 'break-word',
7487
+ // fontWeight: theme.typography.fontWeight.bold,
7488
+ // },
7489
+
7490
+ // videoTestimonialTitle: {
7491
+ // fontSize: theme.typography.fontSize.h2,
7492
+ // lineHeight: '71px',
7493
+ // fontWeight: theme.typography.fontWeight.bold,
7494
+ // letterSpacing: '-3px',
7495
+ // margin: '0',
7496
+ // color: theme.palette.font.default,
7497
+ // wordBreak: 'break-word'
7498
+ // },
7499
+
7500
+ // videoCarouselContainer: {
7501
+ // marginTop: '16px'
7502
+ // },
7503
+
7572
7504
  webinarCarousel: {
7573
7505
  display: 'flex',
7574
7506
  justifyContent: 'flex-start',
@@ -7597,9 +7529,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7597
7529
  },
7598
7530
  offerText: {
7599
7531
  textAlign: 'center',
7600
- color: theme?.colors?.lightblack,
7601
- marginBottom: '5% !important',
7602
- fontWeight: '700'
7532
+ color: theme.palette.font.primary,
7533
+ marginBottom: '5%'
7603
7534
  },
7604
7535
  offerPrice: {
7605
7536
  fontSize: theme.typography.fontSize.h5,
@@ -7645,7 +7576,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7645
7576
  margin: '0',
7646
7577
  letterSpacing: '-1px',
7647
7578
  wordBreak: wordBreakValue => wordBreakValue || 'break-word',
7648
- color: theme?.colors?.font1
7579
+ color: theme.palette.font.default
7649
7580
  },
7650
7581
  courseViewContainer: {
7651
7582
  width: '645px',
@@ -7659,9 +7590,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7659
7590
  },
7660
7591
  bannerContainer: {
7661
7592
  width: '100%',
7662
- background: theme?.colors?.bannerColor,
7663
- color: theme?.colors?.bannerCtaColor,
7664
- fontWeight: '600',
7593
+ background: '#EB5757',
7594
+ color: '#fff',
7665
7595
  textAlign: 'center',
7666
7596
  padding: '10px 10px 23px 40px',
7667
7597
  wordWrap: 'break-word',
@@ -7680,26 +7610,24 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7680
7610
  display: 'flex',
7681
7611
  alignItems: 'center',
7682
7612
  marginRight: '20px',
7683
- color: theme?.colors?.font1,
7684
7613
  '& div': {
7685
- fontSize: theme.typography.fontSize.body,
7614
+ fontSize: theme.typography.fontSize.subHead,
7686
7615
  marginLeft: '10px'
7687
7616
  }
7688
7617
  },
7689
7618
  courseDetailContent: {
7690
- fontSize: theme.typography.fontSize.body,
7691
- lineHeight: '21px',
7619
+ fontSize: theme.typography.fontSize.subHead,
7692
7620
  wordBreak: 'break-word',
7693
- color: theme?.colors?.font1,
7621
+ color: theme.palette.font.primary,
7694
7622
  whiteSpace: 'pre-wrap',
7695
7623
  width: '80%'
7696
7624
  },
7697
7625
  courseDetailViewFullDetails: {
7698
7626
  cursor: 'pointer',
7699
- fontSize: theme.typography.fontSize.body,
7627
+ fontSize: theme.typography.fontSize.subHead,
7700
7628
  lineHeight: '24px',
7701
- color: theme?.colors?.font1,
7702
7629
  marginTop: '-20px',
7630
+ color: '#00ADE7',
7703
7631
  wordBreak: 'break-word'
7704
7632
  },
7705
7633
  courseDetailTime: {
@@ -7714,7 +7642,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7714
7642
  display: 'flex',
7715
7643
  width: '36px',
7716
7644
  height: '36px',
7717
- backgroundColor: theme?.colors?.icon,
7645
+ backgroundColor: 'rgb(240, 244, 248)',
7718
7646
  justifyContent: 'center',
7719
7647
  alignItems: 'center',
7720
7648
  borderRadius: '6px'
@@ -7906,15 +7834,14 @@ const SingleVideoSlide$1 = props => {
7906
7834
  className: classes.iconBackground
7907
7835
  }, /*#__PURE__*/React.createElement(Icon, {
7908
7836
  name: 'Calendar',
7909
- width: "24px",
7910
- color: theme?.colors?.background2
7837
+ color: theme.palette.primary.main
7911
7838
  })), /*#__PURE__*/React.createElement("div", null, moment(data.startDate).locale(momentLocale).format('Do MMM YY') + ' ', moment(data.startTime).locale(momentLocale).format('h:mm A'), /*#__PURE__*/React.createElement("span", null, " - "), moment(data.endTime).locale(momentLocale).format('h:mm A'))), /*#__PURE__*/React.createElement("div", {
7912
7839
  className: classes.courseDetailTag
7913
7840
  }, /*#__PURE__*/React.createElement("span", {
7914
7841
  className: classes.iconBackground
7915
7842
  }, /*#__PURE__*/React.createElement(Icon, {
7916
- color: theme?.colors?.background2,
7917
- width: "24px",
7843
+ color: theme.palette.primary.main,
7844
+ width: "20px",
7918
7845
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7919
7846
  })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
7920
7847
  ref: data?.videoTextContent?.refSetter,
@@ -8021,15 +7948,13 @@ var index$4 = /*#__PURE__*/Object.freeze({
8021
7948
  });
8022
7949
 
8023
7950
  const useCoursePromotionPage = createUseStyles(theme => {
8024
- console.log(theme, 'themere');
8025
7951
  return {
8026
7952
  courseSuperContainer: {
8027
7953
  display: 'flex',
8028
7954
  justifyContent: 'center',
8029
- background: theme?.colors?.background1,
8030
7955
  padding: ({
8031
7956
  isMobile
8032
- } = {}) => isMobile ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7957
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8033
7958
  '&, & *, & *:before, & *:after': {
8034
7959
  fontFamily: theme?.typography?.fontFamily,
8035
7960
  boxSizing: 'border-box'
@@ -8100,8 +8025,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8100
8025
 
8101
8026
  offerText: {
8102
8027
  textAlign: 'center',
8103
- color: theme.palette.font.primary,
8104
- fontWeight: '700'
8028
+ color: theme.palette.font.primary
8105
8029
  },
8106
8030
  offerPrice: {
8107
8031
  fontSize: theme.typography.fontSize.h4,
@@ -8148,7 +8072,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8148
8072
  margin: '0',
8149
8073
  letterSpacing: '-1px',
8150
8074
  wordBreak: 'break-word',
8151
- color: theme?.colors?.font1
8075
+ color: theme.palette.font.default
8152
8076
  },
8153
8077
  courseViewContainer: {
8154
8078
  width: '445px',
@@ -8163,14 +8087,13 @@ const useCoursePromotionPage = createUseStyles(theme => {
8163
8087
 
8164
8088
  bannerContainer: {
8165
8089
  width: '100%',
8166
- background: theme?.colors?.bannerColor,
8167
- color: theme?.colors?.bannerCtaColor,
8168
- fontWeight: '600',
8090
+ background: '#EB5757',
8091
+ color: '#fff',
8169
8092
  textAlign: 'center',
8170
8093
  padding: '10px 10px 23px 40px',
8171
8094
  wordWrap: 'break-word',
8172
8095
  position: 'relative',
8173
- fontSize: '18px',
8096
+ fontSize: '14px',
8174
8097
  transform: 'rotate(180deg)',
8175
8098
  clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
8176
8099
  // marginBottom: '16px'
@@ -8186,8 +8109,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8186
8109
  },
8187
8110
  courseEmblem: {
8188
8111
  background: '#F0F4F8',
8189
- fontSize: theme.typography.fontSize.body,
8190
- borderRadius: '4px',
8112
+ fontSize: '18px',
8113
+ borderRadius: '2.00337px',
8191
8114
  padding: '8px',
8192
8115
  display: 'flex',
8193
8116
  alignItems: 'center',
@@ -8203,29 +8126,27 @@ const useCoursePromotionPage = createUseStyles(theme => {
8203
8126
  display: 'flex',
8204
8127
  alignItems: 'center',
8205
8128
  marginRight: '20px',
8206
- color: theme?.colors?.font1,
8207
8129
  '& div': {
8208
8130
  fontSize: theme.typography.fontSize.body,
8209
- fontWeight: theme.typography.fontWeight.semiBold,
8131
+ fontWeight: theme.typography.fontWeight.medium,
8210
8132
  marginLeft: '10px'
8211
8133
  }
8212
8134
  },
8213
8135
  courseDetailContent: {
8214
- marginTop: '20px',
8136
+ // marginTop: '16px',
8215
8137
  fontSize: theme.typography.fontSize.body,
8216
- lineHeight: '21px',
8138
+ lineHeight: '24px',
8217
8139
  wordBreak: 'break-word',
8218
- color: theme?.colors?.font1,
8140
+ color: theme.palette.font.primary,
8219
8141
  whiteSpace: 'pre-wrap',
8220
8142
  margin: '10px 0 20px'
8221
8143
  },
8222
8144
  courseDetailViewFullDetails: {
8223
8145
  cursor: 'pointer',
8224
- fontSize: theme.typography.fontSize.body,
8225
- textDecoration: 'underline',
8226
- lineHeight: '21px',
8227
- marginTop: '20px',
8228
- color: theme.colors?.font1,
8146
+ fontSize: theme.typography.fontSize.subHead,
8147
+ lineHeight: '24px',
8148
+ marginTop: '-24px',
8149
+ color: '#00ADE7',
8229
8150
  wordBreak: 'break-word'
8230
8151
  },
8231
8152
  courseDetailTime: {
@@ -8236,7 +8157,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8236
8157
  display: 'flex',
8237
8158
  width: '36px',
8238
8159
  height: '36px',
8239
- backgroundColor: theme?.colors?.icon,
8160
+ backgroundColor: 'rgb(240, 244, 248)',
8240
8161
  justifyContent: 'center',
8241
8162
  alignItems: 'center',
8242
8163
  borderRadius: '6px'
@@ -8296,8 +8217,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8296
8217
  // fontSize: '20px',
8297
8218
  fontWeight: '600',
8298
8219
  lineHeight: 'normal',
8299
- letterSpacing: '0px',
8300
- color: theme?.colors?.font1
8220
+ letterSpacing: '0px'
8301
8221
  },
8302
8222
  videoTestimonialTitle: {
8303
8223
  // fontSize: '24px',
@@ -8466,32 +8386,28 @@ const SingleVideoSlide = props => {
8466
8386
  className: classes.iconBackground
8467
8387
  }, /*#__PURE__*/React.createElement(Icon, {
8468
8388
  name: 'Clock',
8469
- width: "24px",
8470
- color: theme?.colors?.background2
8389
+ color: theme.palette.primary.main
8471
8390
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React.createElement("div", {
8472
8391
  className: classes.courseDetailTag
8473
8392
  }, /*#__PURE__*/React.createElement("span", {
8474
8393
  className: classes.iconBackground
8475
8394
  }, /*#__PURE__*/React.createElement(Icon, {
8476
8395
  name: 'Book Saved',
8477
- color: theme?.colors?.background2,
8478
- width: "24px"
8396
+ color: theme.palette.primary.main
8479
8397
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? 'Physical Books' : null)) : null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? /*#__PURE__*/React.createElement("div", {
8480
8398
  className: classes.courseDetailTag
8481
8399
  }, /*#__PURE__*/React.createElement("span", {
8482
8400
  className: classes.iconBackground
8483
8401
  }, /*#__PURE__*/React.createElement(Icon, {
8484
8402
  name: 'Certificate',
8485
- color: theme?.colors?.background2,
8486
- width: "24px"
8403
+ color: theme.palette.primary.main
8487
8404
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React.createElement("div", {
8488
8405
  className: classes.courseDetailTag
8489
8406
  }, /*#__PURE__*/React.createElement("span", {
8490
8407
  className: classes.iconBackground
8491
8408
  }, /*#__PURE__*/React.createElement(Icon, {
8492
8409
  name: 'Certificate',
8493
- color: theme?.colors?.background2,
8494
- width: "24px"
8410
+ color: theme.palette.primary.main
8495
8411
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React.createElement("p", {
8496
8412
  ref: data?.videoTextContent?.refSetter,
8497
8413
  className: classes.courseDetailContent,
@@ -8618,7 +8534,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8618
8534
  padding: ({
8619
8535
  isMobile
8620
8536
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8621
- background: theme?.colors?.background3,
8537
+ background: '#F4F9FF',
8622
8538
  '&, & *, & *:before, & *:after': {
8623
8539
  fontFamily: theme?.typography?.fontFamily,
8624
8540
  boxSizing: 'border-box'
@@ -8635,7 +8551,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8635
8551
  marginTop: '8px',
8636
8552
  fontSize: theme.typography.fontSize.h6,
8637
8553
  lineHeight: '23px',
8638
- color: theme?.colors?.gray,
8554
+ color: 'rgba(51, 51, 51, 0.5)',
8639
8555
  marginBottom: theme.spacing.margin.tiny
8640
8556
  },
8641
8557
  formPageFormContainer: {
@@ -8654,8 +8570,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8654
8570
  },
8655
8571
 
8656
8572
  inputFieldLabel: {
8657
- color: theme?.colors?.lightblack,
8658
- fontSize: theme.typography.fontSize.body,
8573
+ color: '#333',
8574
+ fontSize: theme.typography.fontSize.subHead,
8659
8575
  fontWeight: theme.typography.fontWeight.semiBold,
8660
8576
  display: 'block',
8661
8577
  marginTop: '20px',
@@ -8666,8 +8582,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8666
8582
  borderRadius: '8px',
8667
8583
  border: '1px solid #D8E0F0',
8668
8584
  padding: '12px 16px',
8669
- color: theme?.colors?.lightblack,
8670
- fontSize: theme.typography.fontSize.body
8585
+ color: '#7D8592',
8586
+ fontSize: theme.typography.fontSize.subHead
8671
8587
  },
8672
8588
  checkboxField: {
8673
8589
  // padding: '20px',
@@ -8675,21 +8591,21 @@ const useFormPageStyles = createUseStyles(theme => ({
8675
8591
  // borderRadius: '8px'
8676
8592
  },
8677
8593
  checkBoxFieldLabel: {
8678
- color: theme?.colors?.lightblack,
8679
- fontSize: theme.typography.fontSize.body,
8594
+ color: '#333',
8595
+ fontSize: theme.typography.fontSize.subHead,
8680
8596
  fontWeight: theme.typography.fontWeight.semiBold,
8681
8597
  marginTop: '20px',
8682
8598
  marginBottom: '12px'
8683
8599
  },
8684
8600
  inputFieldRequired: {
8685
- color: theme?.colors?.lightblack
8601
+ color: '#F41828'
8686
8602
  },
8687
8603
  checkboxFieldControl: {
8688
8604
  padding: '8px 0',
8689
8605
  '& label': {
8690
- fontSize: theme.typography.fontSize.body,
8606
+ fontSize: theme.typography.fontSize.subHead,
8691
8607
  marginLeft: '10px',
8692
- color: theme?.colors?.lightblack
8608
+ color: '#7D8592'
8693
8609
  }
8694
8610
  },
8695
8611
  submitBtnContainer: {
@@ -8702,7 +8618,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8702
8618
  '& button': {
8703
8619
  // height: '44px',
8704
8620
  padding: '16px 24px',
8705
- fontSize: theme.typography.fontSize.body,
8621
+ color: '#FFFFFF',
8622
+ fontSize: theme.typography.fontSize.subHead,
8706
8623
  cursor: 'pointer',
8707
8624
  borderRadius: '8px'
8708
8625
  }
@@ -9710,7 +9627,7 @@ function PageRenderer({
9710
9627
  countryCode,
9711
9628
  currencySymbol
9712
9629
  }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
9713
- const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9630
+ const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9714
9631
  const Wrapper = SectionWrapper || Fragment;
9715
9632
  return /*#__PURE__*/React.createElement(ThemeProvider, {
9716
9633
  theme: theme