diy-template-components 1.1.11 → 2.0.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.
package/build/index.js CHANGED
@@ -377,13 +377,11 @@ const buttonStyles = createUseStyles(theme => ({
377
377
  textAlign: 'center',
378
378
  color: ({
379
379
  disabled
380
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
380
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.CtaTextColor,
381
381
  background: ({
382
382
  disabled
383
- } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
384
- border: ({
385
- disabled
386
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
383
+ } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.colors?.ctaColor,
384
+ border: 'none',
387
385
  textDecoration: 'none',
388
386
  cursor: ({
389
387
  disabled
@@ -405,13 +403,13 @@ const buttonStyles = createUseStyles(theme => ({
405
403
  lineHeight: '18px',
406
404
  color: ({
407
405
  disabled
408
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
406
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
409
407
  background: ({
410
408
  disabled
411
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
409
+ } = {}) => disabled ? colorMixer(theme?.palette?.parimar?.default, 0.5).color : theme?.colors?.ctaColor,
412
410
  border: ({
413
411
  disabled
414
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
412
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
415
413
  cursor: ({
416
414
  disabled
417
415
  } = {}) => disabled ? 'not-allowed' : 'pointer',
@@ -2097,17 +2095,13 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
2097
2095
  const shape = {
2098
2096
  borderRadius
2099
2097
  };
2100
- const spacing = {
2101
- padding: isMobile ? mobilePadding : padding,
2102
- margin: isMobile ? mobileMargin : margin
2103
- };
2104
2098
  return {
2105
2099
  palette,
2106
2100
  shape,
2107
2101
  typography,
2108
2102
  shadows: generateShadows(palette),
2109
- borders: generateBorders(palette),
2110
- spacing
2103
+ borders: generateBorders(palette)
2104
+ // spacing
2111
2105
  };
2112
2106
  }
2113
2107
 
@@ -2229,6 +2223,176 @@ const defaultMetadata = {
2229
2223
  layout: defaultLayout
2230
2224
  };
2231
2225
 
2226
+ const GRADIENT = `linear-gradient`;
2227
+ const allColors = {
2228
+ white: '#FFFFFF',
2229
+ black: '#000000',
2230
+ lightblack: '#333333',
2231
+ gray: '#999999',
2232
+ bannerRed: '#EB5757',
2233
+ // Blue gradient
2234
+
2235
+ blue: '#1676F3',
2236
+ bluegradient: `${GRADIENT}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
2237
+ tertiaryblue: '#F4F9FF',
2238
+ // Orange gradient
2239
+
2240
+ orange: '#FF9000',
2241
+ orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
2242
+ tertiaryorange: '#FFF6EA',
2243
+ // Pink gradient
2244
+
2245
+ pink: '#F72585',
2246
+ pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
2247
+ tertiarypink: '#FEE9F3',
2248
+ // Violet gradient
2249
+
2250
+ violet: '#6026A8',
2251
+ violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
2252
+ tertiaryviolet: '#F5F2FA',
2253
+ // Teal gradient
2254
+
2255
+ teal: '#46A9A9',
2256
+ tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
2257
+ tertiaryteal: '#F4FAFA',
2258
+ //Red solid
2259
+
2260
+ red: '#F41828',
2261
+ tertiaryred: '#FFF2F3',
2262
+ // Green
2263
+
2264
+ green: '#8ECE19',
2265
+ tertiarygreen: '#F4FAFA',
2266
+ //Maroon solid
2267
+
2268
+ rust: '#9B2226',
2269
+ tertiaryrust: '#FFF0F0',
2270
+ //Purple solid
2271
+
2272
+ purple: '#6269C9',
2273
+ tertiarypurple: '#F4F6FF',
2274
+ //Golden gradient
2275
+
2276
+ golden: `#F2BA35`,
2277
+ goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
2278
+ //light green gradient
2279
+
2280
+ lightgreen: `#D6E359`,
2281
+ lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
2282
+ //light blue gradient
2283
+
2284
+ lightblue: `#A8EDF8`,
2285
+ lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
2286
+ skyblue: '#00ADE7',
2287
+ tertiaryskyblue: '#F2FCFF'
2288
+ };
2289
+
2290
+ const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
2291
+ let themeColor = theme.split('-');
2292
+ let color, gradient, darkMode;
2293
+ if (themeColor.length === 1) {
2294
+ color = themeColor[0] == 'default' ? 'blue' : themeColor[0];
2295
+ } else if (themeColor.length === 2) {
2296
+ color = themeColor[0];
2297
+ gradient = themeColor[1];
2298
+ } else {
2299
+ color = themeColor[0];
2300
+ gradient = themeColor[1];
2301
+ darkMode = themeColor[2];
2302
+ }
2303
+ console.log('color', allColors, gradient, darkMode);
2304
+
2305
+ // switch (color) {
2306
+ // case solidColors:
2307
+ // break;
2308
+
2309
+ // case gradientColors:
2310
+ // break;
2311
+
2312
+ // default:
2313
+ // break;
2314
+ // }
2315
+
2316
+ // type 1
2317
+ // const solidColors = {
2318
+ // font1: solidBaseColors?.black,
2319
+ // font2: solidBaseColors?.black,
2320
+ // font3: solidBaseColors?.black,
2321
+ // font4: solidBaseColors?.black,
2322
+ // AccentColor: solidBaseColors[theme],
2323
+ // background1: solidBaseColors?.white,
2324
+ // background2: solidBaseColors['tertiary' + theme],
2325
+ // background3: solidBaseColors['tertiary' + theme],
2326
+ // ctaColor: solidBaseColors[theme],
2327
+ // CtaTextColor: solidBaseColors?.white,
2328
+ // icon: solidBaseColors[theme],
2329
+ // iconBg: solidBaseColors['tertiary' + theme],
2330
+ // stripBg: solidBaseColors[theme],
2331
+ // stripText: solidBaseColors?.white,
2332
+ // inputBorderColor: solidBaseColors?.blue2,
2333
+ // tertiaryBlue2: solidBaseColors?.tertiaryblue2
2334
+ // };
2335
+
2336
+ //type 2
2337
+ // const gradientColors = {
2338
+ // font1: gradientBaseColors?.white,
2339
+ // font2: gradientBaseColors?.black,
2340
+ // font3: gradientBaseColors?.black,
2341
+ // font4: gradientBaseColors?.white,
2342
+ // AccentColor: gradientBaseColors[theme],
2343
+ // background1: gradientBaseColors[theme + 'gradient'],
2344
+ // background2: gradientBaseColors['tertiary' + theme],
2345
+ // background3: gradientBaseColors[theme + 'gradient'],
2346
+ // ctaColor: gradientBaseColors[theme + 'gradient'],
2347
+ // CtaTextColor: gradientBaseColors?.white,
2348
+ // icon: gradientBaseColors[theme],
2349
+ // iconBg: gradientBaseColors['tertiary' + theme],
2350
+ // stripBg: gradientBaseColors?.black,
2351
+ // stripText: gradientBaseColors?.white
2352
+ // };
2353
+
2354
+ const colors = {
2355
+ font1: gradient ? allColors?.white : allColors?.black,
2356
+ font2: darkMode ? allColors[color] : allColors?.black,
2357
+ font3: darkMode ? allColors?.white : allColors?.black,
2358
+ font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
2359
+ AccentColor: allColors[color],
2360
+ background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
2361
+ background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
2362
+ background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
2363
+ ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
2364
+ CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
2365
+ icon: allColors[color],
2366
+ iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
2367
+ stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
2368
+ stripText: darkMode ? allColors?.lightblack : allColors?.white,
2369
+ inputBorderColor: allColors?.blue2,
2370
+ tertiaryBlue2: allColors?.tertiaryblue2,
2371
+ white: allColors?.white,
2372
+ black: allColors?.black,
2373
+ lightblack: allColors?.lightblack,
2374
+ gray: allColors?.gray,
2375
+ bannerColor: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.bannerRed,
2376
+ bannerCtaColor: gradient ? allColors?.lightblack : allColors?.white
2377
+ };
2378
+ const typography = {
2379
+ fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
2380
+ fontSize: isMobile ? fontSizeMob : fontSize,
2381
+ fontWeight
2382
+ };
2383
+ // const shape = { borderRadius };
2384
+ const spacing = {
2385
+ padding: isMobile ? mobilePadding : padding,
2386
+ margin: isMobile ? mobileMargin : margin
2387
+ };
2388
+ return {
2389
+ ...getTheme(theme),
2390
+ typography,
2391
+ spacing,
2392
+ colors
2393
+ };
2394
+ };
2395
+
2232
2396
  function PageRenderer$1({
2233
2397
  pageData: {
2234
2398
  metadata: {
@@ -2285,7 +2449,7 @@ function PageRenderer$1({
2285
2449
  countryCode,
2286
2450
  currencySymbol
2287
2451
  }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
2288
- const theme = React.useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2452
+ const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2289
2453
  const Wrapper = SectionWrapper || React.Fragment;
2290
2454
  return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
2291
2455
  theme: theme
@@ -2323,7 +2487,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2323
2487
  padding: ({
2324
2488
  isMobile
2325
2489
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2326
- backgroundColor: theme?.palette?.background?.primary,
2490
+ background: theme?.colors?.background2,
2327
2491
  '&, & *, & *:before, & *:after': {
2328
2492
  fontFamily: theme?.typography?.fontFamily,
2329
2493
  boxSizing: 'border-box'
@@ -2381,14 +2545,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2381
2545
  marginBottom: '8px',
2382
2546
  fontSize: theme.typography.fontSize.subHead,
2383
2547
  letterSpacing: '3px',
2384
- color: theme?.palette?.font?.default,
2548
+ color: theme?.colors?.font3,
2385
2549
  wordBreak: 'break-word',
2386
2550
  maxWidth: '100%'
2387
2551
  },
2388
2552
  heading: {
2389
2553
  margin: '0',
2390
2554
  fontSize: theme.typography.fontSize.h1,
2391
- color: theme?.palette?.font?.default,
2555
+ color: theme?.colors?.font3,
2392
2556
  wordBreak: ({
2393
2557
  wordBreakValue
2394
2558
  }) => wordBreakValue || 'break-word',
@@ -2397,7 +2561,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2397
2561
  },
2398
2562
  description: {
2399
2563
  margin: `${theme.spacing.margin.tiny}px 0px`,
2400
- color: theme?.palette?.font?.primary,
2564
+ color: theme?.colors?.font3,
2401
2565
  lineHeight: '24px',
2402
2566
  wordBreak: 'break-word'
2403
2567
  },
@@ -2514,7 +2678,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2514
2678
  width: '26px',
2515
2679
  background: ({
2516
2680
  inverted
2517
- } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
2681
+ } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.colors.AccentColor
2518
2682
  },
2519
2683
  '@media screen and (max-width: 767px)': {
2520
2684
  sliderClass: {
@@ -2550,7 +2714,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2550
2714
  height: sizeHandler,
2551
2715
  border: ({
2552
2716
  inverted
2553
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2717
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor}`,
2554
2718
  borderRadius: '50%',
2555
2719
  display: 'flex',
2556
2720
  justifyContent: 'center',
@@ -2572,7 +2736,7 @@ function ArrowButton(props) {
2572
2736
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
2573
2737
  height: props.size === 'small' ? '12px' : '18px',
2574
2738
  name: "Angle",
2575
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2739
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor,
2576
2740
  inverted: true
2577
2741
  }));
2578
2742
  }
@@ -2782,7 +2946,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2782
2946
  justifyContent: 'center',
2783
2947
  flexDirection: 'column',
2784
2948
  alignItems: 'center',
2785
- backgroundColor: theme?.palette?.background?.default,
2786
2949
  '&, & *, & *:before, & *:after': {
2787
2950
  fontFamily: theme?.typography?.fontFamily,
2788
2951
  boxSizing: 'border-box'
@@ -2800,7 +2963,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2800
2963
  subTitleHeading: {
2801
2964
  marginBottom: '8px',
2802
2965
  fontSize: theme.typography.fontSize.subHead,
2803
- color: theme?.palette?.font?.default,
2966
+ color: theme?.colors?.black,
2804
2967
  alignItems: 'center',
2805
2968
  textAlign: 'center',
2806
2969
  wordBreak: 'break-word',
@@ -2810,7 +2973,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2810
2973
  heading: {
2811
2974
  marginBottom: theme.spacing.margin.tiny,
2812
2975
  fontSize: theme.typography.fontSize.h2,
2813
- color: theme?.palette?.font?.default,
2976
+ color: theme?.colors?.black,
2814
2977
  fontWeight: theme.typography.fontWeight.bold,
2815
2978
  textAlign: 'center',
2816
2979
  wordBreak: 'break-word'
@@ -2827,7 +2990,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2827
2990
  display: 'flex',
2828
2991
  width: 'calc(100% - 200px)',
2829
2992
  alignItems: 'center',
2830
- background: theme?.palette?.background?.default,
2993
+ background: theme?.colors?.white,
2831
2994
  boxShadow: theme?.shadows?.primary,
2832
2995
  borderRadius: theme?.shape?.borderRadius?.regular,
2833
2996
  overflow: 'hidden',
@@ -2851,33 +3014,13 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2851
3014
  '& $contentText': {
2852
3015
  marginLeft: '170px'
2853
3016
  }
2854
- },
2855
- '&:nth-child(7n+1) $contentNumber': {
2856
- background: palettes.purple.primary.lightest
2857
- },
2858
- '&:nth-child(7n+2) $contentNumber': {
2859
- background: palettes.orange.primary.lightest
2860
- },
2861
- '&:nth-child(7n+3) $contentNumber': {
2862
- background: palettes.red.primary.lightest
2863
- },
2864
- '&:nth-child(7n+4) $contentNumber': {
2865
- background: palettes.green.primary.lightest
2866
- },
2867
- '&:nth-child(7n+5) $contentNumber': {
2868
- background: palettes.pink.primary.lightest
2869
- },
2870
- '&:nth-child(7n+6) $contentNumber': {
2871
- background: palettes.blue.primary.lightest
2872
- },
2873
- '&:nth-child(7n) $contentNumber': {
2874
- background: palettes.rust.primary.lightest
2875
3017
  }
2876
3018
  },
2877
3019
  contentNumber: {
2878
3020
  position: 'absolute',
2879
3021
  top: '0',
2880
3022
  fontWeight: '700',
3023
+ background: theme?.colors?.background3,
2881
3024
  fontSize: '72px',
2882
3025
  letterSpacing: '-3px',
2883
3026
  display: 'flex',
@@ -2885,7 +3028,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2885
3028
  justifyContent: 'center',
2886
3029
  padding: '48px',
2887
3030
  height: '100%',
2888
- color: theme?.palette?.font?.default,
3031
+ color: theme?.colors?.font4,
2889
3032
  wordBreak: 'break-word'
2890
3033
  },
2891
3034
  contentText: {
@@ -2897,14 +3040,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2897
3040
  fontWeight: theme.typography.fontWeight.bold,
2898
3041
  lineHeight: '32px',
2899
3042
  marginBottom: '8px',
2900
- color: theme?.palette?.font?.default,
3043
+ color: theme?.colors?.lightblack,
2901
3044
  wordBreak: 'break-word'
2902
3045
  },
2903
3046
  contentPara: {
2904
3047
  fontStyle: 'normal',
2905
3048
  fontSize: '16px',
2906
3049
  lineHeight: '26px',
2907
- color: theme?.palette?.font?.primary,
3050
+ color: theme?.colors?.gray,
2908
3051
  wordBreak: 'break-word'
2909
3052
  },
2910
3053
  '@media screen and (max-width: 767px)': {
@@ -3317,6 +3460,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3317
3460
  return {
3318
3461
  section: {
3319
3462
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3463
+ background: theme?.colors?.background2,
3320
3464
  '&, & *, & *:before, & *:after': {
3321
3465
  fontFamily: theme?.typography?.fontFamily,
3322
3466
  boxSizing: 'border-box'
@@ -3360,7 +3504,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3360
3504
  }
3361
3505
  },
3362
3506
  imageBorder: {
3363
- border: `2px solid ${theme?.palette?.primary?.light}`,
3507
+ // border: `2px solid ${theme?.palette?.primary?.light}`,
3364
3508
  borderRadius: theme?.shape?.borderRadius?.small,
3365
3509
  position: 'absolute',
3366
3510
  width: '100%',
@@ -3385,13 +3529,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
3385
3529
  marginBottom: '8px',
3386
3530
  fontSize: theme?.typography?.fontSize?.subHead,
3387
3531
  letterSpacing: '3px',
3388
- color: theme?.palette?.font?.default,
3532
+ color: theme?.colors?.font3,
3389
3533
  wordBreak: 'break-word'
3390
3534
  },
3391
3535
  heading: {
3392
3536
  margin: '0',
3393
3537
  fontSize: theme?.typography?.fontSize?.h1,
3394
- color: theme?.palette?.font?.default,
3538
+ color: theme?.colors?.font3,
3395
3539
  wordBreak: ({
3396
3540
  wordBreakValue
3397
3541
  }) => wordBreakValue || 'break-word',
@@ -3401,7 +3545,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3401
3545
  description: {
3402
3546
  marginTop: theme.spacing.margin.tiny,
3403
3547
  marginBottom: theme.spacing.margin.tiny,
3404
- color: theme?.palette?.font?.primary,
3548
+ color: theme?.colors?.font3,
3405
3549
  lineHeight: '24px',
3406
3550
  wordBreak: 'break-word'
3407
3551
  },
@@ -3567,16 +3711,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3567
3711
  containerWidth
3568
3712
  } = {}) => containerWidth
3569
3713
  },
3570
- partialBackground: {
3571
- top: '0',
3572
- left: '0',
3573
- width: '100%',
3574
- height: '50%',
3575
- position: 'absolute',
3576
- background: theme?.palette?.background?.primary
3577
- },
3714
+ // partialBackground: {
3715
+ // top: '0',
3716
+ // left: '0',
3717
+ // width: '100%',
3718
+ // height: '50%',
3719
+ // position: 'absolute',
3720
+ // background: theme?.palette?.background?.primary
3721
+ // },
3578
3722
  sectionContainer: {
3579
- backgroundColor: theme?.palette?.background?.default,
3723
+ backgroundColor: theme?.colors?.background2,
3580
3724
  boxShadow: theme?.shadows?.secondary,
3581
3725
  borderRadius: theme?.shape?.borderRadius?.regular,
3582
3726
  padding: theme.spacing.padding.small,
@@ -3587,7 +3731,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3587
3731
  fontWeight: theme.typography.fontWeight.bold,
3588
3732
  lineHeight: '71px',
3589
3733
  letterSpacing: '-3px',
3590
- color: theme?.palette?.font?.default,
3734
+ color: theme?.colors?.font3,
3591
3735
  marginBottom: theme.spacing.padding.tiny,
3592
3736
  wordBreak: 'break-word'
3593
3737
  },
@@ -3599,7 +3743,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3599
3743
  title: {
3600
3744
  fontSize: theme.typography.fontSize.h6,
3601
3745
  lineHeight: '32px',
3602
- color: theme?.palette?.font?.primary,
3746
+ color: theme?.colors?.font3,
3603
3747
  wordBreak: 'break-word',
3604
3748
  flex: 1
3605
3749
  },
@@ -3727,8 +3871,8 @@ const inputStyles = createUseStyles(theme => ({
3727
3871
  inputField: {
3728
3872
  width: '100%',
3729
3873
  // maxWidth: '314px',
3730
- background: theme?.palette?.background?.default,
3731
- border: `1px solid ${theme?.palette?.border?.secondary}`,
3874
+ // background: theme?.palette?.background?.default,
3875
+ border: `1px solid ${theme?.colors?.icon}`,
3732
3876
  borderRadius: theme?.shape?.borderRadius?.regular,
3733
3877
  padding: '14px 12px',
3734
3878
  display: 'flex',
@@ -3742,7 +3886,7 @@ const inputStyles = createUseStyles(theme => ({
3742
3886
  fontWeight: '400',
3743
3887
  fontSize: '16px',
3744
3888
  lineHeight: '20px',
3745
- color: theme?.palette?.font?.primary,
3889
+ color: theme?.colors?.black,
3746
3890
  fontFamily: theme?.typography?.fontFamily
3747
3891
  },
3748
3892
  '&:focus': {
@@ -3942,7 +4086,6 @@ var index$h = /*#__PURE__*/Object.freeze({
3942
4086
 
3943
4087
  const useTestimonialStyles = createUseStyles(theme => ({
3944
4088
  testimonialContainer: {
3945
- background: theme?.palette?.background?.primary,
3946
4089
  overflow: 'hidden',
3947
4090
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3948
4091
  '&, & *, & *:before, & *:after': {
@@ -3960,14 +4103,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
3960
4103
  } = {}) => containerWidth
3961
4104
  },
3962
4105
  testimonialText: {
3963
- color: theme?.palette?.font?.default,
4106
+ color: theme?.colors?.lightblack,
3964
4107
  fontSize: theme.typography.fontSize.subHead,
3965
4108
  wordBreak: 'break-word',
3966
4109
  textTransform: 'uppercase'
3967
4110
  },
3968
4111
  testimonialHeader: {
3969
4112
  fontSize: theme.typography.fontSize.h2,
3970
- color: theme?.palette?.font?.default,
4113
+ color: theme?.colors?.lightblack,
3971
4114
  fontWeight: theme.typography.fontWeight.bold,
3972
4115
  marginBottom: theme.spacing.margin.tiny,
3973
4116
  marginTop: '8px',
@@ -3984,7 +4127,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3984
4127
  position: 'relative',
3985
4128
  height: 'calc(100% - 12px)',
3986
4129
  width: 'calc(100% - 24px)',
3987
- background: theme?.palette?.background?.default,
4130
+ background: theme?.colors?.background1,
3988
4131
  boxShadow: theme?.shadows?.primary,
3989
4132
  borderRadius: theme?.shape?.borderRadius?.regular
3990
4133
  },
@@ -4011,7 +4154,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4011
4154
  marginBottom: theme.spacing.margin.tiny,
4012
4155
  fontSize: theme.typography.fontSize.body,
4013
4156
  wordBreak: 'break-word',
4014
- color: theme?.palette?.font?.primary,
4157
+ color: theme?.colors?.font1,
4015
4158
  lineHeight: '26px'
4016
4159
  },
4017
4160
  userContainer: {
@@ -4040,7 +4183,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4040
4183
  marginRight: '16px'
4041
4184
  },
4042
4185
  userName: {
4043
- color: theme?.palette?.font?.default,
4186
+ color: theme?.colors?.font1,
4044
4187
  margin: '0',
4045
4188
  fontSize: theme.typography.fontSize.h5,
4046
4189
  // paddingTop: '16px',
@@ -4059,19 +4202,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
4059
4202
  testimonialContainer: {
4060
4203
  padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
4061
4204
  },
4062
- // testimonialCardAndText: {
4063
- // margin: '0 20px'
4064
- // },
4065
-
4066
- // testimonialHeader: {
4067
- // fontSize: '24px',
4068
- // color: theme?.palette?.font?.default,
4069
- // margin: '4px 0 12px 0',
4070
- // overflow: 'hidden',
4071
- // // whiteSpace: 'nowrap',
4072
- // wordBreak: 'break-word',
4073
- // textOverflow: 'ellipsis'
4074
- // },
4075
4205
  testimonialText: {
4076
4206
  textAlign: 'center'
4077
4207
  },
@@ -4124,7 +4254,7 @@ function QuotesComponent() {
4124
4254
  width: "28px",
4125
4255
  height: "21px",
4126
4256
  name: "Quote",
4127
- color: theme?.palette?.primary?.main
4257
+ color: theme?.colors?.icon
4128
4258
  }));
4129
4259
  }
4130
4260
 
@@ -4654,7 +4784,7 @@ const useVideoStyles = createUseStyles(theme => {
4654
4784
  padding: ({
4655
4785
  isMobile
4656
4786
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4657
- backgroundColor: theme?.palette?.background?.primary,
4787
+ backgroundColor: theme?.colors?.background2,
4658
4788
  '&, & *, & *:before, & *:after': {
4659
4789
  fontFamily: theme?.typography?.fontFamily,
4660
4790
  boxSizing: 'border-box'
@@ -4677,7 +4807,7 @@ const useVideoStyles = createUseStyles(theme => {
4677
4807
  fontSize: theme.typography.fontSize.subHead,
4678
4808
  textTransform: 'uppercase',
4679
4809
  lineHeight: '20px',
4680
- color: theme?.palette?.font?.default,
4810
+ color: theme?.colors?.font2,
4681
4811
  letterSpacing: '3px',
4682
4812
  wordBreak: 'break-word'
4683
4813
  },
@@ -4688,14 +4818,14 @@ const useVideoStyles = createUseStyles(theme => {
4688
4818
  letterSpacing: '-3px',
4689
4819
  marginBottom: theme.spacing.margin.tiny,
4690
4820
  marginTop: '8px',
4691
- color: theme?.palette?.font?.default,
4821
+ color: theme?.colors?.font2,
4692
4822
  wordBreak: 'break-word'
4693
4823
  },
4694
4824
  sliderContainer: {
4695
4825
  marginRight: `-${theme.spacing.padding.medium}px`
4696
4826
  },
4697
4827
  singleSlideContainer: {
4698
- backgroundColor: theme?.palette?.background?.default,
4828
+ backgroundColor: 'white',
4699
4829
  // margin: '20px',
4700
4830
  width: 'calc(100% - 24px)',
4701
4831
  height: 'calc(100% - 40px)',
@@ -4732,14 +4862,14 @@ const useVideoStyles = createUseStyles(theme => {
4732
4862
  fontWeight: theme.typography.fontWeight.bold,
4733
4863
  lineHeight: '32px',
4734
4864
  marginBottom: '8px',
4735
- color: theme?.palette?.font?.default,
4865
+ color: theme?.colors?.lightblack,
4736
4866
  wordBreak: 'break-word'
4737
4867
  },
4738
4868
  videoDetailsSubHeading: {
4739
4869
  fontSize: theme.typography.fontSize.body,
4740
4870
  lineHeight: '24px',
4741
4871
  wordBreak: 'break-word',
4742
- color: theme?.palette?.font?.primary
4872
+ color: theme?.colors?.gray
4743
4873
  },
4744
4874
  '@media (max-width: 767px)': {
4745
4875
  videoHeading: {
@@ -4886,11 +5016,10 @@ var index$e = /*#__PURE__*/Object.freeze({
4886
5016
 
4887
5017
  const useSectionStyles$3 = createUseStyles(theme => ({
4888
5018
  section: {
4889
- position: 'relative',
4890
5019
  padding: ({
4891
5020
  isMobile
4892
5021
  } = {}) => 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`,
4893
- backgroundColor: theme?.palette?.background?.default,
5022
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
4894
5023
  '&, & *, & *:before, & *:after': {
4895
5024
  fontFamily: theme?.typography?.fontFamily,
4896
5025
  boxSizing: 'border-box'
@@ -4909,21 +5038,13 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4909
5038
  containerWidth
4910
5039
  } = {}) => containerWidth
4911
5040
  },
4912
- partialBackground: {
4913
- position: 'absolute',
4914
- top: '0',
4915
- left: '0',
4916
- height: '50%',
4917
- background: theme?.palette?.background?.primary,
4918
- width: '100%'
4919
- },
4920
5041
  content: {
4921
5042
  position: 'relative'
4922
5043
  },
4923
5044
  subTitleHeading: {
4924
5045
  width: '100%',
4925
5046
  fontSize: theme.typography.fontSize.subHead,
4926
- color: theme?.palette?.font?.default,
5047
+ color: theme?.colors?.font2,
4927
5048
  textTransform: 'uppercase',
4928
5049
  textAlign: 'left',
4929
5050
  lineHeight: '20px',
@@ -4935,7 +5056,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4935
5056
  fontSize: theme.typography.fontSize.h2,
4936
5057
  width: '100%',
4937
5058
  lineHeight: '70px',
4938
- color: theme?.palette?.font?.default,
5059
+ color: theme?.colors?.font2,
4939
5060
  textAlign: 'left',
4940
5061
  wordBreak: 'break-word'
4941
5062
  },
@@ -4945,7 +5066,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4945
5066
  // },
4946
5067
 
4947
5068
  card: {
4948
- background: theme?.palette?.background?.default,
5069
+ background: theme?.colors?.white,
4949
5070
  boxShadow: theme?.shadows?.primary,
4950
5071
  borderRadius: theme.shape.borderRadius.large,
4951
5072
  margin: ({
@@ -4966,7 +5087,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4966
5087
  textAlign: 'center',
4967
5088
  fontSize: theme.typography.fontSize.h6,
4968
5089
  fontWeight: theme.typography.fontWeight.bold,
4969
- color: theme?.palette?.font?.default,
5090
+ color: theme?.colors?.lightblack,
4970
5091
  margin: `16px 0px`,
4971
5092
  wordBreak: 'break-word'
4972
5093
  },
@@ -4978,7 +5099,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4978
5099
  alignItems: 'center',
4979
5100
  justifyContent: 'center',
4980
5101
  borderRadius: '50%',
4981
- background: theme?.palette?.background?.primary
5102
+ background: theme?.colors?.background2
4982
5103
  },
4983
5104
  buttonContainerClass: {
4984
5105
  marginRight: theme.spacing.margin.regular,
@@ -4992,7 +5113,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4992
5113
  textAlign: 'center',
4993
5114
  fontSize: theme.typography.fontSize.body,
4994
5115
  lineHeight: '22px',
4995
- color: theme?.palette?.font?.primary,
5116
+ color: theme?.colors?.gray,
4996
5117
  margin: '0',
4997
5118
  wordBreak: 'break-word'
4998
5119
  },
@@ -5078,7 +5199,7 @@ function Info({
5078
5199
  className: classes.imageContainer
5079
5200
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
5080
5201
  name: dt.icon.metadata.value,
5081
- color: theme.palette.primary.main,
5202
+ color: theme?.colors?.icon,
5082
5203
  width: isMobile ? '30px' : '40px',
5083
5204
  height: isMobile ? '30px' : '40px'
5084
5205
  })), /*#__PURE__*/React__default["default"].createElement("h3", {
@@ -5135,7 +5256,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5135
5256
  padding: ({
5136
5257
  isMobile
5137
5258
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5138
- backgroundColor: theme?.palette?.background?.default,
5259
+ backgroundColor: theme?.colors?.background2,
5139
5260
  '&, & *, & *:before, & *:after': {
5140
5261
  fontFamily: theme?.typography?.fontFamily,
5141
5262
  boxSizing: 'border-box'
@@ -5152,7 +5273,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5152
5273
  subHeading: {
5153
5274
  fontSize: theme.typography.fontSize.subHead,
5154
5275
  marginBottom: '8px',
5155
- color: theme?.palette?.font?.default,
5276
+ color: theme?.colors?.font3,
5156
5277
  wordBreak: 'break-word',
5157
5278
  textTransform: 'uppercase',
5158
5279
  letterSpacing: '3px'
@@ -5162,7 +5283,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5162
5283
  fontWeight: theme.typography.fontWeight.bold,
5163
5284
  lineHeight: 'normal',
5164
5285
  margin: '0',
5165
- color: theme?.palette?.font?.default,
5286
+ color: theme?.colors?.font3,
5166
5287
  wordBreak: 'break-word',
5167
5288
  marginBottom: theme.spacing.margin.tiny
5168
5289
  },
@@ -5173,7 +5294,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5173
5294
  padding: '32px 0px'
5174
5295
  },
5175
5296
  textPara: {
5176
- color: theme?.palette?.font?.primary,
5297
+ color: theme?.colors?.font3,
5177
5298
  wordBreak: 'break-word',
5178
5299
  fontSize: theme.typography.fontSize.body,
5179
5300
  lineHeight: '24px'
@@ -5480,7 +5601,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5480
5601
  padding: ({
5481
5602
  isMobile
5482
5603
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5483
- backgroundColor: theme?.palette?.background?.primary,
5604
+ backgroundColor: theme?.colors?.background2,
5484
5605
  '&, & *, & *:before, & *:after': {
5485
5606
  fontFamily: theme?.typography?.fontFamily,
5486
5607
  boxSizing: 'border-box'
@@ -5495,7 +5616,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5495
5616
  } = {}) => containerWidth
5496
5617
  },
5497
5618
  sectionSubheading: {
5498
- color: theme?.palette?.font.default,
5619
+ color: theme?.colors?.font3,
5499
5620
  fontSize: theme.typography.fontSize.subHead,
5500
5621
  marginBottom: '8px',
5501
5622
  wordBreak: 'break-word'
@@ -5504,15 +5625,16 @@ const useFaqListStyles = createUseStyles(theme => ({
5504
5625
  fontSize: theme.typography.fontSize.h2,
5505
5626
  fontWeight: theme.typography.fontWeight.bold,
5506
5627
  wordBreak: 'break-word',
5507
- marginBottom: `${theme.spacing.margin.tiny}px`
5628
+ marginBottom: `${theme.spacing.margin.tiny}px`,
5629
+ color: theme?.colors?.font3
5508
5630
  },
5509
5631
  container: {
5510
5632
  boxShadow: theme?.shadows?.secondary,
5511
5633
  borderRadius: '8px',
5512
- backgroundColor: theme?.palette?.background?.default
5634
+ backgroundColor: theme?.colors?.white
5513
5635
  },
5514
5636
  basicCardContainer: {
5515
- borderBottom: theme?.borders?.secondary,
5637
+ borderBottom: `1px solid #D8E0F0`,
5516
5638
  padding: `${theme.spacing.padding.tiny}px`
5517
5639
  },
5518
5640
  innerContainer: {
@@ -5531,14 +5653,14 @@ const useFaqListStyles = createUseStyles(theme => ({
5531
5653
  alignItems: 'center'
5532
5654
  },
5533
5655
  title: {
5534
- color: theme?.palette?.font.default,
5656
+ color: theme?.colors?.lightblack,
5535
5657
  fontSize: theme.typography.fontSize.h5,
5536
5658
  fontWeight: theme.typography.fontWeight.bold,
5537
5659
  margin: '0',
5538
5660
  wordBreak: 'break-word'
5539
5661
  },
5540
5662
  content: {
5541
- color: theme?.palette?.font.primary,
5663
+ color: theme?.colors?.lightblack,
5542
5664
  fontSize: theme.typography.fontSize.body,
5543
5665
  lineHeight: '24px',
5544
5666
  maxHeight: ({
@@ -5658,11 +5780,10 @@ var index$a = /*#__PURE__*/Object.freeze({
5658
5780
 
5659
5781
  const useTextGridStyles = createUseStyles(theme => ({
5660
5782
  section: {
5783
+ background: theme.colors.background1,
5661
5784
  padding: ({
5662
5785
  isMobile
5663
5786
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5664
- // backgroundColor: theme?.palette?.background?.primary,
5665
-
5666
5787
  '&, & *, & *:before, & *:after': {
5667
5788
  fontFamily: theme?.typography?.fontFamily,
5668
5789
  boxSizing: 'border-box'
@@ -5670,14 +5791,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5670
5791
  '& h2,& h3,& p': {
5671
5792
  marginTop: '0'
5672
5793
  }
5673
- // '& h2,& h3': {
5674
- // fontWeight: '500',
5675
- // '& b,& strong': {
5676
- // fontWeight: '700'
5677
- // }
5678
- // }
5679
5794
  },
5680
-
5681
5795
  sectionContainer: {
5682
5796
  margin: '0 auto',
5683
5797
  maxWidth: ({
@@ -5685,7 +5799,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5685
5799
  } = {}) => containerWidth
5686
5800
  },
5687
5801
  subheading: {
5688
- color: theme?.palette?.font.default,
5802
+ color: theme?.colors?.font1,
5689
5803
  fontSize: theme.typography.fontSize.subHead,
5690
5804
  lineHeight: '20px',
5691
5805
  letterSpacing: '3px',
@@ -5699,7 +5813,8 @@ const useTextGridStyles = createUseStyles(theme => ({
5699
5813
  fontWeight: theme.typography.fontWeight.bold,
5700
5814
  letterSpacing: '-3px',
5701
5815
  marginBottom: theme.spacing.margin.tiny,
5702
- wordBreak: 'break-word'
5816
+ wordBreak: 'break-word',
5817
+ color: theme?.colors?.font1
5703
5818
  },
5704
5819
  sliderContainer: {
5705
5820
  margin: '0 -10px'
@@ -5969,7 +6084,7 @@ const useCourseStyles = createUseStyles(theme => {
5969
6084
  display: 'flex',
5970
6085
  justifyContent: 'flex-start',
5971
6086
  alignItems: 'center',
5972
- fontSize: theme.typography.fontSize.subHead,
6087
+ fontSize: theme.typography.fontSize.body,
5973
6088
  color: theme?.palette?.font?.primary,
5974
6089
  '& img': {
5975
6090
  marginRight: '5px'
@@ -6002,8 +6117,8 @@ const useCourseStyles = createUseStyles(theme => {
6002
6117
  },
6003
6118
  courseCardBuyBtn: {
6004
6119
  cursor: 'pointer',
6005
- background: theme?.palette?.primary?.main,
6006
- color: theme?.palette?.font?.invertedDefault,
6120
+ background: theme?.colors?.ctaColor,
6121
+ color: theme?.colors?.CtaTextColor,
6007
6122
  padding: '8px 16px',
6008
6123
  fontWeight: theme.typography.fontWeight.bold,
6009
6124
  cursor: 'pointer',
@@ -6376,11 +6491,10 @@ var index$8 = /*#__PURE__*/Object.freeze({
6376
6491
  const useTeamStyles = createUseStyles(theme => {
6377
6492
  return {
6378
6493
  teamSuperContainer: {
6494
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6379
6495
  padding: ({
6380
6496
  isMobile
6381
6497
  } = {}) => 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`,
6382
- // backgroundColor: theme?.palette?.background?.primary,
6383
-
6384
6498
  '&, & *, & *:before, & *:after': {
6385
6499
  fontFamily: theme?.typography?.fontFamily,
6386
6500
  boxSizing: 'border-box'
@@ -6401,25 +6515,17 @@ const useTeamStyles = createUseStyles(theme => {
6401
6515
  lineHeight: '20px',
6402
6516
  letterSpacing: '3px',
6403
6517
  marginBottom: '8px',
6404
- color: theme?.palette?.font?.default,
6518
+ color: theme?.colors?.font2,
6405
6519
  // wordBreak: 'break-word',
6406
6520
  position: 'relative'
6407
6521
  },
6408
- partialBackground: {
6409
- position: 'absolute',
6410
- top: '0',
6411
- left: '0',
6412
- height: '50%',
6413
- background: theme?.palette?.background?.primary,
6414
- width: '100%'
6415
- },
6416
6522
  teamTitle: {
6417
6523
  fontSize: theme.typography.fontSize.h2,
6418
6524
  fontWeight: theme.typography.fontWeight.bold,
6419
6525
  lineHeight: '70px',
6420
6526
  letterSpacing: '-3px',
6421
6527
  wordBreak: 'break-word',
6422
- color: theme?.palette?.font?.default,
6528
+ color: theme?.colors?.font2,
6423
6529
  position: 'relative'
6424
6530
  },
6425
6531
  sliderContainer: {
@@ -6511,12 +6617,10 @@ const useTeamStyles = createUseStyles(theme => {
6511
6617
  teamDetailsHeading: {
6512
6618
  fontSize: '16px',
6513
6619
  lineHeight: '24px',
6514
- margin: '0',
6515
- color: theme?.palette?.font?.body
6620
+ margin: '0'
6516
6621
  },
6517
6622
  teamDetailsSubHeading: {
6518
- marginTop: '0px',
6519
- color: theme?.palette?.font?.primary
6623
+ marginTop: '0px'
6520
6624
  }
6521
6625
  }
6522
6626
  };
@@ -6627,7 +6731,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6627
6731
  justifyContent: 'center',
6628
6732
  flexDirection: 'column',
6629
6733
  alignItems: 'center',
6630
- backgroundColor: theme?.palette?.background?.default,
6734
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6631
6735
  padding: ({
6632
6736
  isMobile
6633
6737
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
@@ -6649,16 +6753,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6649
6753
  containerWidth
6650
6754
  } = {}) => containerWidth
6651
6755
  },
6652
- partialBackground: {
6653
- top: '0',
6654
- left: '0',
6655
- width: '100%',
6656
- height: '50%',
6657
- position: 'absolute',
6658
- background: theme?.palette?.background?.primary
6659
- },
6756
+ // partialBackground: {
6757
+ // top: '0',
6758
+ // left: '0',
6759
+ // width: '100%',
6760
+ // height: '50%',
6761
+ // position: 'absolute',
6762
+ // background: theme?.colors?.white
6763
+ // },
6660
6764
  sectionContainer: {
6661
- backgroundColor: theme?.palette?.background?.default,
6765
+ backgroundColor: theme?.colors?.white,
6662
6766
  boxShadow: theme?.shadows?.secondary,
6663
6767
  borderRadius: theme?.shape?.borderRadius?.regular,
6664
6768
  padding: '48px',
@@ -6667,7 +6771,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6667
6771
  title: {
6668
6772
  margin: '0',
6669
6773
  fontSize: theme.typography.fontSize.h2,
6670
- color: theme?.palette?.font?.default,
6774
+ color: theme?.colors?.lightblack,
6671
6775
  fontWeight: theme.typography.fontWeight.bold,
6672
6776
  lineHeight: '71px',
6673
6777
  letterSpacing: '-3px',
@@ -6690,7 +6794,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6690
6794
  subtitle: {
6691
6795
  // margin: '0 0 40px 0',
6692
6796
  fontSize: theme.typography.fontSize.h5,
6693
- color: theme?.palette?.font?.default,
6797
+ color: theme?.colors?.lightblack,
6694
6798
  lineHeight: '32px',
6695
6799
  wordBreak: 'break-word',
6696
6800
  marginBottom: '32px'
@@ -6713,7 +6817,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6713
6817
  },
6714
6818
  addressText: {
6715
6819
  fontSize: theme.typography.fontSize.h6,
6716
- color: theme?.palette?.font?.default,
6820
+ color: theme?.colors?.lightblack,
6717
6821
  lineHeight: '24px',
6718
6822
  fontSize: '16px'
6719
6823
  },
@@ -7050,7 +7154,7 @@ const useSectionStyles = createUseStyles(theme => ({
7050
7154
  padding: ({
7051
7155
  isMobile
7052
7156
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
7053
- backgroundColor: theme?.palette?.background?.default,
7157
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
7054
7158
  '&, & *, & *:before, & *:after': {
7055
7159
  fontFamily: theme?.typography?.fontFamily,
7056
7160
  boxSizing: 'border-box'
@@ -7070,16 +7174,8 @@ const useSectionStyles = createUseStyles(theme => ({
7070
7174
  containerWidth
7071
7175
  } = {}) => containerWidth
7072
7176
  },
7073
- partialBackground: {
7074
- top: '0',
7075
- left: '0',
7076
- width: '100%',
7077
- height: '50%',
7078
- position: 'absolute',
7079
- background: theme?.palette?.background?.primary
7080
- },
7081
7177
  sectionContainer: {
7082
- backgroundColor: theme?.palette?.background?.default,
7178
+ backgroundColor: theme?.colors?.white,
7083
7179
  boxShadow: theme?.shadows?.secondary,
7084
7180
  borderRadius: theme?.shape?.borderRadius?.regular,
7085
7181
  padding: '48px',
@@ -7088,7 +7184,7 @@ const useSectionStyles = createUseStyles(theme => ({
7088
7184
  title: {
7089
7185
  margin: '0',
7090
7186
  fontSize: theme.typography.fontSize.h2,
7091
- color: theme?.palette?.font?.default,
7187
+ color: theme?.colors?.lightblack?.default,
7092
7188
  lineHeight: '71px',
7093
7189
  letterSpacing: '-3px',
7094
7190
  textAlign: 'left',
@@ -7113,7 +7209,7 @@ const useSectionStyles = createUseStyles(theme => ({
7113
7209
  subtitle: {
7114
7210
  // margin: '0 0 auto 0',
7115
7211
  fontSize: theme.typography.fontSize.h6,
7116
- color: theme?.palette?.font?.default,
7212
+ color: theme?.colors?.lightblack,
7117
7213
  // lineHeight: '32px',
7118
7214
  // margin: '16px 0',
7119
7215
  textAlign: 'center',
@@ -7144,8 +7240,8 @@ const useSectionStyles = createUseStyles(theme => ({
7144
7240
  inputField: {
7145
7241
  width: '100%',
7146
7242
  // maxWidth: '314px',
7147
- background: theme?.palette?.background?.default,
7148
- border: `1px solid ${theme?.palette?.border?.secondary}`,
7243
+ // background: theme?.palette?.background?.default,
7244
+ border: `1px solid ${theme?.colors?.cta}`,
7149
7245
  borderRadius: theme?.shape?.borderRadius?.regular,
7150
7246
  // padding: '14px 12px',
7151
7247
  display: 'flex',
@@ -7158,7 +7254,7 @@ const useSectionStyles = createUseStyles(theme => ({
7158
7254
  fontWeight: '400',
7159
7255
  fontSize: theme.typography.fontSize.subHead,
7160
7256
  lineHeight: '20px',
7161
- color: theme?.palette?.font?.primary,
7257
+ color: theme?.colors?.lightblack,
7162
7258
  fontFamily: theme?.typography?.fontFamily
7163
7259
  },
7164
7260
  '&:focus': {
@@ -7471,6 +7567,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7471
7567
  webinarSuperContainer: {
7472
7568
  display: 'flex',
7473
7569
  justifyContent: 'center',
7570
+ background: theme.colors.background1,
7474
7571
  padding: ({
7475
7572
  isMobile
7476
7573
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7493,30 +7590,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7493
7590
  maxWidth: '1440px',
7494
7591
  fontFamily: theme?.typography?.fontFamily
7495
7592
  },
7496
- // videoTestimonialHeading: {
7497
- // fontSize: theme.typography.fontSize.subHead,
7498
- // lineHeight: '20px',
7499
- // letterSpacing: '3px',
7500
- // textTransform: 'uppercase',
7501
- // color: theme.palette.font.tertiary,
7502
- // wordBreak: 'break-word',
7503
- // fontWeight: theme.typography.fontWeight.bold,
7504
- // },
7505
-
7506
- // videoTestimonialTitle: {
7507
- // fontSize: theme.typography.fontSize.h2,
7508
- // lineHeight: '71px',
7509
- // fontWeight: theme.typography.fontWeight.bold,
7510
- // letterSpacing: '-3px',
7511
- // margin: '0',
7512
- // color: theme.palette.font.default,
7513
- // wordBreak: 'break-word'
7514
- // },
7515
-
7516
- // videoCarouselContainer: {
7517
- // marginTop: '16px'
7518
- // },
7519
-
7520
7593
  webinarCarousel: {
7521
7594
  display: 'flex',
7522
7595
  justifyContent: 'flex-start',
@@ -7545,8 +7618,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7545
7618
  },
7546
7619
  offerText: {
7547
7620
  textAlign: 'center',
7548
- color: theme.palette.font.primary,
7549
- marginBottom: '5%'
7621
+ color: theme?.colors?.lightblack,
7622
+ marginBottom: '5% !important',
7623
+ fontWeight: '700'
7550
7624
  },
7551
7625
  offerPrice: {
7552
7626
  fontSize: theme.typography.fontSize.h5,
@@ -7592,7 +7666,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7592
7666
  margin: '0',
7593
7667
  letterSpacing: '-1px',
7594
7668
  wordBreak: wordBreakValue => wordBreakValue || 'break-word',
7595
- color: theme.palette.font.default
7669
+ color: theme?.colors?.font1
7596
7670
  },
7597
7671
  courseViewContainer: {
7598
7672
  width: '645px',
@@ -7606,8 +7680,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7606
7680
  },
7607
7681
  bannerContainer: {
7608
7682
  width: '100%',
7609
- background: '#EB5757',
7610
- color: '#fff',
7683
+ background: theme?.colors?.bannerColor,
7684
+ color: theme?.colors?.bannerCtaColor,
7685
+ fontWeight: '600',
7611
7686
  textAlign: 'center',
7612
7687
  padding: '10px 10px 23px 40px',
7613
7688
  wordWrap: 'break-word',
@@ -7626,24 +7701,26 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7626
7701
  display: 'flex',
7627
7702
  alignItems: 'center',
7628
7703
  marginRight: '20px',
7704
+ color: theme?.colors?.font1,
7629
7705
  '& div': {
7630
- fontSize: theme.typography.fontSize.subHead,
7706
+ fontSize: theme.typography.fontSize.body,
7631
7707
  marginLeft: '10px'
7632
7708
  }
7633
7709
  },
7634
7710
  courseDetailContent: {
7635
- fontSize: theme.typography.fontSize.subHead,
7711
+ fontSize: theme.typography.fontSize.body,
7712
+ lineHeight: '21px',
7636
7713
  wordBreak: 'break-word',
7637
- color: theme.palette.font.primary,
7714
+ color: theme?.colors?.font1,
7638
7715
  whiteSpace: 'pre-wrap',
7639
7716
  width: '80%'
7640
7717
  },
7641
7718
  courseDetailViewFullDetails: {
7642
7719
  cursor: 'pointer',
7643
- fontSize: theme.typography.fontSize.subHead,
7720
+ fontSize: theme.typography.fontSize.body,
7644
7721
  lineHeight: '24px',
7722
+ color: theme?.colors?.font1,
7645
7723
  marginTop: '-20px',
7646
- color: '#00ADE7',
7647
7724
  wordBreak: 'break-word'
7648
7725
  },
7649
7726
  courseDetailTime: {
@@ -7658,7 +7735,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7658
7735
  display: 'flex',
7659
7736
  width: '36px',
7660
7737
  height: '36px',
7661
- backgroundColor: 'rgb(240, 244, 248)',
7738
+ backgroundColor: theme?.colors?.icon,
7662
7739
  justifyContent: 'center',
7663
7740
  alignItems: 'center',
7664
7741
  borderRadius: '6px'
@@ -7850,14 +7927,15 @@ const SingleVideoSlide$1 = props => {
7850
7927
  className: classes.iconBackground
7851
7928
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
7852
7929
  name: 'Calendar',
7853
- color: theme.palette.primary.main
7930
+ width: "24px",
7931
+ color: theme?.colors?.background2
7854
7932
  })), /*#__PURE__*/React__default["default"].createElement("div", null, moment__default["default"](data.startDate).locale(momentLocale).format('Do MMM YY') + ' ', moment__default["default"](data.startTime).locale(momentLocale).format('h:mm A'), /*#__PURE__*/React__default["default"].createElement("span", null, " - "), moment__default["default"](data.endTime).locale(momentLocale).format('h:mm A'))), /*#__PURE__*/React__default["default"].createElement("div", {
7855
7933
  className: classes.courseDetailTag
7856
7934
  }, /*#__PURE__*/React__default["default"].createElement("span", {
7857
7935
  className: classes.iconBackground
7858
7936
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
7859
- color: theme.palette.primary.main,
7860
- width: "20px",
7937
+ color: theme?.colors?.background2,
7938
+ width: "24px",
7861
7939
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7862
7940
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("p", {
7863
7941
  ref: data?.videoTextContent?.refSetter,
@@ -7964,13 +8042,15 @@ var index$4 = /*#__PURE__*/Object.freeze({
7964
8042
  });
7965
8043
 
7966
8044
  const useCoursePromotionPage = createUseStyles(theme => {
8045
+ console.log(theme, 'themere');
7967
8046
  return {
7968
8047
  courseSuperContainer: {
7969
8048
  display: 'flex',
7970
8049
  justifyContent: 'center',
8050
+ background: theme?.colors?.background1,
7971
8051
  padding: ({
7972
8052
  isMobile
7973
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8053
+ } = {}) => isMobile ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7974
8054
  '&, & *, & *:before, & *:after': {
7975
8055
  fontFamily: theme?.typography?.fontFamily,
7976
8056
  boxSizing: 'border-box'
@@ -8041,7 +8121,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8041
8121
 
8042
8122
  offerText: {
8043
8123
  textAlign: 'center',
8044
- color: theme.palette.font.primary
8124
+ color: theme.palette.font.primary,
8125
+ fontWeight: '700'
8045
8126
  },
8046
8127
  offerPrice: {
8047
8128
  fontSize: theme.typography.fontSize.h4,
@@ -8088,7 +8169,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8088
8169
  margin: '0',
8089
8170
  letterSpacing: '-1px',
8090
8171
  wordBreak: 'break-word',
8091
- color: theme.palette.font.default
8172
+ color: theme?.colors?.font1
8092
8173
  },
8093
8174
  courseViewContainer: {
8094
8175
  width: '445px',
@@ -8103,8 +8184,9 @@ const useCoursePromotionPage = createUseStyles(theme => {
8103
8184
 
8104
8185
  bannerContainer: {
8105
8186
  width: '100%',
8106
- background: '#EB5757',
8107
- color: '#fff',
8187
+ background: theme?.colors?.bannerColor,
8188
+ color: theme?.colors?.bannerCtaColor,
8189
+ fontWeight: '600',
8108
8190
  textAlign: 'center',
8109
8191
  padding: '10px 10px 23px 40px',
8110
8192
  wordWrap: 'break-word',
@@ -8125,8 +8207,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8125
8207
  },
8126
8208
  courseEmblem: {
8127
8209
  background: '#F0F4F8',
8128
- fontSize: '18px',
8129
- borderRadius: '2.00337px',
8210
+ fontSize: theme.typography.fontSize.body,
8211
+ borderRadius: '4px',
8130
8212
  padding: '8px',
8131
8213
  display: 'flex',
8132
8214
  alignItems: 'center',
@@ -8142,6 +8224,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8142
8224
  display: 'flex',
8143
8225
  alignItems: 'center',
8144
8226
  marginRight: '20px',
8227
+ color: theme?.colors?.font1,
8145
8228
  '& div': {
8146
8229
  fontSize: theme.typography.fontSize.body,
8147
8230
  fontWeight: theme.typography.fontWeight.medium,
@@ -8149,20 +8232,21 @@ const useCoursePromotionPage = createUseStyles(theme => {
8149
8232
  }
8150
8233
  },
8151
8234
  courseDetailContent: {
8152
- // marginTop: '16px',
8235
+ marginTop: '20px',
8153
8236
  fontSize: theme.typography.fontSize.body,
8154
- lineHeight: '24px',
8237
+ lineHeight: '21px',
8155
8238
  wordBreak: 'break-word',
8156
- color: theme.palette.font.primary,
8239
+ color: theme?.colors?.font1,
8157
8240
  whiteSpace: 'pre-wrap',
8158
8241
  margin: '10px 0 20px'
8159
8242
  },
8160
8243
  courseDetailViewFullDetails: {
8161
8244
  cursor: 'pointer',
8162
- fontSize: theme.typography.fontSize.subHead,
8163
- lineHeight: '24px',
8164
- marginTop: '-24px',
8165
- color: '#00ADE7',
8245
+ fontSize: theme.typography.fontSize.body,
8246
+ textDecoration: 'underline',
8247
+ lineHeight: '21px',
8248
+ marginTop: '20px',
8249
+ color: theme.colors?.font1,
8166
8250
  wordBreak: 'break-word'
8167
8251
  },
8168
8252
  courseDetailTime: {
@@ -8173,7 +8257,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8173
8257
  display: 'flex',
8174
8258
  width: '36px',
8175
8259
  height: '36px',
8176
- backgroundColor: 'rgb(240, 244, 248)',
8260
+ backgroundColor: theme?.colors?.icon,
8177
8261
  justifyContent: 'center',
8178
8262
  alignItems: 'center',
8179
8263
  borderRadius: '6px'
@@ -8233,7 +8317,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8233
8317
  // fontSize: '20px',
8234
8318
  fontWeight: '600',
8235
8319
  lineHeight: 'normal',
8236
- letterSpacing: '0px'
8320
+ letterSpacing: '0px',
8321
+ color: theme?.colors?.font1
8237
8322
  },
8238
8323
  videoTestimonialTitle: {
8239
8324
  // fontSize: '24px',
@@ -8402,28 +8487,32 @@ const SingleVideoSlide = props => {
8402
8487
  className: classes.iconBackground
8403
8488
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8404
8489
  name: 'Clock',
8405
- color: theme.palette.primary.main
8490
+ width: "24px",
8491
+ color: theme?.colors?.background2
8406
8492
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React__default["default"].createElement("div", {
8407
8493
  className: classes.courseDetailTag
8408
8494
  }, /*#__PURE__*/React__default["default"].createElement("span", {
8409
8495
  className: classes.iconBackground
8410
8496
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8411
8497
  name: 'Book Saved',
8412
- color: theme.palette.primary.main
8498
+ color: theme?.colors?.background2,
8499
+ width: "24px"
8413
8500
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? 'Physical Books' : null)) : null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? /*#__PURE__*/React__default["default"].createElement("div", {
8414
8501
  className: classes.courseDetailTag
8415
8502
  }, /*#__PURE__*/React__default["default"].createElement("span", {
8416
8503
  className: classes.iconBackground
8417
8504
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8418
8505
  name: 'Certificate',
8419
- color: theme.palette.primary.main
8506
+ color: theme?.colors?.background2,
8507
+ width: "24px"
8420
8508
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React__default["default"].createElement("div", {
8421
8509
  className: classes.courseDetailTag
8422
8510
  }, /*#__PURE__*/React__default["default"].createElement("span", {
8423
8511
  className: classes.iconBackground
8424
8512
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8425
8513
  name: 'Certificate',
8426
- color: theme.palette.primary.main
8514
+ color: theme?.colors?.background2,
8515
+ width: "24px"
8427
8516
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React__default["default"].createElement("p", {
8428
8517
  ref: data?.videoTextContent?.refSetter,
8429
8518
  className: classes.courseDetailContent,
@@ -8550,7 +8639,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8550
8639
  padding: ({
8551
8640
  isMobile
8552
8641
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8553
- background: '#F4F9FF',
8642
+ background: theme?.colors?.background3,
8554
8643
  '&, & *, & *:before, & *:after': {
8555
8644
  fontFamily: theme?.typography?.fontFamily,
8556
8645
  boxSizing: 'border-box'
@@ -8567,7 +8656,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8567
8656
  marginTop: '8px',
8568
8657
  fontSize: theme.typography.fontSize.h6,
8569
8658
  lineHeight: '23px',
8570
- color: 'rgba(51, 51, 51, 0.5)',
8659
+ color: theme?.colors?.gray,
8571
8660
  marginBottom: theme.spacing.margin.tiny
8572
8661
  },
8573
8662
  formPageFormContainer: {
@@ -8586,8 +8675,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8586
8675
  },
8587
8676
 
8588
8677
  inputFieldLabel: {
8589
- color: '#333',
8590
- fontSize: theme.typography.fontSize.subHead,
8678
+ color: theme?.colors?.lightblack,
8679
+ fontSize: theme.typography.fontSize.body,
8591
8680
  fontWeight: theme.typography.fontWeight.semiBold,
8592
8681
  display: 'block',
8593
8682
  marginTop: '20px',
@@ -8598,8 +8687,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8598
8687
  borderRadius: '8px',
8599
8688
  border: '1px solid #D8E0F0',
8600
8689
  padding: '12px 16px',
8601
- color: '#7D8592',
8602
- fontSize: theme.typography.fontSize.subHead
8690
+ color: theme?.colors?.lightblack,
8691
+ fontSize: theme.typography.fontSize.body
8603
8692
  },
8604
8693
  checkboxField: {
8605
8694
  // padding: '20px',
@@ -8607,21 +8696,21 @@ const useFormPageStyles = createUseStyles(theme => ({
8607
8696
  // borderRadius: '8px'
8608
8697
  },
8609
8698
  checkBoxFieldLabel: {
8610
- color: '#333',
8611
- fontSize: theme.typography.fontSize.subHead,
8699
+ color: theme?.colors?.lightblack,
8700
+ fontSize: theme.typography.fontSize.body,
8612
8701
  fontWeight: theme.typography.fontWeight.semiBold,
8613
8702
  marginTop: '20px',
8614
8703
  marginBottom: '12px'
8615
8704
  },
8616
8705
  inputFieldRequired: {
8617
- color: '#F41828'
8706
+ color: theme?.colors?.lightblack
8618
8707
  },
8619
8708
  checkboxFieldControl: {
8620
8709
  padding: '8px 0',
8621
8710
  '& label': {
8622
- fontSize: theme.typography.fontSize.subHead,
8711
+ fontSize: theme.typography.fontSize.body,
8623
8712
  marginLeft: '10px',
8624
- color: '#7D8592'
8713
+ color: theme?.colors?.lightblack
8625
8714
  }
8626
8715
  },
8627
8716
  submitBtnContainer: {
@@ -8634,8 +8723,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8634
8723
  '& button': {
8635
8724
  // height: '44px',
8636
8725
  padding: '16px 24px',
8637
- color: '#FFFFFF',
8638
- fontSize: theme.typography.fontSize.subHead,
8726
+ fontSize: theme.typography.fontSize.body,
8639
8727
  cursor: 'pointer',
8640
8728
  borderRadius: '8px'
8641
8729
  }
@@ -9643,7 +9731,7 @@ function PageRenderer({
9643
9731
  countryCode,
9644
9732
  currencySymbol
9645
9733
  }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
9646
- const theme = React.useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9734
+ const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9647
9735
  const Wrapper = SectionWrapper || React.Fragment;
9648
9736
  return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
9649
9737
  theme: theme