diy-template-components 1.1.11 → 2.0.1

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
@@ -73,7 +73,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
73
73
  height: '60px'
74
74
  },
75
75
  headerContainer: {
76
- background: theme?.palette?.background?.default,
76
+ background: theme?.colors?.white,
77
77
  boxShadow: theme?.shadows?.primary,
78
78
  padding: '20px 40px',
79
79
  display: 'flex',
@@ -131,11 +131,11 @@ const useSectionStyles$a = createUseStyles(theme => ({
131
131
  lineHeight: '20px',
132
132
  display: 'flex',
133
133
  alignItems: 'center',
134
- color: theme.palette.primary.main,
134
+ color: theme?.colors?.headerText,
135
135
  padding: '20px',
136
136
  '&:hover': {
137
137
  cursor: 'pointer',
138
- background: theme.palette.primary.lightest,
138
+ background: theme?.colors?.headerHover,
139
139
  borderRadius: theme?.shape?.borderRadius?.small
140
140
  }
141
141
  },
@@ -144,7 +144,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
144
144
  alignItems: 'center',
145
145
  justifyContent: 'space-between',
146
146
  padding: '18px 24px 18px 16px',
147
- background: theme?.palette?.background?.default,
147
+ background: theme?.colors?.white,
148
148
  boxShadow: theme?.shadows?.primary,
149
149
  position: ({
150
150
  isFixed
@@ -220,7 +220,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
220
220
  height: '100%'
221
221
  },
222
222
  menuContainer: {
223
- background: theme?.palette?.background?.default,
223
+ background: theme?.colors?.white,
224
224
  boxShadow: theme.shadows.secondary,
225
225
  width: '75%',
226
226
  height: '100%',
@@ -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,178 @@ 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' ? 'skyblue' : 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
+ headerText: allColors[color],
2378
+ headerHover: allColors['tertiary' + color]
2379
+ };
2380
+ const typography = {
2381
+ fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
2382
+ fontSize: isMobile ? fontSizeMob : fontSize,
2383
+ fontWeight
2384
+ };
2385
+ // const shape = { borderRadius };
2386
+ const spacing = {
2387
+ padding: isMobile ? mobilePadding : padding,
2388
+ margin: isMobile ? mobileMargin : margin
2389
+ };
2390
+ return {
2391
+ ...getTheme(theme),
2392
+ typography,
2393
+ spacing,
2394
+ colors
2395
+ };
2396
+ };
2397
+
2232
2398
  function PageRenderer$1({
2233
2399
  pageData: {
2234
2400
  metadata: {
@@ -2285,7 +2451,7 @@ function PageRenderer$1({
2285
2451
  countryCode,
2286
2452
  currencySymbol
2287
2453
  }), [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]);
2454
+ const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2289
2455
  const Wrapper = SectionWrapper || React.Fragment;
2290
2456
  return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
2291
2457
  theme: theme
@@ -2323,7 +2489,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2323
2489
  padding: ({
2324
2490
  isMobile
2325
2491
  } = {}) => 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,
2492
+ background: theme?.colors?.background2,
2327
2493
  '&, & *, & *:before, & *:after': {
2328
2494
  fontFamily: theme?.typography?.fontFamily,
2329
2495
  boxSizing: 'border-box'
@@ -2381,14 +2547,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2381
2547
  marginBottom: '8px',
2382
2548
  fontSize: theme.typography.fontSize.subHead,
2383
2549
  letterSpacing: '3px',
2384
- color: theme?.palette?.font?.default,
2550
+ color: theme?.colors?.font3,
2385
2551
  wordBreak: 'break-word',
2386
2552
  maxWidth: '100%'
2387
2553
  },
2388
2554
  heading: {
2389
2555
  margin: '0',
2390
2556
  fontSize: theme.typography.fontSize.h1,
2391
- color: theme?.palette?.font?.default,
2557
+ color: theme?.colors?.font3,
2392
2558
  wordBreak: ({
2393
2559
  wordBreakValue
2394
2560
  }) => wordBreakValue || 'break-word',
@@ -2397,7 +2563,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2397
2563
  },
2398
2564
  description: {
2399
2565
  margin: `${theme.spacing.margin.tiny}px 0px`,
2400
- color: theme?.palette?.font?.primary,
2566
+ color: theme?.colors?.font3,
2401
2567
  lineHeight: '24px',
2402
2568
  wordBreak: 'break-word'
2403
2569
  },
@@ -2514,7 +2680,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2514
2680
  width: '26px',
2515
2681
  background: ({
2516
2682
  inverted
2517
- } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
2683
+ } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.colors.AccentColor
2518
2684
  },
2519
2685
  '@media screen and (max-width: 767px)': {
2520
2686
  sliderClass: {
@@ -2550,7 +2716,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2550
2716
  height: sizeHandler,
2551
2717
  border: ({
2552
2718
  inverted
2553
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2719
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor}`,
2554
2720
  borderRadius: '50%',
2555
2721
  display: 'flex',
2556
2722
  justifyContent: 'center',
@@ -2572,7 +2738,7 @@ function ArrowButton(props) {
2572
2738
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
2573
2739
  height: props.size === 'small' ? '12px' : '18px',
2574
2740
  name: "Angle",
2575
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2741
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor,
2576
2742
  inverted: true
2577
2743
  }));
2578
2744
  }
@@ -2782,7 +2948,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2782
2948
  justifyContent: 'center',
2783
2949
  flexDirection: 'column',
2784
2950
  alignItems: 'center',
2785
- backgroundColor: theme?.palette?.background?.default,
2786
2951
  '&, & *, & *:before, & *:after': {
2787
2952
  fontFamily: theme?.typography?.fontFamily,
2788
2953
  boxSizing: 'border-box'
@@ -2800,7 +2965,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2800
2965
  subTitleHeading: {
2801
2966
  marginBottom: '8px',
2802
2967
  fontSize: theme.typography.fontSize.subHead,
2803
- color: theme?.palette?.font?.default,
2968
+ color: theme?.colors?.black,
2804
2969
  alignItems: 'center',
2805
2970
  textAlign: 'center',
2806
2971
  wordBreak: 'break-word',
@@ -2810,7 +2975,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2810
2975
  heading: {
2811
2976
  marginBottom: theme.spacing.margin.tiny,
2812
2977
  fontSize: theme.typography.fontSize.h2,
2813
- color: theme?.palette?.font?.default,
2978
+ color: theme?.colors?.black,
2814
2979
  fontWeight: theme.typography.fontWeight.bold,
2815
2980
  textAlign: 'center',
2816
2981
  wordBreak: 'break-word'
@@ -2827,7 +2992,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2827
2992
  display: 'flex',
2828
2993
  width: 'calc(100% - 200px)',
2829
2994
  alignItems: 'center',
2830
- background: theme?.palette?.background?.default,
2995
+ background: theme?.colors?.white,
2831
2996
  boxShadow: theme?.shadows?.primary,
2832
2997
  borderRadius: theme?.shape?.borderRadius?.regular,
2833
2998
  overflow: 'hidden',
@@ -2851,33 +3016,13 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2851
3016
  '& $contentText': {
2852
3017
  marginLeft: '170px'
2853
3018
  }
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
3019
  }
2876
3020
  },
2877
3021
  contentNumber: {
2878
3022
  position: 'absolute',
2879
3023
  top: '0',
2880
3024
  fontWeight: '700',
3025
+ background: theme?.colors?.background3,
2881
3026
  fontSize: '72px',
2882
3027
  letterSpacing: '-3px',
2883
3028
  display: 'flex',
@@ -2885,7 +3030,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2885
3030
  justifyContent: 'center',
2886
3031
  padding: '48px',
2887
3032
  height: '100%',
2888
- color: theme?.palette?.font?.default,
3033
+ color: theme?.colors?.font4,
2889
3034
  wordBreak: 'break-word'
2890
3035
  },
2891
3036
  contentText: {
@@ -2897,14 +3042,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2897
3042
  fontWeight: theme.typography.fontWeight.bold,
2898
3043
  lineHeight: '32px',
2899
3044
  marginBottom: '8px',
2900
- color: theme?.palette?.font?.default,
3045
+ color: theme?.colors?.lightblack,
2901
3046
  wordBreak: 'break-word'
2902
3047
  },
2903
3048
  contentPara: {
2904
3049
  fontStyle: 'normal',
2905
3050
  fontSize: '16px',
2906
3051
  lineHeight: '26px',
2907
- color: theme?.palette?.font?.primary,
3052
+ color: theme?.colors?.gray,
2908
3053
  wordBreak: 'break-word'
2909
3054
  },
2910
3055
  '@media screen and (max-width: 767px)': {
@@ -3317,6 +3462,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3317
3462
  return {
3318
3463
  section: {
3319
3464
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3465
+ background: theme?.colors?.background2,
3320
3466
  '&, & *, & *:before, & *:after': {
3321
3467
  fontFamily: theme?.typography?.fontFamily,
3322
3468
  boxSizing: 'border-box'
@@ -3360,7 +3506,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3360
3506
  }
3361
3507
  },
3362
3508
  imageBorder: {
3363
- border: `2px solid ${theme?.palette?.primary?.light}`,
3509
+ // border: `2px solid ${theme?.palette?.primary?.light}`,
3364
3510
  borderRadius: theme?.shape?.borderRadius?.small,
3365
3511
  position: 'absolute',
3366
3512
  width: '100%',
@@ -3385,13 +3531,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
3385
3531
  marginBottom: '8px',
3386
3532
  fontSize: theme?.typography?.fontSize?.subHead,
3387
3533
  letterSpacing: '3px',
3388
- color: theme?.palette?.font?.default,
3534
+ color: theme?.colors?.font3,
3389
3535
  wordBreak: 'break-word'
3390
3536
  },
3391
3537
  heading: {
3392
3538
  margin: '0',
3393
3539
  fontSize: theme?.typography?.fontSize?.h1,
3394
- color: theme?.palette?.font?.default,
3540
+ color: theme?.colors?.font3,
3395
3541
  wordBreak: ({
3396
3542
  wordBreakValue
3397
3543
  }) => wordBreakValue || 'break-word',
@@ -3401,7 +3547,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3401
3547
  description: {
3402
3548
  marginTop: theme.spacing.margin.tiny,
3403
3549
  marginBottom: theme.spacing.margin.tiny,
3404
- color: theme?.palette?.font?.primary,
3550
+ color: theme?.colors?.font3,
3405
3551
  lineHeight: '24px',
3406
3552
  wordBreak: 'break-word'
3407
3553
  },
@@ -3567,16 +3713,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3567
3713
  containerWidth
3568
3714
  } = {}) => containerWidth
3569
3715
  },
3570
- partialBackground: {
3571
- top: '0',
3572
- left: '0',
3573
- width: '100%',
3574
- height: '50%',
3575
- position: 'absolute',
3576
- background: theme?.palette?.background?.primary
3577
- },
3716
+ // partialBackground: {
3717
+ // top: '0',
3718
+ // left: '0',
3719
+ // width: '100%',
3720
+ // height: '50%',
3721
+ // position: 'absolute',
3722
+ // background: theme?.palette?.background?.primary
3723
+ // },
3578
3724
  sectionContainer: {
3579
- backgroundColor: theme?.palette?.background?.default,
3725
+ backgroundColor: theme?.colors?.background2,
3580
3726
  boxShadow: theme?.shadows?.secondary,
3581
3727
  borderRadius: theme?.shape?.borderRadius?.regular,
3582
3728
  padding: theme.spacing.padding.small,
@@ -3587,7 +3733,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3587
3733
  fontWeight: theme.typography.fontWeight.bold,
3588
3734
  lineHeight: '71px',
3589
3735
  letterSpacing: '-3px',
3590
- color: theme?.palette?.font?.default,
3736
+ color: theme?.colors?.font3,
3591
3737
  marginBottom: theme.spacing.padding.tiny,
3592
3738
  wordBreak: 'break-word'
3593
3739
  },
@@ -3599,7 +3745,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3599
3745
  title: {
3600
3746
  fontSize: theme.typography.fontSize.h6,
3601
3747
  lineHeight: '32px',
3602
- color: theme?.palette?.font?.primary,
3748
+ color: theme?.colors?.font3,
3603
3749
  wordBreak: 'break-word',
3604
3750
  flex: 1
3605
3751
  },
@@ -3727,8 +3873,8 @@ const inputStyles = createUseStyles(theme => ({
3727
3873
  inputField: {
3728
3874
  width: '100%',
3729
3875
  // maxWidth: '314px',
3730
- background: theme?.palette?.background?.default,
3731
- border: `1px solid ${theme?.palette?.border?.secondary}`,
3876
+ // background: theme?.palette?.background?.default,
3877
+ border: `1px solid ${theme?.colors?.icon}`,
3732
3878
  borderRadius: theme?.shape?.borderRadius?.regular,
3733
3879
  padding: '14px 12px',
3734
3880
  display: 'flex',
@@ -3742,7 +3888,7 @@ const inputStyles = createUseStyles(theme => ({
3742
3888
  fontWeight: '400',
3743
3889
  fontSize: '16px',
3744
3890
  lineHeight: '20px',
3745
- color: theme?.palette?.font?.primary,
3891
+ color: theme?.colors?.black,
3746
3892
  fontFamily: theme?.typography?.fontFamily
3747
3893
  },
3748
3894
  '&:focus': {
@@ -3942,7 +4088,6 @@ var index$h = /*#__PURE__*/Object.freeze({
3942
4088
 
3943
4089
  const useTestimonialStyles = createUseStyles(theme => ({
3944
4090
  testimonialContainer: {
3945
- background: theme?.palette?.background?.primary,
3946
4091
  overflow: 'hidden',
3947
4092
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3948
4093
  '&, & *, & *:before, & *:after': {
@@ -3960,14 +4105,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
3960
4105
  } = {}) => containerWidth
3961
4106
  },
3962
4107
  testimonialText: {
3963
- color: theme?.palette?.font?.default,
4108
+ color: theme?.colors?.lightblack,
3964
4109
  fontSize: theme.typography.fontSize.subHead,
3965
4110
  wordBreak: 'break-word',
3966
4111
  textTransform: 'uppercase'
3967
4112
  },
3968
4113
  testimonialHeader: {
3969
4114
  fontSize: theme.typography.fontSize.h2,
3970
- color: theme?.palette?.font?.default,
4115
+ color: theme?.colors?.lightblack,
3971
4116
  fontWeight: theme.typography.fontWeight.bold,
3972
4117
  marginBottom: theme.spacing.margin.tiny,
3973
4118
  marginTop: '8px',
@@ -3984,7 +4129,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3984
4129
  position: 'relative',
3985
4130
  height: 'calc(100% - 12px)',
3986
4131
  width: 'calc(100% - 24px)',
3987
- background: theme?.palette?.background?.default,
4132
+ background: theme?.colors?.background1,
3988
4133
  boxShadow: theme?.shadows?.primary,
3989
4134
  borderRadius: theme?.shape?.borderRadius?.regular
3990
4135
  },
@@ -4011,7 +4156,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4011
4156
  marginBottom: theme.spacing.margin.tiny,
4012
4157
  fontSize: theme.typography.fontSize.body,
4013
4158
  wordBreak: 'break-word',
4014
- color: theme?.palette?.font?.primary,
4159
+ color: theme?.colors?.font1,
4015
4160
  lineHeight: '26px'
4016
4161
  },
4017
4162
  userContainer: {
@@ -4040,7 +4185,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4040
4185
  marginRight: '16px'
4041
4186
  },
4042
4187
  userName: {
4043
- color: theme?.palette?.font?.default,
4188
+ color: theme?.colors?.font1,
4044
4189
  margin: '0',
4045
4190
  fontSize: theme.typography.fontSize.h5,
4046
4191
  // paddingTop: '16px',
@@ -4059,19 +4204,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
4059
4204
  testimonialContainer: {
4060
4205
  padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
4061
4206
  },
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
4207
  testimonialText: {
4076
4208
  textAlign: 'center'
4077
4209
  },
@@ -4124,7 +4256,7 @@ function QuotesComponent() {
4124
4256
  width: "28px",
4125
4257
  height: "21px",
4126
4258
  name: "Quote",
4127
- color: theme?.palette?.primary?.main
4259
+ color: theme?.colors?.icon
4128
4260
  }));
4129
4261
  }
4130
4262
 
@@ -4654,7 +4786,7 @@ const useVideoStyles = createUseStyles(theme => {
4654
4786
  padding: ({
4655
4787
  isMobile
4656
4788
  } = {}) => 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,
4789
+ backgroundColor: theme?.colors?.background2,
4658
4790
  '&, & *, & *:before, & *:after': {
4659
4791
  fontFamily: theme?.typography?.fontFamily,
4660
4792
  boxSizing: 'border-box'
@@ -4677,7 +4809,7 @@ const useVideoStyles = createUseStyles(theme => {
4677
4809
  fontSize: theme.typography.fontSize.subHead,
4678
4810
  textTransform: 'uppercase',
4679
4811
  lineHeight: '20px',
4680
- color: theme?.palette?.font?.default,
4812
+ color: theme?.colors?.font2,
4681
4813
  letterSpacing: '3px',
4682
4814
  wordBreak: 'break-word'
4683
4815
  },
@@ -4688,14 +4820,14 @@ const useVideoStyles = createUseStyles(theme => {
4688
4820
  letterSpacing: '-3px',
4689
4821
  marginBottom: theme.spacing.margin.tiny,
4690
4822
  marginTop: '8px',
4691
- color: theme?.palette?.font?.default,
4823
+ color: theme?.colors?.font2,
4692
4824
  wordBreak: 'break-word'
4693
4825
  },
4694
4826
  sliderContainer: {
4695
4827
  marginRight: `-${theme.spacing.padding.medium}px`
4696
4828
  },
4697
4829
  singleSlideContainer: {
4698
- backgroundColor: theme?.palette?.background?.default,
4830
+ backgroundColor: 'white',
4699
4831
  // margin: '20px',
4700
4832
  width: 'calc(100% - 24px)',
4701
4833
  height: 'calc(100% - 40px)',
@@ -4732,14 +4864,14 @@ const useVideoStyles = createUseStyles(theme => {
4732
4864
  fontWeight: theme.typography.fontWeight.bold,
4733
4865
  lineHeight: '32px',
4734
4866
  marginBottom: '8px',
4735
- color: theme?.palette?.font?.default,
4867
+ color: theme?.colors?.lightblack,
4736
4868
  wordBreak: 'break-word'
4737
4869
  },
4738
4870
  videoDetailsSubHeading: {
4739
4871
  fontSize: theme.typography.fontSize.body,
4740
4872
  lineHeight: '24px',
4741
4873
  wordBreak: 'break-word',
4742
- color: theme?.palette?.font?.primary
4874
+ color: theme?.colors?.gray
4743
4875
  },
4744
4876
  '@media (max-width: 767px)': {
4745
4877
  videoHeading: {
@@ -4886,11 +5018,10 @@ var index$e = /*#__PURE__*/Object.freeze({
4886
5018
 
4887
5019
  const useSectionStyles$3 = createUseStyles(theme => ({
4888
5020
  section: {
4889
- position: 'relative',
4890
5021
  padding: ({
4891
5022
  isMobile
4892
5023
  } = {}) => 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,
5024
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
4894
5025
  '&, & *, & *:before, & *:after': {
4895
5026
  fontFamily: theme?.typography?.fontFamily,
4896
5027
  boxSizing: 'border-box'
@@ -4909,21 +5040,13 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4909
5040
  containerWidth
4910
5041
  } = {}) => containerWidth
4911
5042
  },
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
5043
  content: {
4921
5044
  position: 'relative'
4922
5045
  },
4923
5046
  subTitleHeading: {
4924
5047
  width: '100%',
4925
5048
  fontSize: theme.typography.fontSize.subHead,
4926
- color: theme?.palette?.font?.default,
5049
+ color: theme?.colors?.font2,
4927
5050
  textTransform: 'uppercase',
4928
5051
  textAlign: 'left',
4929
5052
  lineHeight: '20px',
@@ -4935,7 +5058,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4935
5058
  fontSize: theme.typography.fontSize.h2,
4936
5059
  width: '100%',
4937
5060
  lineHeight: '70px',
4938
- color: theme?.palette?.font?.default,
5061
+ color: theme?.colors?.font2,
4939
5062
  textAlign: 'left',
4940
5063
  wordBreak: 'break-word'
4941
5064
  },
@@ -4945,7 +5068,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4945
5068
  // },
4946
5069
 
4947
5070
  card: {
4948
- background: theme?.palette?.background?.default,
5071
+ background: theme?.colors?.white,
4949
5072
  boxShadow: theme?.shadows?.primary,
4950
5073
  borderRadius: theme.shape.borderRadius.large,
4951
5074
  margin: ({
@@ -4966,7 +5089,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4966
5089
  textAlign: 'center',
4967
5090
  fontSize: theme.typography.fontSize.h6,
4968
5091
  fontWeight: theme.typography.fontWeight.bold,
4969
- color: theme?.palette?.font?.default,
5092
+ color: theme?.colors?.lightblack,
4970
5093
  margin: `16px 0px`,
4971
5094
  wordBreak: 'break-word'
4972
5095
  },
@@ -4978,7 +5101,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4978
5101
  alignItems: 'center',
4979
5102
  justifyContent: 'center',
4980
5103
  borderRadius: '50%',
4981
- background: theme?.palette?.background?.primary
5104
+ background: theme?.colors?.background2
4982
5105
  },
4983
5106
  buttonContainerClass: {
4984
5107
  marginRight: theme.spacing.margin.regular,
@@ -4992,7 +5115,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4992
5115
  textAlign: 'center',
4993
5116
  fontSize: theme.typography.fontSize.body,
4994
5117
  lineHeight: '22px',
4995
- color: theme?.palette?.font?.primary,
5118
+ color: theme?.colors?.gray,
4996
5119
  margin: '0',
4997
5120
  wordBreak: 'break-word'
4998
5121
  },
@@ -5078,7 +5201,7 @@ function Info({
5078
5201
  className: classes.imageContainer
5079
5202
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
5080
5203
  name: dt.icon.metadata.value,
5081
- color: theme.palette.primary.main,
5204
+ color: theme?.colors?.icon,
5082
5205
  width: isMobile ? '30px' : '40px',
5083
5206
  height: isMobile ? '30px' : '40px'
5084
5207
  })), /*#__PURE__*/React__default["default"].createElement("h3", {
@@ -5135,7 +5258,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5135
5258
  padding: ({
5136
5259
  isMobile
5137
5260
  } = {}) => 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,
5261
+ backgroundColor: theme?.colors?.background2,
5139
5262
  '&, & *, & *:before, & *:after': {
5140
5263
  fontFamily: theme?.typography?.fontFamily,
5141
5264
  boxSizing: 'border-box'
@@ -5152,7 +5275,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5152
5275
  subHeading: {
5153
5276
  fontSize: theme.typography.fontSize.subHead,
5154
5277
  marginBottom: '8px',
5155
- color: theme?.palette?.font?.default,
5278
+ color: theme?.colors?.font3,
5156
5279
  wordBreak: 'break-word',
5157
5280
  textTransform: 'uppercase',
5158
5281
  letterSpacing: '3px'
@@ -5162,7 +5285,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5162
5285
  fontWeight: theme.typography.fontWeight.bold,
5163
5286
  lineHeight: 'normal',
5164
5287
  margin: '0',
5165
- color: theme?.palette?.font?.default,
5288
+ color: theme?.colors?.font3,
5166
5289
  wordBreak: 'break-word',
5167
5290
  marginBottom: theme.spacing.margin.tiny
5168
5291
  },
@@ -5173,7 +5296,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5173
5296
  padding: '32px 0px'
5174
5297
  },
5175
5298
  textPara: {
5176
- color: theme?.palette?.font?.primary,
5299
+ color: theme?.colors?.font3,
5177
5300
  wordBreak: 'break-word',
5178
5301
  fontSize: theme.typography.fontSize.body,
5179
5302
  lineHeight: '24px'
@@ -5480,7 +5603,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5480
5603
  padding: ({
5481
5604
  isMobile
5482
5605
  } = {}) => 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,
5606
+ backgroundColor: theme?.colors?.background2,
5484
5607
  '&, & *, & *:before, & *:after': {
5485
5608
  fontFamily: theme?.typography?.fontFamily,
5486
5609
  boxSizing: 'border-box'
@@ -5495,7 +5618,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5495
5618
  } = {}) => containerWidth
5496
5619
  },
5497
5620
  sectionSubheading: {
5498
- color: theme?.palette?.font.default,
5621
+ color: theme?.colors?.font3,
5499
5622
  fontSize: theme.typography.fontSize.subHead,
5500
5623
  marginBottom: '8px',
5501
5624
  wordBreak: 'break-word'
@@ -5504,15 +5627,16 @@ const useFaqListStyles = createUseStyles(theme => ({
5504
5627
  fontSize: theme.typography.fontSize.h2,
5505
5628
  fontWeight: theme.typography.fontWeight.bold,
5506
5629
  wordBreak: 'break-word',
5507
- marginBottom: `${theme.spacing.margin.tiny}px`
5630
+ marginBottom: `${theme.spacing.margin.tiny}px`,
5631
+ color: theme?.colors?.font3
5508
5632
  },
5509
5633
  container: {
5510
5634
  boxShadow: theme?.shadows?.secondary,
5511
5635
  borderRadius: '8px',
5512
- backgroundColor: theme?.palette?.background?.default
5636
+ backgroundColor: theme?.colors?.white
5513
5637
  },
5514
5638
  basicCardContainer: {
5515
- borderBottom: theme?.borders?.secondary,
5639
+ borderBottom: `1px solid #D8E0F0`,
5516
5640
  padding: `${theme.spacing.padding.tiny}px`
5517
5641
  },
5518
5642
  innerContainer: {
@@ -5531,14 +5655,14 @@ const useFaqListStyles = createUseStyles(theme => ({
5531
5655
  alignItems: 'center'
5532
5656
  },
5533
5657
  title: {
5534
- color: theme?.palette?.font.default,
5658
+ color: theme?.colors?.lightblack,
5535
5659
  fontSize: theme.typography.fontSize.h5,
5536
5660
  fontWeight: theme.typography.fontWeight.bold,
5537
5661
  margin: '0',
5538
5662
  wordBreak: 'break-word'
5539
5663
  },
5540
5664
  content: {
5541
- color: theme?.palette?.font.primary,
5665
+ color: theme?.colors?.lightblack,
5542
5666
  fontSize: theme.typography.fontSize.body,
5543
5667
  lineHeight: '24px',
5544
5668
  maxHeight: ({
@@ -5658,11 +5782,10 @@ var index$a = /*#__PURE__*/Object.freeze({
5658
5782
 
5659
5783
  const useTextGridStyles = createUseStyles(theme => ({
5660
5784
  section: {
5785
+ background: theme.colors.background1,
5661
5786
  padding: ({
5662
5787
  isMobile
5663
5788
  } = {}) => 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
5789
  '&, & *, & *:before, & *:after': {
5667
5790
  fontFamily: theme?.typography?.fontFamily,
5668
5791
  boxSizing: 'border-box'
@@ -5670,14 +5793,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5670
5793
  '& h2,& h3,& p': {
5671
5794
  marginTop: '0'
5672
5795
  }
5673
- // '& h2,& h3': {
5674
- // fontWeight: '500',
5675
- // '& b,& strong': {
5676
- // fontWeight: '700'
5677
- // }
5678
- // }
5679
5796
  },
5680
-
5681
5797
  sectionContainer: {
5682
5798
  margin: '0 auto',
5683
5799
  maxWidth: ({
@@ -5685,7 +5801,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5685
5801
  } = {}) => containerWidth
5686
5802
  },
5687
5803
  subheading: {
5688
- color: theme?.palette?.font.default,
5804
+ color: theme?.colors?.font1,
5689
5805
  fontSize: theme.typography.fontSize.subHead,
5690
5806
  lineHeight: '20px',
5691
5807
  letterSpacing: '3px',
@@ -5699,7 +5815,8 @@ const useTextGridStyles = createUseStyles(theme => ({
5699
5815
  fontWeight: theme.typography.fontWeight.bold,
5700
5816
  letterSpacing: '-3px',
5701
5817
  marginBottom: theme.spacing.margin.tiny,
5702
- wordBreak: 'break-word'
5818
+ wordBreak: 'break-word',
5819
+ color: theme?.colors?.font1
5703
5820
  },
5704
5821
  sliderContainer: {
5705
5822
  margin: '0 -10px'
@@ -5969,7 +6086,7 @@ const useCourseStyles = createUseStyles(theme => {
5969
6086
  display: 'flex',
5970
6087
  justifyContent: 'flex-start',
5971
6088
  alignItems: 'center',
5972
- fontSize: theme.typography.fontSize.subHead,
6089
+ fontSize: theme.typography.fontSize.body,
5973
6090
  color: theme?.palette?.font?.primary,
5974
6091
  '& img': {
5975
6092
  marginRight: '5px'
@@ -6002,8 +6119,8 @@ const useCourseStyles = createUseStyles(theme => {
6002
6119
  },
6003
6120
  courseCardBuyBtn: {
6004
6121
  cursor: 'pointer',
6005
- background: theme?.palette?.primary?.main,
6006
- color: theme?.palette?.font?.invertedDefault,
6122
+ background: theme?.colors?.ctaColor,
6123
+ color: theme?.colors?.CtaTextColor,
6007
6124
  padding: '8px 16px',
6008
6125
  fontWeight: theme.typography.fontWeight.bold,
6009
6126
  cursor: 'pointer',
@@ -6376,11 +6493,10 @@ var index$8 = /*#__PURE__*/Object.freeze({
6376
6493
  const useTeamStyles = createUseStyles(theme => {
6377
6494
  return {
6378
6495
  teamSuperContainer: {
6496
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6379
6497
  padding: ({
6380
6498
  isMobile
6381
6499
  } = {}) => 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
6500
  '&, & *, & *:before, & *:after': {
6385
6501
  fontFamily: theme?.typography?.fontFamily,
6386
6502
  boxSizing: 'border-box'
@@ -6401,25 +6517,17 @@ const useTeamStyles = createUseStyles(theme => {
6401
6517
  lineHeight: '20px',
6402
6518
  letterSpacing: '3px',
6403
6519
  marginBottom: '8px',
6404
- color: theme?.palette?.font?.default,
6520
+ color: theme?.colors?.font2,
6405
6521
  // wordBreak: 'break-word',
6406
6522
  position: 'relative'
6407
6523
  },
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
6524
  teamTitle: {
6417
6525
  fontSize: theme.typography.fontSize.h2,
6418
6526
  fontWeight: theme.typography.fontWeight.bold,
6419
6527
  lineHeight: '70px',
6420
6528
  letterSpacing: '-3px',
6421
6529
  wordBreak: 'break-word',
6422
- color: theme?.palette?.font?.default,
6530
+ color: theme?.colors?.font2,
6423
6531
  position: 'relative'
6424
6532
  },
6425
6533
  sliderContainer: {
@@ -6511,12 +6619,10 @@ const useTeamStyles = createUseStyles(theme => {
6511
6619
  teamDetailsHeading: {
6512
6620
  fontSize: '16px',
6513
6621
  lineHeight: '24px',
6514
- margin: '0',
6515
- color: theme?.palette?.font?.body
6622
+ margin: '0'
6516
6623
  },
6517
6624
  teamDetailsSubHeading: {
6518
- marginTop: '0px',
6519
- color: theme?.palette?.font?.primary
6625
+ marginTop: '0px'
6520
6626
  }
6521
6627
  }
6522
6628
  };
@@ -6627,7 +6733,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6627
6733
  justifyContent: 'center',
6628
6734
  flexDirection: 'column',
6629
6735
  alignItems: 'center',
6630
- backgroundColor: theme?.palette?.background?.default,
6736
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6631
6737
  padding: ({
6632
6738
  isMobile
6633
6739
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
@@ -6649,16 +6755,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6649
6755
  containerWidth
6650
6756
  } = {}) => containerWidth
6651
6757
  },
6652
- partialBackground: {
6653
- top: '0',
6654
- left: '0',
6655
- width: '100%',
6656
- height: '50%',
6657
- position: 'absolute',
6658
- background: theme?.palette?.background?.primary
6659
- },
6758
+ // partialBackground: {
6759
+ // top: '0',
6760
+ // left: '0',
6761
+ // width: '100%',
6762
+ // height: '50%',
6763
+ // position: 'absolute',
6764
+ // background: theme?.colors?.white
6765
+ // },
6660
6766
  sectionContainer: {
6661
- backgroundColor: theme?.palette?.background?.default,
6767
+ backgroundColor: theme?.colors?.white,
6662
6768
  boxShadow: theme?.shadows?.secondary,
6663
6769
  borderRadius: theme?.shape?.borderRadius?.regular,
6664
6770
  padding: '48px',
@@ -6667,7 +6773,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6667
6773
  title: {
6668
6774
  margin: '0',
6669
6775
  fontSize: theme.typography.fontSize.h2,
6670
- color: theme?.palette?.font?.default,
6776
+ color: theme?.colors?.lightblack,
6671
6777
  fontWeight: theme.typography.fontWeight.bold,
6672
6778
  lineHeight: '71px',
6673
6779
  letterSpacing: '-3px',
@@ -6690,7 +6796,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6690
6796
  subtitle: {
6691
6797
  // margin: '0 0 40px 0',
6692
6798
  fontSize: theme.typography.fontSize.h5,
6693
- color: theme?.palette?.font?.default,
6799
+ color: theme?.colors?.lightblack,
6694
6800
  lineHeight: '32px',
6695
6801
  wordBreak: 'break-word',
6696
6802
  marginBottom: '32px'
@@ -6713,7 +6819,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6713
6819
  },
6714
6820
  addressText: {
6715
6821
  fontSize: theme.typography.fontSize.h6,
6716
- color: theme?.palette?.font?.default,
6822
+ color: theme?.colors?.lightblack,
6717
6823
  lineHeight: '24px',
6718
6824
  fontSize: '16px'
6719
6825
  },
@@ -7050,7 +7156,7 @@ const useSectionStyles = createUseStyles(theme => ({
7050
7156
  padding: ({
7051
7157
  isMobile
7052
7158
  } = {}) => 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,
7159
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
7054
7160
  '&, & *, & *:before, & *:after': {
7055
7161
  fontFamily: theme?.typography?.fontFamily,
7056
7162
  boxSizing: 'border-box'
@@ -7070,16 +7176,8 @@ const useSectionStyles = createUseStyles(theme => ({
7070
7176
  containerWidth
7071
7177
  } = {}) => containerWidth
7072
7178
  },
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
7179
  sectionContainer: {
7082
- backgroundColor: theme?.palette?.background?.default,
7180
+ backgroundColor: theme?.colors?.white,
7083
7181
  boxShadow: theme?.shadows?.secondary,
7084
7182
  borderRadius: theme?.shape?.borderRadius?.regular,
7085
7183
  padding: '48px',
@@ -7088,7 +7186,7 @@ const useSectionStyles = createUseStyles(theme => ({
7088
7186
  title: {
7089
7187
  margin: '0',
7090
7188
  fontSize: theme.typography.fontSize.h2,
7091
- color: theme?.palette?.font?.default,
7189
+ color: theme?.colors?.lightblack?.default,
7092
7190
  lineHeight: '71px',
7093
7191
  letterSpacing: '-3px',
7094
7192
  textAlign: 'left',
@@ -7113,7 +7211,7 @@ const useSectionStyles = createUseStyles(theme => ({
7113
7211
  subtitle: {
7114
7212
  // margin: '0 0 auto 0',
7115
7213
  fontSize: theme.typography.fontSize.h6,
7116
- color: theme?.palette?.font?.default,
7214
+ color: theme?.colors?.lightblack,
7117
7215
  // lineHeight: '32px',
7118
7216
  // margin: '16px 0',
7119
7217
  textAlign: 'center',
@@ -7144,8 +7242,8 @@ const useSectionStyles = createUseStyles(theme => ({
7144
7242
  inputField: {
7145
7243
  width: '100%',
7146
7244
  // maxWidth: '314px',
7147
- background: theme?.palette?.background?.default,
7148
- border: `1px solid ${theme?.palette?.border?.secondary}`,
7245
+ // background: theme?.palette?.background?.default,
7246
+ border: `1px solid ${theme?.colors?.cta}`,
7149
7247
  borderRadius: theme?.shape?.borderRadius?.regular,
7150
7248
  // padding: '14px 12px',
7151
7249
  display: 'flex',
@@ -7158,7 +7256,7 @@ const useSectionStyles = createUseStyles(theme => ({
7158
7256
  fontWeight: '400',
7159
7257
  fontSize: theme.typography.fontSize.subHead,
7160
7258
  lineHeight: '20px',
7161
- color: theme?.palette?.font?.primary,
7259
+ color: theme?.colors?.lightblack,
7162
7260
  fontFamily: theme?.typography?.fontFamily
7163
7261
  },
7164
7262
  '&:focus': {
@@ -7471,6 +7569,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7471
7569
  webinarSuperContainer: {
7472
7570
  display: 'flex',
7473
7571
  justifyContent: 'center',
7572
+ background: theme.colors.background1,
7474
7573
  padding: ({
7475
7574
  isMobile
7476
7575
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7493,30 +7592,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7493
7592
  maxWidth: '1440px',
7494
7593
  fontFamily: theme?.typography?.fontFamily
7495
7594
  },
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
7595
  webinarCarousel: {
7521
7596
  display: 'flex',
7522
7597
  justifyContent: 'flex-start',
@@ -7545,8 +7620,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7545
7620
  },
7546
7621
  offerText: {
7547
7622
  textAlign: 'center',
7548
- color: theme.palette.font.primary,
7549
- marginBottom: '5%'
7623
+ color: theme?.colors?.lightblack,
7624
+ marginBottom: '5% !important',
7625
+ fontWeight: '700'
7550
7626
  },
7551
7627
  offerPrice: {
7552
7628
  fontSize: theme.typography.fontSize.h5,
@@ -7592,7 +7668,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7592
7668
  margin: '0',
7593
7669
  letterSpacing: '-1px',
7594
7670
  wordBreak: wordBreakValue => wordBreakValue || 'break-word',
7595
- color: theme.palette.font.default
7671
+ color: theme?.colors?.font1
7596
7672
  },
7597
7673
  courseViewContainer: {
7598
7674
  width: '645px',
@@ -7606,8 +7682,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7606
7682
  },
7607
7683
  bannerContainer: {
7608
7684
  width: '100%',
7609
- background: '#EB5757',
7610
- color: '#fff',
7685
+ background: theme?.colors?.bannerColor,
7686
+ color: theme?.colors?.bannerCtaColor,
7687
+ fontWeight: '600',
7611
7688
  textAlign: 'center',
7612
7689
  padding: '10px 10px 23px 40px',
7613
7690
  wordWrap: 'break-word',
@@ -7626,24 +7703,26 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7626
7703
  display: 'flex',
7627
7704
  alignItems: 'center',
7628
7705
  marginRight: '20px',
7706
+ color: theme?.colors?.font1,
7629
7707
  '& div': {
7630
- fontSize: theme.typography.fontSize.subHead,
7708
+ fontSize: theme.typography.fontSize.body,
7631
7709
  marginLeft: '10px'
7632
7710
  }
7633
7711
  },
7634
7712
  courseDetailContent: {
7635
- fontSize: theme.typography.fontSize.subHead,
7713
+ fontSize: theme.typography.fontSize.body,
7714
+ lineHeight: '21px',
7636
7715
  wordBreak: 'break-word',
7637
- color: theme.palette.font.primary,
7716
+ color: theme?.colors?.font1,
7638
7717
  whiteSpace: 'pre-wrap',
7639
7718
  width: '80%'
7640
7719
  },
7641
7720
  courseDetailViewFullDetails: {
7642
7721
  cursor: 'pointer',
7643
- fontSize: theme.typography.fontSize.subHead,
7722
+ fontSize: theme.typography.fontSize.body,
7644
7723
  lineHeight: '24px',
7724
+ color: theme?.colors?.font1,
7645
7725
  marginTop: '-20px',
7646
- color: '#00ADE7',
7647
7726
  wordBreak: 'break-word'
7648
7727
  },
7649
7728
  courseDetailTime: {
@@ -7658,7 +7737,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7658
7737
  display: 'flex',
7659
7738
  width: '36px',
7660
7739
  height: '36px',
7661
- backgroundColor: 'rgb(240, 244, 248)',
7740
+ backgroundColor: theme?.colors?.icon,
7662
7741
  justifyContent: 'center',
7663
7742
  alignItems: 'center',
7664
7743
  borderRadius: '6px'
@@ -7850,14 +7929,15 @@ const SingleVideoSlide$1 = props => {
7850
7929
  className: classes.iconBackground
7851
7930
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
7852
7931
  name: 'Calendar',
7853
- color: theme.palette.primary.main
7932
+ width: "24px",
7933
+ color: theme?.colors?.background2
7854
7934
  })), /*#__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
7935
  className: classes.courseDetailTag
7856
7936
  }, /*#__PURE__*/React__default["default"].createElement("span", {
7857
7937
  className: classes.iconBackground
7858
7938
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
7859
- color: theme.palette.primary.main,
7860
- width: "20px",
7939
+ color: theme?.colors?.background2,
7940
+ width: "24px",
7861
7941
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7862
7942
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("p", {
7863
7943
  ref: data?.videoTextContent?.refSetter,
@@ -7964,13 +8044,15 @@ var index$4 = /*#__PURE__*/Object.freeze({
7964
8044
  });
7965
8045
 
7966
8046
  const useCoursePromotionPage = createUseStyles(theme => {
8047
+ console.log(theme, 'themere');
7967
8048
  return {
7968
8049
  courseSuperContainer: {
7969
8050
  display: 'flex',
7970
8051
  justifyContent: 'center',
8052
+ background: theme?.colors?.background1,
7971
8053
  padding: ({
7972
8054
  isMobile
7973
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8055
+ } = {}) => isMobile ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7974
8056
  '&, & *, & *:before, & *:after': {
7975
8057
  fontFamily: theme?.typography?.fontFamily,
7976
8058
  boxSizing: 'border-box'
@@ -8041,7 +8123,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8041
8123
 
8042
8124
  offerText: {
8043
8125
  textAlign: 'center',
8044
- color: theme.palette.font.primary
8126
+ color: theme.palette.font.primary,
8127
+ fontWeight: '700'
8045
8128
  },
8046
8129
  offerPrice: {
8047
8130
  fontSize: theme.typography.fontSize.h4,
@@ -8088,7 +8171,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8088
8171
  margin: '0',
8089
8172
  letterSpacing: '-1px',
8090
8173
  wordBreak: 'break-word',
8091
- color: theme.palette.font.default
8174
+ color: theme?.colors?.font1
8092
8175
  },
8093
8176
  courseViewContainer: {
8094
8177
  width: '445px',
@@ -8103,8 +8186,9 @@ const useCoursePromotionPage = createUseStyles(theme => {
8103
8186
 
8104
8187
  bannerContainer: {
8105
8188
  width: '100%',
8106
- background: '#EB5757',
8107
- color: '#fff',
8189
+ background: theme?.colors?.bannerColor,
8190
+ color: theme?.colors?.bannerCtaColor,
8191
+ fontWeight: '600',
8108
8192
  textAlign: 'center',
8109
8193
  padding: '10px 10px 23px 40px',
8110
8194
  wordWrap: 'break-word',
@@ -8125,8 +8209,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8125
8209
  },
8126
8210
  courseEmblem: {
8127
8211
  background: '#F0F4F8',
8128
- fontSize: '18px',
8129
- borderRadius: '2.00337px',
8212
+ fontSize: theme.typography.fontSize.body,
8213
+ borderRadius: '4px',
8130
8214
  padding: '8px',
8131
8215
  display: 'flex',
8132
8216
  alignItems: 'center',
@@ -8142,6 +8226,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8142
8226
  display: 'flex',
8143
8227
  alignItems: 'center',
8144
8228
  marginRight: '20px',
8229
+ color: theme?.colors?.font1,
8145
8230
  '& div': {
8146
8231
  fontSize: theme.typography.fontSize.body,
8147
8232
  fontWeight: theme.typography.fontWeight.medium,
@@ -8149,20 +8234,21 @@ const useCoursePromotionPage = createUseStyles(theme => {
8149
8234
  }
8150
8235
  },
8151
8236
  courseDetailContent: {
8152
- // marginTop: '16px',
8237
+ marginTop: '20px',
8153
8238
  fontSize: theme.typography.fontSize.body,
8154
- lineHeight: '24px',
8239
+ lineHeight: '21px',
8155
8240
  wordBreak: 'break-word',
8156
- color: theme.palette.font.primary,
8241
+ color: theme?.colors?.font1,
8157
8242
  whiteSpace: 'pre-wrap',
8158
8243
  margin: '10px 0 20px'
8159
8244
  },
8160
8245
  courseDetailViewFullDetails: {
8161
8246
  cursor: 'pointer',
8162
- fontSize: theme.typography.fontSize.subHead,
8163
- lineHeight: '24px',
8164
- marginTop: '-24px',
8165
- color: '#00ADE7',
8247
+ fontSize: theme.typography.fontSize.body,
8248
+ textDecoration: 'underline',
8249
+ lineHeight: '21px',
8250
+ marginTop: '20px',
8251
+ color: theme.colors?.font1,
8166
8252
  wordBreak: 'break-word'
8167
8253
  },
8168
8254
  courseDetailTime: {
@@ -8173,7 +8259,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8173
8259
  display: 'flex',
8174
8260
  width: '36px',
8175
8261
  height: '36px',
8176
- backgroundColor: 'rgb(240, 244, 248)',
8262
+ backgroundColor: theme?.colors?.icon,
8177
8263
  justifyContent: 'center',
8178
8264
  alignItems: 'center',
8179
8265
  borderRadius: '6px'
@@ -8233,7 +8319,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8233
8319
  // fontSize: '20px',
8234
8320
  fontWeight: '600',
8235
8321
  lineHeight: 'normal',
8236
- letterSpacing: '0px'
8322
+ letterSpacing: '0px',
8323
+ color: theme?.colors?.font1
8237
8324
  },
8238
8325
  videoTestimonialTitle: {
8239
8326
  // fontSize: '24px',
@@ -8402,28 +8489,32 @@ const SingleVideoSlide = props => {
8402
8489
  className: classes.iconBackground
8403
8490
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8404
8491
  name: 'Clock',
8405
- color: theme.palette.primary.main
8492
+ width: "24px",
8493
+ color: theme?.colors?.background2
8406
8494
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React__default["default"].createElement("div", {
8407
8495
  className: classes.courseDetailTag
8408
8496
  }, /*#__PURE__*/React__default["default"].createElement("span", {
8409
8497
  className: classes.iconBackground
8410
8498
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8411
8499
  name: 'Book Saved',
8412
- color: theme.palette.primary.main
8500
+ color: theme?.colors?.background2,
8501
+ width: "24px"
8413
8502
  })), /*#__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
8503
  className: classes.courseDetailTag
8415
8504
  }, /*#__PURE__*/React__default["default"].createElement("span", {
8416
8505
  className: classes.iconBackground
8417
8506
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8418
8507
  name: 'Certificate',
8419
- color: theme.palette.primary.main
8508
+ color: theme?.colors?.background2,
8509
+ width: "24px"
8420
8510
  })), /*#__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
8511
  className: classes.courseDetailTag
8422
8512
  }, /*#__PURE__*/React__default["default"].createElement("span", {
8423
8513
  className: classes.iconBackground
8424
8514
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8425
8515
  name: 'Certificate',
8426
- color: theme.palette.primary.main
8516
+ color: theme?.colors?.background2,
8517
+ width: "24px"
8427
8518
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React__default["default"].createElement("p", {
8428
8519
  ref: data?.videoTextContent?.refSetter,
8429
8520
  className: classes.courseDetailContent,
@@ -8550,7 +8641,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8550
8641
  padding: ({
8551
8642
  isMobile
8552
8643
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8553
- background: '#F4F9FF',
8644
+ background: theme?.colors?.background3,
8554
8645
  '&, & *, & *:before, & *:after': {
8555
8646
  fontFamily: theme?.typography?.fontFamily,
8556
8647
  boxSizing: 'border-box'
@@ -8567,7 +8658,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8567
8658
  marginTop: '8px',
8568
8659
  fontSize: theme.typography.fontSize.h6,
8569
8660
  lineHeight: '23px',
8570
- color: 'rgba(51, 51, 51, 0.5)',
8661
+ color: theme?.colors?.gray,
8571
8662
  marginBottom: theme.spacing.margin.tiny
8572
8663
  },
8573
8664
  formPageFormContainer: {
@@ -8586,8 +8677,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8586
8677
  },
8587
8678
 
8588
8679
  inputFieldLabel: {
8589
- color: '#333',
8590
- fontSize: theme.typography.fontSize.subHead,
8680
+ color: theme?.colors?.lightblack,
8681
+ fontSize: theme.typography.fontSize.body,
8591
8682
  fontWeight: theme.typography.fontWeight.semiBold,
8592
8683
  display: 'block',
8593
8684
  marginTop: '20px',
@@ -8598,8 +8689,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8598
8689
  borderRadius: '8px',
8599
8690
  border: '1px solid #D8E0F0',
8600
8691
  padding: '12px 16px',
8601
- color: '#7D8592',
8602
- fontSize: theme.typography.fontSize.subHead
8692
+ color: theme?.colors?.lightblack,
8693
+ fontSize: theme.typography.fontSize.body
8603
8694
  },
8604
8695
  checkboxField: {
8605
8696
  // padding: '20px',
@@ -8607,21 +8698,21 @@ const useFormPageStyles = createUseStyles(theme => ({
8607
8698
  // borderRadius: '8px'
8608
8699
  },
8609
8700
  checkBoxFieldLabel: {
8610
- color: '#333',
8611
- fontSize: theme.typography.fontSize.subHead,
8701
+ color: theme?.colors?.lightblack,
8702
+ fontSize: theme.typography.fontSize.body,
8612
8703
  fontWeight: theme.typography.fontWeight.semiBold,
8613
8704
  marginTop: '20px',
8614
8705
  marginBottom: '12px'
8615
8706
  },
8616
8707
  inputFieldRequired: {
8617
- color: '#F41828'
8708
+ color: theme?.colors?.lightblack
8618
8709
  },
8619
8710
  checkboxFieldControl: {
8620
8711
  padding: '8px 0',
8621
8712
  '& label': {
8622
- fontSize: theme.typography.fontSize.subHead,
8713
+ fontSize: theme.typography.fontSize.body,
8623
8714
  marginLeft: '10px',
8624
- color: '#7D8592'
8715
+ color: theme?.colors?.lightblack
8625
8716
  }
8626
8717
  },
8627
8718
  submitBtnContainer: {
@@ -8634,8 +8725,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8634
8725
  '& button': {
8635
8726
  // height: '44px',
8636
8727
  padding: '16px 24px',
8637
- color: '#FFFFFF',
8638
- fontSize: theme.typography.fontSize.subHead,
8728
+ fontSize: theme.typography.fontSize.body,
8639
8729
  cursor: 'pointer',
8640
8730
  borderRadius: '8px'
8641
8731
  }
@@ -9643,7 +9733,7 @@ function PageRenderer({
9643
9733
  countryCode,
9644
9734
  currencySymbol
9645
9735
  }), [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]);
9736
+ const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9647
9737
  const Wrapper = SectionWrapper || React.Fragment;
9648
9738
  return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
9649
9739
  theme: theme