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.es.js CHANGED
@@ -57,7 +57,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
57
57
  height: '60px'
58
58
  },
59
59
  headerContainer: {
60
- background: theme?.palette?.background?.default,
60
+ background: theme?.colors?.white,
61
61
  boxShadow: theme?.shadows?.primary,
62
62
  padding: '20px 40px',
63
63
  display: 'flex',
@@ -115,11 +115,11 @@ const useSectionStyles$a = createUseStyles(theme => ({
115
115
  lineHeight: '20px',
116
116
  display: 'flex',
117
117
  alignItems: 'center',
118
- color: theme.palette.primary.main,
118
+ color: theme?.colors?.headerText,
119
119
  padding: '20px',
120
120
  '&:hover': {
121
121
  cursor: 'pointer',
122
- background: theme.palette.primary.lightest,
122
+ background: theme?.colors?.headerHover,
123
123
  borderRadius: theme?.shape?.borderRadius?.small
124
124
  }
125
125
  },
@@ -128,7 +128,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
128
128
  alignItems: 'center',
129
129
  justifyContent: 'space-between',
130
130
  padding: '18px 24px 18px 16px',
131
- background: theme?.palette?.background?.default,
131
+ background: theme?.colors?.white,
132
132
  boxShadow: theme?.shadows?.primary,
133
133
  position: ({
134
134
  isFixed
@@ -204,7 +204,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
204
204
  height: '100%'
205
205
  },
206
206
  menuContainer: {
207
- background: theme?.palette?.background?.default,
207
+ background: theme?.colors?.white,
208
208
  boxShadow: theme.shadows.secondary,
209
209
  width: '75%',
210
210
  height: '100%',
@@ -361,13 +361,11 @@ const buttonStyles = createUseStyles(theme => ({
361
361
  textAlign: 'center',
362
362
  color: ({
363
363
  disabled
364
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
364
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.CtaTextColor,
365
365
  background: ({
366
366
  disabled
367
- } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
368
- border: ({
369
- disabled
370
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
367
+ } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.colors?.ctaColor,
368
+ border: 'none',
371
369
  textDecoration: 'none',
372
370
  cursor: ({
373
371
  disabled
@@ -389,13 +387,13 @@ const buttonStyles = createUseStyles(theme => ({
389
387
  lineHeight: '18px',
390
388
  color: ({
391
389
  disabled
392
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
390
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
393
391
  background: ({
394
392
  disabled
395
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
393
+ } = {}) => disabled ? colorMixer(theme?.palette?.parimar?.default, 0.5).color : theme?.colors?.ctaColor,
396
394
  border: ({
397
395
  disabled
398
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
396
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
399
397
  cursor: ({
400
398
  disabled
401
399
  } = {}) => disabled ? 'not-allowed' : 'pointer',
@@ -2081,17 +2079,13 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
2081
2079
  const shape = {
2082
2080
  borderRadius
2083
2081
  };
2084
- const spacing = {
2085
- padding: isMobile ? mobilePadding : padding,
2086
- margin: isMobile ? mobileMargin : margin
2087
- };
2088
2082
  return {
2089
2083
  palette,
2090
2084
  shape,
2091
2085
  typography,
2092
2086
  shadows: generateShadows(palette),
2093
- borders: generateBorders(palette),
2094
- spacing
2087
+ borders: generateBorders(palette)
2088
+ // spacing
2095
2089
  };
2096
2090
  }
2097
2091
 
@@ -2213,6 +2207,178 @@ const defaultMetadata = {
2213
2207
  layout: defaultLayout
2214
2208
  };
2215
2209
 
2210
+ const GRADIENT = `linear-gradient`;
2211
+ const allColors = {
2212
+ white: '#FFFFFF',
2213
+ black: '#000000',
2214
+ lightblack: '#333333',
2215
+ gray: '#999999',
2216
+ bannerRed: '#EB5757',
2217
+ // Blue gradient
2218
+
2219
+ blue: '#1676F3',
2220
+ bluegradient: `${GRADIENT}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
2221
+ tertiaryblue: '#F4F9FF',
2222
+ // Orange gradient
2223
+
2224
+ orange: '#FF9000',
2225
+ orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
2226
+ tertiaryorange: '#FFF6EA',
2227
+ // Pink gradient
2228
+
2229
+ pink: '#F72585',
2230
+ pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
2231
+ tertiarypink: '#FEE9F3',
2232
+ // Violet gradient
2233
+
2234
+ violet: '#6026A8',
2235
+ violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
2236
+ tertiaryviolet: '#F5F2FA',
2237
+ // Teal gradient
2238
+
2239
+ teal: '#46A9A9',
2240
+ tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
2241
+ tertiaryteal: '#F4FAFA',
2242
+ //Red solid
2243
+
2244
+ red: '#F41828',
2245
+ tertiaryred: '#FFF2F3',
2246
+ // Green
2247
+
2248
+ green: '#8ECE19',
2249
+ tertiarygreen: '#F4FAFA',
2250
+ //Maroon solid
2251
+
2252
+ rust: '#9B2226',
2253
+ tertiaryrust: '#FFF0F0',
2254
+ //Purple solid
2255
+
2256
+ purple: '#6269C9',
2257
+ tertiarypurple: '#F4F6FF',
2258
+ //Golden gradient
2259
+
2260
+ golden: `#F2BA35`,
2261
+ goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
2262
+ //light green gradient
2263
+
2264
+ lightgreen: `#D6E359`,
2265
+ lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
2266
+ //light blue gradient
2267
+
2268
+ lightblue: `#A8EDF8`,
2269
+ lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
2270
+ skyblue: '#00ADE7',
2271
+ tertiaryskyblue: '#F2FCFF'
2272
+ };
2273
+
2274
+ const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
2275
+ let themeColor = theme.split('-');
2276
+ let color, gradient, darkMode;
2277
+ if (themeColor.length === 1) {
2278
+ color = themeColor[0] == 'default' ? 'skyblue' : themeColor[0];
2279
+ } else if (themeColor.length === 2) {
2280
+ color = themeColor[0];
2281
+ gradient = themeColor[1];
2282
+ } else {
2283
+ color = themeColor[0];
2284
+ gradient = themeColor[1];
2285
+ darkMode = themeColor[2];
2286
+ }
2287
+ console.log('color', allColors, gradient, darkMode);
2288
+
2289
+ // switch (color) {
2290
+ // case solidColors:
2291
+ // break;
2292
+
2293
+ // case gradientColors:
2294
+ // break;
2295
+
2296
+ // default:
2297
+ // break;
2298
+ // }
2299
+
2300
+ // type 1
2301
+ // const solidColors = {
2302
+ // font1: solidBaseColors?.black,
2303
+ // font2: solidBaseColors?.black,
2304
+ // font3: solidBaseColors?.black,
2305
+ // font4: solidBaseColors?.black,
2306
+ // AccentColor: solidBaseColors[theme],
2307
+ // background1: solidBaseColors?.white,
2308
+ // background2: solidBaseColors['tertiary' + theme],
2309
+ // background3: solidBaseColors['tertiary' + theme],
2310
+ // ctaColor: solidBaseColors[theme],
2311
+ // CtaTextColor: solidBaseColors?.white,
2312
+ // icon: solidBaseColors[theme],
2313
+ // iconBg: solidBaseColors['tertiary' + theme],
2314
+ // stripBg: solidBaseColors[theme],
2315
+ // stripText: solidBaseColors?.white,
2316
+ // inputBorderColor: solidBaseColors?.blue2,
2317
+ // tertiaryBlue2: solidBaseColors?.tertiaryblue2
2318
+ // };
2319
+
2320
+ //type 2
2321
+ // const gradientColors = {
2322
+ // font1: gradientBaseColors?.white,
2323
+ // font2: gradientBaseColors?.black,
2324
+ // font3: gradientBaseColors?.black,
2325
+ // font4: gradientBaseColors?.white,
2326
+ // AccentColor: gradientBaseColors[theme],
2327
+ // background1: gradientBaseColors[theme + 'gradient'],
2328
+ // background2: gradientBaseColors['tertiary' + theme],
2329
+ // background3: gradientBaseColors[theme + 'gradient'],
2330
+ // ctaColor: gradientBaseColors[theme + 'gradient'],
2331
+ // CtaTextColor: gradientBaseColors?.white,
2332
+ // icon: gradientBaseColors[theme],
2333
+ // iconBg: gradientBaseColors['tertiary' + theme],
2334
+ // stripBg: gradientBaseColors?.black,
2335
+ // stripText: gradientBaseColors?.white
2336
+ // };
2337
+
2338
+ const colors = {
2339
+ font1: gradient ? allColors?.white : allColors?.black,
2340
+ font2: darkMode ? allColors[color] : allColors?.black,
2341
+ font3: darkMode ? allColors?.white : allColors?.black,
2342
+ font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
2343
+ AccentColor: allColors[color],
2344
+ background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
2345
+ background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
2346
+ background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
2347
+ ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
2348
+ CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
2349
+ icon: allColors[color],
2350
+ iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
2351
+ stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
2352
+ stripText: darkMode ? allColors?.lightblack : allColors?.white,
2353
+ inputBorderColor: allColors?.blue2,
2354
+ tertiaryBlue2: allColors?.tertiaryblue2,
2355
+ white: allColors?.white,
2356
+ black: allColors?.black,
2357
+ lightblack: allColors?.lightblack,
2358
+ gray: allColors?.gray,
2359
+ bannerColor: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.bannerRed,
2360
+ bannerCtaColor: gradient ? allColors?.lightblack : allColors?.white,
2361
+ headerText: allColors[color],
2362
+ headerHover: allColors['tertiary' + color]
2363
+ };
2364
+ const typography = {
2365
+ fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
2366
+ fontSize: isMobile ? fontSizeMob : fontSize,
2367
+ fontWeight
2368
+ };
2369
+ // const shape = { borderRadius };
2370
+ const spacing = {
2371
+ padding: isMobile ? mobilePadding : padding,
2372
+ margin: isMobile ? mobileMargin : margin
2373
+ };
2374
+ return {
2375
+ ...getTheme(theme),
2376
+ typography,
2377
+ spacing,
2378
+ colors
2379
+ };
2380
+ };
2381
+
2216
2382
  function PageRenderer$1({
2217
2383
  pageData: {
2218
2384
  metadata: {
@@ -2269,7 +2435,7 @@ function PageRenderer$1({
2269
2435
  countryCode,
2270
2436
  currencySymbol
2271
2437
  }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
2272
- const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2438
+ const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2273
2439
  const Wrapper = SectionWrapper || Fragment;
2274
2440
  return /*#__PURE__*/React.createElement(ThemeProvider, {
2275
2441
  theme: theme
@@ -2307,7 +2473,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2307
2473
  padding: ({
2308
2474
  isMobile
2309
2475
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2310
- backgroundColor: theme?.palette?.background?.primary,
2476
+ background: theme?.colors?.background2,
2311
2477
  '&, & *, & *:before, & *:after': {
2312
2478
  fontFamily: theme?.typography?.fontFamily,
2313
2479
  boxSizing: 'border-box'
@@ -2365,14 +2531,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2365
2531
  marginBottom: '8px',
2366
2532
  fontSize: theme.typography.fontSize.subHead,
2367
2533
  letterSpacing: '3px',
2368
- color: theme?.palette?.font?.default,
2534
+ color: theme?.colors?.font3,
2369
2535
  wordBreak: 'break-word',
2370
2536
  maxWidth: '100%'
2371
2537
  },
2372
2538
  heading: {
2373
2539
  margin: '0',
2374
2540
  fontSize: theme.typography.fontSize.h1,
2375
- color: theme?.palette?.font?.default,
2541
+ color: theme?.colors?.font3,
2376
2542
  wordBreak: ({
2377
2543
  wordBreakValue
2378
2544
  }) => wordBreakValue || 'break-word',
@@ -2381,7 +2547,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2381
2547
  },
2382
2548
  description: {
2383
2549
  margin: `${theme.spacing.margin.tiny}px 0px`,
2384
- color: theme?.palette?.font?.primary,
2550
+ color: theme?.colors?.font3,
2385
2551
  lineHeight: '24px',
2386
2552
  wordBreak: 'break-word'
2387
2553
  },
@@ -2498,7 +2664,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2498
2664
  width: '26px',
2499
2665
  background: ({
2500
2666
  inverted
2501
- } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
2667
+ } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.colors.AccentColor
2502
2668
  },
2503
2669
  '@media screen and (max-width: 767px)': {
2504
2670
  sliderClass: {
@@ -2534,7 +2700,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2534
2700
  height: sizeHandler,
2535
2701
  border: ({
2536
2702
  inverted
2537
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2703
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor}`,
2538
2704
  borderRadius: '50%',
2539
2705
  display: 'flex',
2540
2706
  justifyContent: 'center',
@@ -2556,7 +2722,7 @@ function ArrowButton(props) {
2556
2722
  }, /*#__PURE__*/React.createElement(Icon, {
2557
2723
  height: props.size === 'small' ? '12px' : '18px',
2558
2724
  name: "Angle",
2559
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2725
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor,
2560
2726
  inverted: true
2561
2727
  }));
2562
2728
  }
@@ -2766,7 +2932,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2766
2932
  justifyContent: 'center',
2767
2933
  flexDirection: 'column',
2768
2934
  alignItems: 'center',
2769
- backgroundColor: theme?.palette?.background?.default,
2770
2935
  '&, & *, & *:before, & *:after': {
2771
2936
  fontFamily: theme?.typography?.fontFamily,
2772
2937
  boxSizing: 'border-box'
@@ -2784,7 +2949,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2784
2949
  subTitleHeading: {
2785
2950
  marginBottom: '8px',
2786
2951
  fontSize: theme.typography.fontSize.subHead,
2787
- color: theme?.palette?.font?.default,
2952
+ color: theme?.colors?.black,
2788
2953
  alignItems: 'center',
2789
2954
  textAlign: 'center',
2790
2955
  wordBreak: 'break-word',
@@ -2794,7 +2959,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2794
2959
  heading: {
2795
2960
  marginBottom: theme.spacing.margin.tiny,
2796
2961
  fontSize: theme.typography.fontSize.h2,
2797
- color: theme?.palette?.font?.default,
2962
+ color: theme?.colors?.black,
2798
2963
  fontWeight: theme.typography.fontWeight.bold,
2799
2964
  textAlign: 'center',
2800
2965
  wordBreak: 'break-word'
@@ -2811,7 +2976,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2811
2976
  display: 'flex',
2812
2977
  width: 'calc(100% - 200px)',
2813
2978
  alignItems: 'center',
2814
- background: theme?.palette?.background?.default,
2979
+ background: theme?.colors?.white,
2815
2980
  boxShadow: theme?.shadows?.primary,
2816
2981
  borderRadius: theme?.shape?.borderRadius?.regular,
2817
2982
  overflow: 'hidden',
@@ -2835,33 +3000,13 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2835
3000
  '& $contentText': {
2836
3001
  marginLeft: '170px'
2837
3002
  }
2838
- },
2839
- '&:nth-child(7n+1) $contentNumber': {
2840
- background: palettes.purple.primary.lightest
2841
- },
2842
- '&:nth-child(7n+2) $contentNumber': {
2843
- background: palettes.orange.primary.lightest
2844
- },
2845
- '&:nth-child(7n+3) $contentNumber': {
2846
- background: palettes.red.primary.lightest
2847
- },
2848
- '&:nth-child(7n+4) $contentNumber': {
2849
- background: palettes.green.primary.lightest
2850
- },
2851
- '&:nth-child(7n+5) $contentNumber': {
2852
- background: palettes.pink.primary.lightest
2853
- },
2854
- '&:nth-child(7n+6) $contentNumber': {
2855
- background: palettes.blue.primary.lightest
2856
- },
2857
- '&:nth-child(7n) $contentNumber': {
2858
- background: palettes.rust.primary.lightest
2859
3003
  }
2860
3004
  },
2861
3005
  contentNumber: {
2862
3006
  position: 'absolute',
2863
3007
  top: '0',
2864
3008
  fontWeight: '700',
3009
+ background: theme?.colors?.background3,
2865
3010
  fontSize: '72px',
2866
3011
  letterSpacing: '-3px',
2867
3012
  display: 'flex',
@@ -2869,7 +3014,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2869
3014
  justifyContent: 'center',
2870
3015
  padding: '48px',
2871
3016
  height: '100%',
2872
- color: theme?.palette?.font?.default,
3017
+ color: theme?.colors?.font4,
2873
3018
  wordBreak: 'break-word'
2874
3019
  },
2875
3020
  contentText: {
@@ -2881,14 +3026,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2881
3026
  fontWeight: theme.typography.fontWeight.bold,
2882
3027
  lineHeight: '32px',
2883
3028
  marginBottom: '8px',
2884
- color: theme?.palette?.font?.default,
3029
+ color: theme?.colors?.lightblack,
2885
3030
  wordBreak: 'break-word'
2886
3031
  },
2887
3032
  contentPara: {
2888
3033
  fontStyle: 'normal',
2889
3034
  fontSize: '16px',
2890
3035
  lineHeight: '26px',
2891
- color: theme?.palette?.font?.primary,
3036
+ color: theme?.colors?.gray,
2892
3037
  wordBreak: 'break-word'
2893
3038
  },
2894
3039
  '@media screen and (max-width: 767px)': {
@@ -3301,6 +3446,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3301
3446
  return {
3302
3447
  section: {
3303
3448
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3449
+ background: theme?.colors?.background2,
3304
3450
  '&, & *, & *:before, & *:after': {
3305
3451
  fontFamily: theme?.typography?.fontFamily,
3306
3452
  boxSizing: 'border-box'
@@ -3344,7 +3490,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3344
3490
  }
3345
3491
  },
3346
3492
  imageBorder: {
3347
- border: `2px solid ${theme?.palette?.primary?.light}`,
3493
+ // border: `2px solid ${theme?.palette?.primary?.light}`,
3348
3494
  borderRadius: theme?.shape?.borderRadius?.small,
3349
3495
  position: 'absolute',
3350
3496
  width: '100%',
@@ -3369,13 +3515,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
3369
3515
  marginBottom: '8px',
3370
3516
  fontSize: theme?.typography?.fontSize?.subHead,
3371
3517
  letterSpacing: '3px',
3372
- color: theme?.palette?.font?.default,
3518
+ color: theme?.colors?.font3,
3373
3519
  wordBreak: 'break-word'
3374
3520
  },
3375
3521
  heading: {
3376
3522
  margin: '0',
3377
3523
  fontSize: theme?.typography?.fontSize?.h1,
3378
- color: theme?.palette?.font?.default,
3524
+ color: theme?.colors?.font3,
3379
3525
  wordBreak: ({
3380
3526
  wordBreakValue
3381
3527
  }) => wordBreakValue || 'break-word',
@@ -3385,7 +3531,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3385
3531
  description: {
3386
3532
  marginTop: theme.spacing.margin.tiny,
3387
3533
  marginBottom: theme.spacing.margin.tiny,
3388
- color: theme?.palette?.font?.primary,
3534
+ color: theme?.colors?.font3,
3389
3535
  lineHeight: '24px',
3390
3536
  wordBreak: 'break-word'
3391
3537
  },
@@ -3551,16 +3697,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3551
3697
  containerWidth
3552
3698
  } = {}) => containerWidth
3553
3699
  },
3554
- partialBackground: {
3555
- top: '0',
3556
- left: '0',
3557
- width: '100%',
3558
- height: '50%',
3559
- position: 'absolute',
3560
- background: theme?.palette?.background?.primary
3561
- },
3700
+ // partialBackground: {
3701
+ // top: '0',
3702
+ // left: '0',
3703
+ // width: '100%',
3704
+ // height: '50%',
3705
+ // position: 'absolute',
3706
+ // background: theme?.palette?.background?.primary
3707
+ // },
3562
3708
  sectionContainer: {
3563
- backgroundColor: theme?.palette?.background?.default,
3709
+ backgroundColor: theme?.colors?.background2,
3564
3710
  boxShadow: theme?.shadows?.secondary,
3565
3711
  borderRadius: theme?.shape?.borderRadius?.regular,
3566
3712
  padding: theme.spacing.padding.small,
@@ -3571,7 +3717,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3571
3717
  fontWeight: theme.typography.fontWeight.bold,
3572
3718
  lineHeight: '71px',
3573
3719
  letterSpacing: '-3px',
3574
- color: theme?.palette?.font?.default,
3720
+ color: theme?.colors?.font3,
3575
3721
  marginBottom: theme.spacing.padding.tiny,
3576
3722
  wordBreak: 'break-word'
3577
3723
  },
@@ -3583,7 +3729,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3583
3729
  title: {
3584
3730
  fontSize: theme.typography.fontSize.h6,
3585
3731
  lineHeight: '32px',
3586
- color: theme?.palette?.font?.primary,
3732
+ color: theme?.colors?.font3,
3587
3733
  wordBreak: 'break-word',
3588
3734
  flex: 1
3589
3735
  },
@@ -3711,8 +3857,8 @@ const inputStyles = createUseStyles(theme => ({
3711
3857
  inputField: {
3712
3858
  width: '100%',
3713
3859
  // maxWidth: '314px',
3714
- background: theme?.palette?.background?.default,
3715
- border: `1px solid ${theme?.palette?.border?.secondary}`,
3860
+ // background: theme?.palette?.background?.default,
3861
+ border: `1px solid ${theme?.colors?.icon}`,
3716
3862
  borderRadius: theme?.shape?.borderRadius?.regular,
3717
3863
  padding: '14px 12px',
3718
3864
  display: 'flex',
@@ -3726,7 +3872,7 @@ const inputStyles = createUseStyles(theme => ({
3726
3872
  fontWeight: '400',
3727
3873
  fontSize: '16px',
3728
3874
  lineHeight: '20px',
3729
- color: theme?.palette?.font?.primary,
3875
+ color: theme?.colors?.black,
3730
3876
  fontFamily: theme?.typography?.fontFamily
3731
3877
  },
3732
3878
  '&:focus': {
@@ -3926,7 +4072,6 @@ var index$h = /*#__PURE__*/Object.freeze({
3926
4072
 
3927
4073
  const useTestimonialStyles = createUseStyles(theme => ({
3928
4074
  testimonialContainer: {
3929
- background: theme?.palette?.background?.primary,
3930
4075
  overflow: 'hidden',
3931
4076
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3932
4077
  '&, & *, & *:before, & *:after': {
@@ -3944,14 +4089,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
3944
4089
  } = {}) => containerWidth
3945
4090
  },
3946
4091
  testimonialText: {
3947
- color: theme?.palette?.font?.default,
4092
+ color: theme?.colors?.lightblack,
3948
4093
  fontSize: theme.typography.fontSize.subHead,
3949
4094
  wordBreak: 'break-word',
3950
4095
  textTransform: 'uppercase'
3951
4096
  },
3952
4097
  testimonialHeader: {
3953
4098
  fontSize: theme.typography.fontSize.h2,
3954
- color: theme?.palette?.font?.default,
4099
+ color: theme?.colors?.lightblack,
3955
4100
  fontWeight: theme.typography.fontWeight.bold,
3956
4101
  marginBottom: theme.spacing.margin.tiny,
3957
4102
  marginTop: '8px',
@@ -3968,7 +4113,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3968
4113
  position: 'relative',
3969
4114
  height: 'calc(100% - 12px)',
3970
4115
  width: 'calc(100% - 24px)',
3971
- background: theme?.palette?.background?.default,
4116
+ background: theme?.colors?.background1,
3972
4117
  boxShadow: theme?.shadows?.primary,
3973
4118
  borderRadius: theme?.shape?.borderRadius?.regular
3974
4119
  },
@@ -3995,7 +4140,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3995
4140
  marginBottom: theme.spacing.margin.tiny,
3996
4141
  fontSize: theme.typography.fontSize.body,
3997
4142
  wordBreak: 'break-word',
3998
- color: theme?.palette?.font?.primary,
4143
+ color: theme?.colors?.font1,
3999
4144
  lineHeight: '26px'
4000
4145
  },
4001
4146
  userContainer: {
@@ -4024,7 +4169,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4024
4169
  marginRight: '16px'
4025
4170
  },
4026
4171
  userName: {
4027
- color: theme?.palette?.font?.default,
4172
+ color: theme?.colors?.font1,
4028
4173
  margin: '0',
4029
4174
  fontSize: theme.typography.fontSize.h5,
4030
4175
  // paddingTop: '16px',
@@ -4043,19 +4188,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
4043
4188
  testimonialContainer: {
4044
4189
  padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
4045
4190
  },
4046
- // testimonialCardAndText: {
4047
- // margin: '0 20px'
4048
- // },
4049
-
4050
- // testimonialHeader: {
4051
- // fontSize: '24px',
4052
- // color: theme?.palette?.font?.default,
4053
- // margin: '4px 0 12px 0',
4054
- // overflow: 'hidden',
4055
- // // whiteSpace: 'nowrap',
4056
- // wordBreak: 'break-word',
4057
- // textOverflow: 'ellipsis'
4058
- // },
4059
4191
  testimonialText: {
4060
4192
  textAlign: 'center'
4061
4193
  },
@@ -4108,7 +4240,7 @@ function QuotesComponent() {
4108
4240
  width: "28px",
4109
4241
  height: "21px",
4110
4242
  name: "Quote",
4111
- color: theme?.palette?.primary?.main
4243
+ color: theme?.colors?.icon
4112
4244
  }));
4113
4245
  }
4114
4246
 
@@ -4638,7 +4770,7 @@ const useVideoStyles = createUseStyles(theme => {
4638
4770
  padding: ({
4639
4771
  isMobile
4640
4772
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4641
- backgroundColor: theme?.palette?.background?.primary,
4773
+ backgroundColor: theme?.colors?.background2,
4642
4774
  '&, & *, & *:before, & *:after': {
4643
4775
  fontFamily: theme?.typography?.fontFamily,
4644
4776
  boxSizing: 'border-box'
@@ -4661,7 +4793,7 @@ const useVideoStyles = createUseStyles(theme => {
4661
4793
  fontSize: theme.typography.fontSize.subHead,
4662
4794
  textTransform: 'uppercase',
4663
4795
  lineHeight: '20px',
4664
- color: theme?.palette?.font?.default,
4796
+ color: theme?.colors?.font2,
4665
4797
  letterSpacing: '3px',
4666
4798
  wordBreak: 'break-word'
4667
4799
  },
@@ -4672,14 +4804,14 @@ const useVideoStyles = createUseStyles(theme => {
4672
4804
  letterSpacing: '-3px',
4673
4805
  marginBottom: theme.spacing.margin.tiny,
4674
4806
  marginTop: '8px',
4675
- color: theme?.palette?.font?.default,
4807
+ color: theme?.colors?.font2,
4676
4808
  wordBreak: 'break-word'
4677
4809
  },
4678
4810
  sliderContainer: {
4679
4811
  marginRight: `-${theme.spacing.padding.medium}px`
4680
4812
  },
4681
4813
  singleSlideContainer: {
4682
- backgroundColor: theme?.palette?.background?.default,
4814
+ backgroundColor: 'white',
4683
4815
  // margin: '20px',
4684
4816
  width: 'calc(100% - 24px)',
4685
4817
  height: 'calc(100% - 40px)',
@@ -4716,14 +4848,14 @@ const useVideoStyles = createUseStyles(theme => {
4716
4848
  fontWeight: theme.typography.fontWeight.bold,
4717
4849
  lineHeight: '32px',
4718
4850
  marginBottom: '8px',
4719
- color: theme?.palette?.font?.default,
4851
+ color: theme?.colors?.lightblack,
4720
4852
  wordBreak: 'break-word'
4721
4853
  },
4722
4854
  videoDetailsSubHeading: {
4723
4855
  fontSize: theme.typography.fontSize.body,
4724
4856
  lineHeight: '24px',
4725
4857
  wordBreak: 'break-word',
4726
- color: theme?.palette?.font?.primary
4858
+ color: theme?.colors?.gray
4727
4859
  },
4728
4860
  '@media (max-width: 767px)': {
4729
4861
  videoHeading: {
@@ -4870,11 +5002,10 @@ var index$e = /*#__PURE__*/Object.freeze({
4870
5002
 
4871
5003
  const useSectionStyles$3 = createUseStyles(theme => ({
4872
5004
  section: {
4873
- position: 'relative',
4874
5005
  padding: ({
4875
5006
  isMobile
4876
5007
  } = {}) => 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`,
4877
- backgroundColor: theme?.palette?.background?.default,
5008
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
4878
5009
  '&, & *, & *:before, & *:after': {
4879
5010
  fontFamily: theme?.typography?.fontFamily,
4880
5011
  boxSizing: 'border-box'
@@ -4893,21 +5024,13 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4893
5024
  containerWidth
4894
5025
  } = {}) => containerWidth
4895
5026
  },
4896
- partialBackground: {
4897
- position: 'absolute',
4898
- top: '0',
4899
- left: '0',
4900
- height: '50%',
4901
- background: theme?.palette?.background?.primary,
4902
- width: '100%'
4903
- },
4904
5027
  content: {
4905
5028
  position: 'relative'
4906
5029
  },
4907
5030
  subTitleHeading: {
4908
5031
  width: '100%',
4909
5032
  fontSize: theme.typography.fontSize.subHead,
4910
- color: theme?.palette?.font?.default,
5033
+ color: theme?.colors?.font2,
4911
5034
  textTransform: 'uppercase',
4912
5035
  textAlign: 'left',
4913
5036
  lineHeight: '20px',
@@ -4919,7 +5042,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4919
5042
  fontSize: theme.typography.fontSize.h2,
4920
5043
  width: '100%',
4921
5044
  lineHeight: '70px',
4922
- color: theme?.palette?.font?.default,
5045
+ color: theme?.colors?.font2,
4923
5046
  textAlign: 'left',
4924
5047
  wordBreak: 'break-word'
4925
5048
  },
@@ -4929,7 +5052,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4929
5052
  // },
4930
5053
 
4931
5054
  card: {
4932
- background: theme?.palette?.background?.default,
5055
+ background: theme?.colors?.white,
4933
5056
  boxShadow: theme?.shadows?.primary,
4934
5057
  borderRadius: theme.shape.borderRadius.large,
4935
5058
  margin: ({
@@ -4950,7 +5073,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4950
5073
  textAlign: 'center',
4951
5074
  fontSize: theme.typography.fontSize.h6,
4952
5075
  fontWeight: theme.typography.fontWeight.bold,
4953
- color: theme?.palette?.font?.default,
5076
+ color: theme?.colors?.lightblack,
4954
5077
  margin: `16px 0px`,
4955
5078
  wordBreak: 'break-word'
4956
5079
  },
@@ -4962,7 +5085,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4962
5085
  alignItems: 'center',
4963
5086
  justifyContent: 'center',
4964
5087
  borderRadius: '50%',
4965
- background: theme?.palette?.background?.primary
5088
+ background: theme?.colors?.background2
4966
5089
  },
4967
5090
  buttonContainerClass: {
4968
5091
  marginRight: theme.spacing.margin.regular,
@@ -4976,7 +5099,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4976
5099
  textAlign: 'center',
4977
5100
  fontSize: theme.typography.fontSize.body,
4978
5101
  lineHeight: '22px',
4979
- color: theme?.palette?.font?.primary,
5102
+ color: theme?.colors?.gray,
4980
5103
  margin: '0',
4981
5104
  wordBreak: 'break-word'
4982
5105
  },
@@ -5062,7 +5185,7 @@ function Info({
5062
5185
  className: classes.imageContainer
5063
5186
  }, /*#__PURE__*/React.createElement(Icon, {
5064
5187
  name: dt.icon.metadata.value,
5065
- color: theme.palette.primary.main,
5188
+ color: theme?.colors?.icon,
5066
5189
  width: isMobile ? '30px' : '40px',
5067
5190
  height: isMobile ? '30px' : '40px'
5068
5191
  })), /*#__PURE__*/React.createElement("h3", {
@@ -5119,7 +5242,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5119
5242
  padding: ({
5120
5243
  isMobile
5121
5244
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5122
- backgroundColor: theme?.palette?.background?.default,
5245
+ backgroundColor: theme?.colors?.background2,
5123
5246
  '&, & *, & *:before, & *:after': {
5124
5247
  fontFamily: theme?.typography?.fontFamily,
5125
5248
  boxSizing: 'border-box'
@@ -5136,7 +5259,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5136
5259
  subHeading: {
5137
5260
  fontSize: theme.typography.fontSize.subHead,
5138
5261
  marginBottom: '8px',
5139
- color: theme?.palette?.font?.default,
5262
+ color: theme?.colors?.font3,
5140
5263
  wordBreak: 'break-word',
5141
5264
  textTransform: 'uppercase',
5142
5265
  letterSpacing: '3px'
@@ -5146,7 +5269,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5146
5269
  fontWeight: theme.typography.fontWeight.bold,
5147
5270
  lineHeight: 'normal',
5148
5271
  margin: '0',
5149
- color: theme?.palette?.font?.default,
5272
+ color: theme?.colors?.font3,
5150
5273
  wordBreak: 'break-word',
5151
5274
  marginBottom: theme.spacing.margin.tiny
5152
5275
  },
@@ -5157,7 +5280,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5157
5280
  padding: '32px 0px'
5158
5281
  },
5159
5282
  textPara: {
5160
- color: theme?.palette?.font?.primary,
5283
+ color: theme?.colors?.font3,
5161
5284
  wordBreak: 'break-word',
5162
5285
  fontSize: theme.typography.fontSize.body,
5163
5286
  lineHeight: '24px'
@@ -5464,7 +5587,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5464
5587
  padding: ({
5465
5588
  isMobile
5466
5589
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5467
- backgroundColor: theme?.palette?.background?.primary,
5590
+ backgroundColor: theme?.colors?.background2,
5468
5591
  '&, & *, & *:before, & *:after': {
5469
5592
  fontFamily: theme?.typography?.fontFamily,
5470
5593
  boxSizing: 'border-box'
@@ -5479,7 +5602,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5479
5602
  } = {}) => containerWidth
5480
5603
  },
5481
5604
  sectionSubheading: {
5482
- color: theme?.palette?.font.default,
5605
+ color: theme?.colors?.font3,
5483
5606
  fontSize: theme.typography.fontSize.subHead,
5484
5607
  marginBottom: '8px',
5485
5608
  wordBreak: 'break-word'
@@ -5488,15 +5611,16 @@ const useFaqListStyles = createUseStyles(theme => ({
5488
5611
  fontSize: theme.typography.fontSize.h2,
5489
5612
  fontWeight: theme.typography.fontWeight.bold,
5490
5613
  wordBreak: 'break-word',
5491
- marginBottom: `${theme.spacing.margin.tiny}px`
5614
+ marginBottom: `${theme.spacing.margin.tiny}px`,
5615
+ color: theme?.colors?.font3
5492
5616
  },
5493
5617
  container: {
5494
5618
  boxShadow: theme?.shadows?.secondary,
5495
5619
  borderRadius: '8px',
5496
- backgroundColor: theme?.palette?.background?.default
5620
+ backgroundColor: theme?.colors?.white
5497
5621
  },
5498
5622
  basicCardContainer: {
5499
- borderBottom: theme?.borders?.secondary,
5623
+ borderBottom: `1px solid #D8E0F0`,
5500
5624
  padding: `${theme.spacing.padding.tiny}px`
5501
5625
  },
5502
5626
  innerContainer: {
@@ -5515,14 +5639,14 @@ const useFaqListStyles = createUseStyles(theme => ({
5515
5639
  alignItems: 'center'
5516
5640
  },
5517
5641
  title: {
5518
- color: theme?.palette?.font.default,
5642
+ color: theme?.colors?.lightblack,
5519
5643
  fontSize: theme.typography.fontSize.h5,
5520
5644
  fontWeight: theme.typography.fontWeight.bold,
5521
5645
  margin: '0',
5522
5646
  wordBreak: 'break-word'
5523
5647
  },
5524
5648
  content: {
5525
- color: theme?.palette?.font.primary,
5649
+ color: theme?.colors?.lightblack,
5526
5650
  fontSize: theme.typography.fontSize.body,
5527
5651
  lineHeight: '24px',
5528
5652
  maxHeight: ({
@@ -5642,11 +5766,10 @@ var index$a = /*#__PURE__*/Object.freeze({
5642
5766
 
5643
5767
  const useTextGridStyles = createUseStyles(theme => ({
5644
5768
  section: {
5769
+ background: theme.colors.background1,
5645
5770
  padding: ({
5646
5771
  isMobile
5647
5772
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5648
- // backgroundColor: theme?.palette?.background?.primary,
5649
-
5650
5773
  '&, & *, & *:before, & *:after': {
5651
5774
  fontFamily: theme?.typography?.fontFamily,
5652
5775
  boxSizing: 'border-box'
@@ -5654,14 +5777,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5654
5777
  '& h2,& h3,& p': {
5655
5778
  marginTop: '0'
5656
5779
  }
5657
- // '& h2,& h3': {
5658
- // fontWeight: '500',
5659
- // '& b,& strong': {
5660
- // fontWeight: '700'
5661
- // }
5662
- // }
5663
5780
  },
5664
-
5665
5781
  sectionContainer: {
5666
5782
  margin: '0 auto',
5667
5783
  maxWidth: ({
@@ -5669,7 +5785,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5669
5785
  } = {}) => containerWidth
5670
5786
  },
5671
5787
  subheading: {
5672
- color: theme?.palette?.font.default,
5788
+ color: theme?.colors?.font1,
5673
5789
  fontSize: theme.typography.fontSize.subHead,
5674
5790
  lineHeight: '20px',
5675
5791
  letterSpacing: '3px',
@@ -5683,7 +5799,8 @@ const useTextGridStyles = createUseStyles(theme => ({
5683
5799
  fontWeight: theme.typography.fontWeight.bold,
5684
5800
  letterSpacing: '-3px',
5685
5801
  marginBottom: theme.spacing.margin.tiny,
5686
- wordBreak: 'break-word'
5802
+ wordBreak: 'break-word',
5803
+ color: theme?.colors?.font1
5687
5804
  },
5688
5805
  sliderContainer: {
5689
5806
  margin: '0 -10px'
@@ -5953,7 +6070,7 @@ const useCourseStyles = createUseStyles(theme => {
5953
6070
  display: 'flex',
5954
6071
  justifyContent: 'flex-start',
5955
6072
  alignItems: 'center',
5956
- fontSize: theme.typography.fontSize.subHead,
6073
+ fontSize: theme.typography.fontSize.body,
5957
6074
  color: theme?.palette?.font?.primary,
5958
6075
  '& img': {
5959
6076
  marginRight: '5px'
@@ -5986,8 +6103,8 @@ const useCourseStyles = createUseStyles(theme => {
5986
6103
  },
5987
6104
  courseCardBuyBtn: {
5988
6105
  cursor: 'pointer',
5989
- background: theme?.palette?.primary?.main,
5990
- color: theme?.palette?.font?.invertedDefault,
6106
+ background: theme?.colors?.ctaColor,
6107
+ color: theme?.colors?.CtaTextColor,
5991
6108
  padding: '8px 16px',
5992
6109
  fontWeight: theme.typography.fontWeight.bold,
5993
6110
  cursor: 'pointer',
@@ -6360,11 +6477,10 @@ var index$8 = /*#__PURE__*/Object.freeze({
6360
6477
  const useTeamStyles = createUseStyles(theme => {
6361
6478
  return {
6362
6479
  teamSuperContainer: {
6480
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6363
6481
  padding: ({
6364
6482
  isMobile
6365
6483
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6366
- // backgroundColor: theme?.palette?.background?.primary,
6367
-
6368
6484
  '&, & *, & *:before, & *:after': {
6369
6485
  fontFamily: theme?.typography?.fontFamily,
6370
6486
  boxSizing: 'border-box'
@@ -6385,25 +6501,17 @@ const useTeamStyles = createUseStyles(theme => {
6385
6501
  lineHeight: '20px',
6386
6502
  letterSpacing: '3px',
6387
6503
  marginBottom: '8px',
6388
- color: theme?.palette?.font?.default,
6504
+ color: theme?.colors?.font2,
6389
6505
  // wordBreak: 'break-word',
6390
6506
  position: 'relative'
6391
6507
  },
6392
- partialBackground: {
6393
- position: 'absolute',
6394
- top: '0',
6395
- left: '0',
6396
- height: '50%',
6397
- background: theme?.palette?.background?.primary,
6398
- width: '100%'
6399
- },
6400
6508
  teamTitle: {
6401
6509
  fontSize: theme.typography.fontSize.h2,
6402
6510
  fontWeight: theme.typography.fontWeight.bold,
6403
6511
  lineHeight: '70px',
6404
6512
  letterSpacing: '-3px',
6405
6513
  wordBreak: 'break-word',
6406
- color: theme?.palette?.font?.default,
6514
+ color: theme?.colors?.font2,
6407
6515
  position: 'relative'
6408
6516
  },
6409
6517
  sliderContainer: {
@@ -6495,12 +6603,10 @@ const useTeamStyles = createUseStyles(theme => {
6495
6603
  teamDetailsHeading: {
6496
6604
  fontSize: '16px',
6497
6605
  lineHeight: '24px',
6498
- margin: '0',
6499
- color: theme?.palette?.font?.body
6606
+ margin: '0'
6500
6607
  },
6501
6608
  teamDetailsSubHeading: {
6502
- marginTop: '0px',
6503
- color: theme?.palette?.font?.primary
6609
+ marginTop: '0px'
6504
6610
  }
6505
6611
  }
6506
6612
  };
@@ -6611,7 +6717,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6611
6717
  justifyContent: 'center',
6612
6718
  flexDirection: 'column',
6613
6719
  alignItems: 'center',
6614
- backgroundColor: theme?.palette?.background?.default,
6720
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6615
6721
  padding: ({
6616
6722
  isMobile
6617
6723
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
@@ -6633,16 +6739,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6633
6739
  containerWidth
6634
6740
  } = {}) => containerWidth
6635
6741
  },
6636
- partialBackground: {
6637
- top: '0',
6638
- left: '0',
6639
- width: '100%',
6640
- height: '50%',
6641
- position: 'absolute',
6642
- background: theme?.palette?.background?.primary
6643
- },
6742
+ // partialBackground: {
6743
+ // top: '0',
6744
+ // left: '0',
6745
+ // width: '100%',
6746
+ // height: '50%',
6747
+ // position: 'absolute',
6748
+ // background: theme?.colors?.white
6749
+ // },
6644
6750
  sectionContainer: {
6645
- backgroundColor: theme?.palette?.background?.default,
6751
+ backgroundColor: theme?.colors?.white,
6646
6752
  boxShadow: theme?.shadows?.secondary,
6647
6753
  borderRadius: theme?.shape?.borderRadius?.regular,
6648
6754
  padding: '48px',
@@ -6651,7 +6757,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6651
6757
  title: {
6652
6758
  margin: '0',
6653
6759
  fontSize: theme.typography.fontSize.h2,
6654
- color: theme?.palette?.font?.default,
6760
+ color: theme?.colors?.lightblack,
6655
6761
  fontWeight: theme.typography.fontWeight.bold,
6656
6762
  lineHeight: '71px',
6657
6763
  letterSpacing: '-3px',
@@ -6674,7 +6780,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6674
6780
  subtitle: {
6675
6781
  // margin: '0 0 40px 0',
6676
6782
  fontSize: theme.typography.fontSize.h5,
6677
- color: theme?.palette?.font?.default,
6783
+ color: theme?.colors?.lightblack,
6678
6784
  lineHeight: '32px',
6679
6785
  wordBreak: 'break-word',
6680
6786
  marginBottom: '32px'
@@ -6697,7 +6803,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6697
6803
  },
6698
6804
  addressText: {
6699
6805
  fontSize: theme.typography.fontSize.h6,
6700
- color: theme?.palette?.font?.default,
6806
+ color: theme?.colors?.lightblack,
6701
6807
  lineHeight: '24px',
6702
6808
  fontSize: '16px'
6703
6809
  },
@@ -7034,7 +7140,7 @@ const useSectionStyles = createUseStyles(theme => ({
7034
7140
  padding: ({
7035
7141
  isMobile
7036
7142
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
7037
- backgroundColor: theme?.palette?.background?.default,
7143
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
7038
7144
  '&, & *, & *:before, & *:after': {
7039
7145
  fontFamily: theme?.typography?.fontFamily,
7040
7146
  boxSizing: 'border-box'
@@ -7054,16 +7160,8 @@ const useSectionStyles = createUseStyles(theme => ({
7054
7160
  containerWidth
7055
7161
  } = {}) => containerWidth
7056
7162
  },
7057
- partialBackground: {
7058
- top: '0',
7059
- left: '0',
7060
- width: '100%',
7061
- height: '50%',
7062
- position: 'absolute',
7063
- background: theme?.palette?.background?.primary
7064
- },
7065
7163
  sectionContainer: {
7066
- backgroundColor: theme?.palette?.background?.default,
7164
+ backgroundColor: theme?.colors?.white,
7067
7165
  boxShadow: theme?.shadows?.secondary,
7068
7166
  borderRadius: theme?.shape?.borderRadius?.regular,
7069
7167
  padding: '48px',
@@ -7072,7 +7170,7 @@ const useSectionStyles = createUseStyles(theme => ({
7072
7170
  title: {
7073
7171
  margin: '0',
7074
7172
  fontSize: theme.typography.fontSize.h2,
7075
- color: theme?.palette?.font?.default,
7173
+ color: theme?.colors?.lightblack?.default,
7076
7174
  lineHeight: '71px',
7077
7175
  letterSpacing: '-3px',
7078
7176
  textAlign: 'left',
@@ -7097,7 +7195,7 @@ const useSectionStyles = createUseStyles(theme => ({
7097
7195
  subtitle: {
7098
7196
  // margin: '0 0 auto 0',
7099
7197
  fontSize: theme.typography.fontSize.h6,
7100
- color: theme?.palette?.font?.default,
7198
+ color: theme?.colors?.lightblack,
7101
7199
  // lineHeight: '32px',
7102
7200
  // margin: '16px 0',
7103
7201
  textAlign: 'center',
@@ -7128,8 +7226,8 @@ const useSectionStyles = createUseStyles(theme => ({
7128
7226
  inputField: {
7129
7227
  width: '100%',
7130
7228
  // maxWidth: '314px',
7131
- background: theme?.palette?.background?.default,
7132
- border: `1px solid ${theme?.palette?.border?.secondary}`,
7229
+ // background: theme?.palette?.background?.default,
7230
+ border: `1px solid ${theme?.colors?.cta}`,
7133
7231
  borderRadius: theme?.shape?.borderRadius?.regular,
7134
7232
  // padding: '14px 12px',
7135
7233
  display: 'flex',
@@ -7142,7 +7240,7 @@ const useSectionStyles = createUseStyles(theme => ({
7142
7240
  fontWeight: '400',
7143
7241
  fontSize: theme.typography.fontSize.subHead,
7144
7242
  lineHeight: '20px',
7145
- color: theme?.palette?.font?.primary,
7243
+ color: theme?.colors?.lightblack,
7146
7244
  fontFamily: theme?.typography?.fontFamily
7147
7245
  },
7148
7246
  '&:focus': {
@@ -7455,6 +7553,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7455
7553
  webinarSuperContainer: {
7456
7554
  display: 'flex',
7457
7555
  justifyContent: 'center',
7556
+ background: theme.colors.background1,
7458
7557
  padding: ({
7459
7558
  isMobile
7460
7559
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7477,30 +7576,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7477
7576
  maxWidth: '1440px',
7478
7577
  fontFamily: theme?.typography?.fontFamily
7479
7578
  },
7480
- // videoTestimonialHeading: {
7481
- // fontSize: theme.typography.fontSize.subHead,
7482
- // lineHeight: '20px',
7483
- // letterSpacing: '3px',
7484
- // textTransform: 'uppercase',
7485
- // color: theme.palette.font.tertiary,
7486
- // wordBreak: 'break-word',
7487
- // fontWeight: theme.typography.fontWeight.bold,
7488
- // },
7489
-
7490
- // videoTestimonialTitle: {
7491
- // fontSize: theme.typography.fontSize.h2,
7492
- // lineHeight: '71px',
7493
- // fontWeight: theme.typography.fontWeight.bold,
7494
- // letterSpacing: '-3px',
7495
- // margin: '0',
7496
- // color: theme.palette.font.default,
7497
- // wordBreak: 'break-word'
7498
- // },
7499
-
7500
- // videoCarouselContainer: {
7501
- // marginTop: '16px'
7502
- // },
7503
-
7504
7579
  webinarCarousel: {
7505
7580
  display: 'flex',
7506
7581
  justifyContent: 'flex-start',
@@ -7529,8 +7604,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7529
7604
  },
7530
7605
  offerText: {
7531
7606
  textAlign: 'center',
7532
- color: theme.palette.font.primary,
7533
- marginBottom: '5%'
7607
+ color: theme?.colors?.lightblack,
7608
+ marginBottom: '5% !important',
7609
+ fontWeight: '700'
7534
7610
  },
7535
7611
  offerPrice: {
7536
7612
  fontSize: theme.typography.fontSize.h5,
@@ -7576,7 +7652,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7576
7652
  margin: '0',
7577
7653
  letterSpacing: '-1px',
7578
7654
  wordBreak: wordBreakValue => wordBreakValue || 'break-word',
7579
- color: theme.palette.font.default
7655
+ color: theme?.colors?.font1
7580
7656
  },
7581
7657
  courseViewContainer: {
7582
7658
  width: '645px',
@@ -7590,8 +7666,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7590
7666
  },
7591
7667
  bannerContainer: {
7592
7668
  width: '100%',
7593
- background: '#EB5757',
7594
- color: '#fff',
7669
+ background: theme?.colors?.bannerColor,
7670
+ color: theme?.colors?.bannerCtaColor,
7671
+ fontWeight: '600',
7595
7672
  textAlign: 'center',
7596
7673
  padding: '10px 10px 23px 40px',
7597
7674
  wordWrap: 'break-word',
@@ -7610,24 +7687,26 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7610
7687
  display: 'flex',
7611
7688
  alignItems: 'center',
7612
7689
  marginRight: '20px',
7690
+ color: theme?.colors?.font1,
7613
7691
  '& div': {
7614
- fontSize: theme.typography.fontSize.subHead,
7692
+ fontSize: theme.typography.fontSize.body,
7615
7693
  marginLeft: '10px'
7616
7694
  }
7617
7695
  },
7618
7696
  courseDetailContent: {
7619
- fontSize: theme.typography.fontSize.subHead,
7697
+ fontSize: theme.typography.fontSize.body,
7698
+ lineHeight: '21px',
7620
7699
  wordBreak: 'break-word',
7621
- color: theme.palette.font.primary,
7700
+ color: theme?.colors?.font1,
7622
7701
  whiteSpace: 'pre-wrap',
7623
7702
  width: '80%'
7624
7703
  },
7625
7704
  courseDetailViewFullDetails: {
7626
7705
  cursor: 'pointer',
7627
- fontSize: theme.typography.fontSize.subHead,
7706
+ fontSize: theme.typography.fontSize.body,
7628
7707
  lineHeight: '24px',
7708
+ color: theme?.colors?.font1,
7629
7709
  marginTop: '-20px',
7630
- color: '#00ADE7',
7631
7710
  wordBreak: 'break-word'
7632
7711
  },
7633
7712
  courseDetailTime: {
@@ -7642,7 +7721,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7642
7721
  display: 'flex',
7643
7722
  width: '36px',
7644
7723
  height: '36px',
7645
- backgroundColor: 'rgb(240, 244, 248)',
7724
+ backgroundColor: theme?.colors?.icon,
7646
7725
  justifyContent: 'center',
7647
7726
  alignItems: 'center',
7648
7727
  borderRadius: '6px'
@@ -7834,14 +7913,15 @@ const SingleVideoSlide$1 = props => {
7834
7913
  className: classes.iconBackground
7835
7914
  }, /*#__PURE__*/React.createElement(Icon, {
7836
7915
  name: 'Calendar',
7837
- color: theme.palette.primary.main
7916
+ width: "24px",
7917
+ color: theme?.colors?.background2
7838
7918
  })), /*#__PURE__*/React.createElement("div", null, moment(data.startDate).locale(momentLocale).format('Do MMM YY') + ' ', moment(data.startTime).locale(momentLocale).format('h:mm A'), /*#__PURE__*/React.createElement("span", null, " - "), moment(data.endTime).locale(momentLocale).format('h:mm A'))), /*#__PURE__*/React.createElement("div", {
7839
7919
  className: classes.courseDetailTag
7840
7920
  }, /*#__PURE__*/React.createElement("span", {
7841
7921
  className: classes.iconBackground
7842
7922
  }, /*#__PURE__*/React.createElement(Icon, {
7843
- color: theme.palette.primary.main,
7844
- width: "20px",
7923
+ color: theme?.colors?.background2,
7924
+ width: "24px",
7845
7925
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7846
7926
  })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
7847
7927
  ref: data?.videoTextContent?.refSetter,
@@ -7948,13 +8028,15 @@ var index$4 = /*#__PURE__*/Object.freeze({
7948
8028
  });
7949
8029
 
7950
8030
  const useCoursePromotionPage = createUseStyles(theme => {
8031
+ console.log(theme, 'themere');
7951
8032
  return {
7952
8033
  courseSuperContainer: {
7953
8034
  display: 'flex',
7954
8035
  justifyContent: 'center',
8036
+ background: theme?.colors?.background1,
7955
8037
  padding: ({
7956
8038
  isMobile
7957
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8039
+ } = {}) => isMobile ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7958
8040
  '&, & *, & *:before, & *:after': {
7959
8041
  fontFamily: theme?.typography?.fontFamily,
7960
8042
  boxSizing: 'border-box'
@@ -8025,7 +8107,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8025
8107
 
8026
8108
  offerText: {
8027
8109
  textAlign: 'center',
8028
- color: theme.palette.font.primary
8110
+ color: theme.palette.font.primary,
8111
+ fontWeight: '700'
8029
8112
  },
8030
8113
  offerPrice: {
8031
8114
  fontSize: theme.typography.fontSize.h4,
@@ -8072,7 +8155,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8072
8155
  margin: '0',
8073
8156
  letterSpacing: '-1px',
8074
8157
  wordBreak: 'break-word',
8075
- color: theme.palette.font.default
8158
+ color: theme?.colors?.font1
8076
8159
  },
8077
8160
  courseViewContainer: {
8078
8161
  width: '445px',
@@ -8087,8 +8170,9 @@ const useCoursePromotionPage = createUseStyles(theme => {
8087
8170
 
8088
8171
  bannerContainer: {
8089
8172
  width: '100%',
8090
- background: '#EB5757',
8091
- color: '#fff',
8173
+ background: theme?.colors?.bannerColor,
8174
+ color: theme?.colors?.bannerCtaColor,
8175
+ fontWeight: '600',
8092
8176
  textAlign: 'center',
8093
8177
  padding: '10px 10px 23px 40px',
8094
8178
  wordWrap: 'break-word',
@@ -8109,8 +8193,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8109
8193
  },
8110
8194
  courseEmblem: {
8111
8195
  background: '#F0F4F8',
8112
- fontSize: '18px',
8113
- borderRadius: '2.00337px',
8196
+ fontSize: theme.typography.fontSize.body,
8197
+ borderRadius: '4px',
8114
8198
  padding: '8px',
8115
8199
  display: 'flex',
8116
8200
  alignItems: 'center',
@@ -8126,6 +8210,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8126
8210
  display: 'flex',
8127
8211
  alignItems: 'center',
8128
8212
  marginRight: '20px',
8213
+ color: theme?.colors?.font1,
8129
8214
  '& div': {
8130
8215
  fontSize: theme.typography.fontSize.body,
8131
8216
  fontWeight: theme.typography.fontWeight.medium,
@@ -8133,20 +8218,21 @@ const useCoursePromotionPage = createUseStyles(theme => {
8133
8218
  }
8134
8219
  },
8135
8220
  courseDetailContent: {
8136
- // marginTop: '16px',
8221
+ marginTop: '20px',
8137
8222
  fontSize: theme.typography.fontSize.body,
8138
- lineHeight: '24px',
8223
+ lineHeight: '21px',
8139
8224
  wordBreak: 'break-word',
8140
- color: theme.palette.font.primary,
8225
+ color: theme?.colors?.font1,
8141
8226
  whiteSpace: 'pre-wrap',
8142
8227
  margin: '10px 0 20px'
8143
8228
  },
8144
8229
  courseDetailViewFullDetails: {
8145
8230
  cursor: 'pointer',
8146
- fontSize: theme.typography.fontSize.subHead,
8147
- lineHeight: '24px',
8148
- marginTop: '-24px',
8149
- color: '#00ADE7',
8231
+ fontSize: theme.typography.fontSize.body,
8232
+ textDecoration: 'underline',
8233
+ lineHeight: '21px',
8234
+ marginTop: '20px',
8235
+ color: theme.colors?.font1,
8150
8236
  wordBreak: 'break-word'
8151
8237
  },
8152
8238
  courseDetailTime: {
@@ -8157,7 +8243,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8157
8243
  display: 'flex',
8158
8244
  width: '36px',
8159
8245
  height: '36px',
8160
- backgroundColor: 'rgb(240, 244, 248)',
8246
+ backgroundColor: theme?.colors?.icon,
8161
8247
  justifyContent: 'center',
8162
8248
  alignItems: 'center',
8163
8249
  borderRadius: '6px'
@@ -8217,7 +8303,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8217
8303
  // fontSize: '20px',
8218
8304
  fontWeight: '600',
8219
8305
  lineHeight: 'normal',
8220
- letterSpacing: '0px'
8306
+ letterSpacing: '0px',
8307
+ color: theme?.colors?.font1
8221
8308
  },
8222
8309
  videoTestimonialTitle: {
8223
8310
  // fontSize: '24px',
@@ -8386,28 +8473,32 @@ const SingleVideoSlide = props => {
8386
8473
  className: classes.iconBackground
8387
8474
  }, /*#__PURE__*/React.createElement(Icon, {
8388
8475
  name: 'Clock',
8389
- color: theme.palette.primary.main
8476
+ width: "24px",
8477
+ color: theme?.colors?.background2
8390
8478
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React.createElement("div", {
8391
8479
  className: classes.courseDetailTag
8392
8480
  }, /*#__PURE__*/React.createElement("span", {
8393
8481
  className: classes.iconBackground
8394
8482
  }, /*#__PURE__*/React.createElement(Icon, {
8395
8483
  name: 'Book Saved',
8396
- color: theme.palette.primary.main
8484
+ color: theme?.colors?.background2,
8485
+ width: "24px"
8397
8486
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? 'Physical Books' : null)) : null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? /*#__PURE__*/React.createElement("div", {
8398
8487
  className: classes.courseDetailTag
8399
8488
  }, /*#__PURE__*/React.createElement("span", {
8400
8489
  className: classes.iconBackground
8401
8490
  }, /*#__PURE__*/React.createElement(Icon, {
8402
8491
  name: 'Certificate',
8403
- color: theme.palette.primary.main
8492
+ color: theme?.colors?.background2,
8493
+ width: "24px"
8404
8494
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React.createElement("div", {
8405
8495
  className: classes.courseDetailTag
8406
8496
  }, /*#__PURE__*/React.createElement("span", {
8407
8497
  className: classes.iconBackground
8408
8498
  }, /*#__PURE__*/React.createElement(Icon, {
8409
8499
  name: 'Certificate',
8410
- color: theme.palette.primary.main
8500
+ color: theme?.colors?.background2,
8501
+ width: "24px"
8411
8502
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React.createElement("p", {
8412
8503
  ref: data?.videoTextContent?.refSetter,
8413
8504
  className: classes.courseDetailContent,
@@ -8534,7 +8625,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8534
8625
  padding: ({
8535
8626
  isMobile
8536
8627
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8537
- background: '#F4F9FF',
8628
+ background: theme?.colors?.background3,
8538
8629
  '&, & *, & *:before, & *:after': {
8539
8630
  fontFamily: theme?.typography?.fontFamily,
8540
8631
  boxSizing: 'border-box'
@@ -8551,7 +8642,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8551
8642
  marginTop: '8px',
8552
8643
  fontSize: theme.typography.fontSize.h6,
8553
8644
  lineHeight: '23px',
8554
- color: 'rgba(51, 51, 51, 0.5)',
8645
+ color: theme?.colors?.gray,
8555
8646
  marginBottom: theme.spacing.margin.tiny
8556
8647
  },
8557
8648
  formPageFormContainer: {
@@ -8570,8 +8661,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8570
8661
  },
8571
8662
 
8572
8663
  inputFieldLabel: {
8573
- color: '#333',
8574
- fontSize: theme.typography.fontSize.subHead,
8664
+ color: theme?.colors?.lightblack,
8665
+ fontSize: theme.typography.fontSize.body,
8575
8666
  fontWeight: theme.typography.fontWeight.semiBold,
8576
8667
  display: 'block',
8577
8668
  marginTop: '20px',
@@ -8582,8 +8673,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8582
8673
  borderRadius: '8px',
8583
8674
  border: '1px solid #D8E0F0',
8584
8675
  padding: '12px 16px',
8585
- color: '#7D8592',
8586
- fontSize: theme.typography.fontSize.subHead
8676
+ color: theme?.colors?.lightblack,
8677
+ fontSize: theme.typography.fontSize.body
8587
8678
  },
8588
8679
  checkboxField: {
8589
8680
  // padding: '20px',
@@ -8591,21 +8682,21 @@ const useFormPageStyles = createUseStyles(theme => ({
8591
8682
  // borderRadius: '8px'
8592
8683
  },
8593
8684
  checkBoxFieldLabel: {
8594
- color: '#333',
8595
- fontSize: theme.typography.fontSize.subHead,
8685
+ color: theme?.colors?.lightblack,
8686
+ fontSize: theme.typography.fontSize.body,
8596
8687
  fontWeight: theme.typography.fontWeight.semiBold,
8597
8688
  marginTop: '20px',
8598
8689
  marginBottom: '12px'
8599
8690
  },
8600
8691
  inputFieldRequired: {
8601
- color: '#F41828'
8692
+ color: theme?.colors?.lightblack
8602
8693
  },
8603
8694
  checkboxFieldControl: {
8604
8695
  padding: '8px 0',
8605
8696
  '& label': {
8606
- fontSize: theme.typography.fontSize.subHead,
8697
+ fontSize: theme.typography.fontSize.body,
8607
8698
  marginLeft: '10px',
8608
- color: '#7D8592'
8699
+ color: theme?.colors?.lightblack
8609
8700
  }
8610
8701
  },
8611
8702
  submitBtnContainer: {
@@ -8618,8 +8709,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8618
8709
  '& button': {
8619
8710
  // height: '44px',
8620
8711
  padding: '16px 24px',
8621
- color: '#FFFFFF',
8622
- fontSize: theme.typography.fontSize.subHead,
8712
+ fontSize: theme.typography.fontSize.body,
8623
8713
  cursor: 'pointer',
8624
8714
  borderRadius: '8px'
8625
8715
  }
@@ -9627,7 +9717,7 @@ function PageRenderer({
9627
9717
  countryCode,
9628
9718
  currencySymbol
9629
9719
  }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
9630
- const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9720
+ const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9631
9721
  const Wrapper = SectionWrapper || Fragment;
9632
9722
  return /*#__PURE__*/React.createElement(ThemeProvider, {
9633
9723
  theme: theme