diy-template-components 2.0.11 → 2.0.13

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%',
@@ -337,9 +337,9 @@ const alpha = {
337
337
  eightyPercent: 0.8
338
338
  };
339
339
  const getRGBFromHex = hex => {
340
- const r = parseInt(hex.slice(1, 3), 16);
341
- const g = parseInt(hex.slice(3, 5), 16);
342
- const b = parseInt(hex.slice(5, 7), 16);
340
+ const r = parseInt(hex?.slice(1, 3), 16);
341
+ const g = parseInt(hex?.slice(3, 5), 16);
342
+ const b = parseInt(hex?.slice(5, 7), 16);
343
343
  return [r, g, b];
344
344
  };
345
345
  const hexToRgbA = (hex, alpha = null) => {
@@ -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',
@@ -1044,6 +1042,25 @@ var appStore = "data:image/svg+xml,%3Csvg%20width%3D%22116%22%20height%3D%2240%2
1044
1042
 
1045
1043
  var downloadApkImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQwAAABLCAYAAACFprnzAAAMPmlDQ1BJQ0MgUHJvZmlsZQAASImVVwdYU8kWnltSIbTQpYTepEgNICWEFkB6EWyEJEAoMQaCih1ZVHAtqFjAhq6KKHZA7IidRbH3xYKKsi4W7MqbFNB1X/nefN/c+e8/Z/5z5tyZe+8AoH6cKxbnoRoA5IsKJfFhQYzRqWkM0lNAAcaADJyBJ5dXIGbFxkYBWAbbv5d31wEia684yrT+2f9fiyZfUMADAImFOINfwMuHeD8AeA1PLCkEgCjjLSYXimUYVqAtgQFCPF+GsxS4RoYzFHi33CYxng1xGwBkVS5XkgWA2iXIM4p4WVBDrQ9iFxFfKAJAnQGxf37+RD7E6RDbQhsxxDJ9ZsYPOll/08wY0uRys4awYi7yQg4WFojzuFP/z3T875KfJx30YQ2rarYkPF42Z5i3m7kTI2VYFeJeUUZ0DMRaEH8Q8uX2EKPUbGl4ksIeNeIVsGHOgC7ELnxucCTERhCHivKio5R8RqYwlAMxXCHoFGEhJxFifYjnCwpCEpQ2GyQT45W+0MZMCZul5M9yJXK/Ml/3pblJLKX+62wBR6mPqRVnJ6ZATIXYskiYHA2xGsROBbkJkUqbkcXZ7OhBG4k0Xha/JcTxAlFYkEIfK8qUhMYr7cvzCwbni23IFnKilXhvYXZiuCI/WBuPK48fzgW7JBCxkgZ1BAWjowbnwhcEhyjmjj0TiJISlDofxIVB8YqxOFWcF6u0x80FeWEy3hxi94KiBOVYPLkQLkiFPp4pLoxNVMSJF+dwI2IV8eBLQBRgg2DAAFJYM8BEkAOEHb1NvfBO0RMKuEACsoAAOCqZwREp8h4RvCaAYvAnRAJQMDQuSN4rAEWQ/zrEKq6OIFPeWyQfkQueQJwPIkEevJfKR4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O/Ey/UOQw8eO0pQZxfsZJPfDXcYe57txhk60mgzNLEAY0V+Aru4lWNKlTcL/XJa9BYDa+g+35qPXZX6y+JxWunAGJi5A7uR4/mC3/3ud4FzF0AzPr6urWRU1ZPVEN6ezhfp2CPwt7/9LX5cyC/BVtF5ncwBVKGUecwP2Eno+IZ23k3BMXpC9PV8OtXf0yKslR6lQknE29DzMYcRXxRNnjmKwHtgAc73TJw4MSxvx+hvsGPzzG2k+1Yi4sCfOYxg29RjCjzmdVglIeT1hvBlP4oNryr39Hhe3cRjuzXCHGYb5DbQxzZAD4PeEEAPo9t7zs9htNrp2a2MRnTDskpiymTIFhiVFvA91cEagB7UUMOwbtwa6spmedkC7xYL9NLxdGKT3MPoxFoZN1tglFsgO4xR3gBy9bMFOrFAdhidWCvjZguMcgvkOYxR3gBy9YfOAiwz69CdvSCna8G2Qa3kw7b1oZz8tNc7jGWpp2vlM2G2QLZA+xbwk5WDudF7xad9zWdhjrX3JXZKk/GzBbIFurQATkK/LllEMvEYjNPpRv4Ye7szR6W7oc002QLZAqPMAmP5OtKkSZNGWbVzdbMFsgW6scAY69LE7WKcObBDS93wyDTZAtkCo8ACfD+2dBh8AMXeQ1B+C3UU1D9XMVsgW6BNC9iJ4jBlyhQORb4DfF9huN87Yfp3fSgn02bb5TbQ+zaAT9C3V2ocBq6DSdCqr3jlC9H7C5Ftmm060tsAvgCfIKhzGCqwidD8pM+9ndwGRnEbwAek8H8VNOJO7rX6rgAAAABJRU5ErkJggg==";
1046
1044
 
1045
+ function getShortenedSubstring(name, length, allowDots = true) {
1046
+ if (name) {
1047
+ return name.length < length ? name : `${name.substr(0, length)}${allowDots && '...'}`;
1048
+ }
1049
+ return '';
1050
+ }
1051
+ function getAppDownloadLink(androidLink = '', iosLink = '') {
1052
+ if (typeof window !== 'undefined') {
1053
+ const userAgent = window.navigator?.userAgent;
1054
+ if (/Android/.test(userAgent) && androidLink) {
1055
+ return androidLink;
1056
+ }
1057
+ if (/iPad|iPhone|iPod/.test(userAgent) && iosLink) {
1058
+ return iosLink;
1059
+ }
1060
+ return androidLink || iosLink;
1061
+ }
1062
+ }
1063
+
1047
1064
  function OptionList({
1048
1065
  optionsData,
1049
1066
  headerData,
@@ -1071,13 +1088,15 @@ function OptionList({
1071
1088
  };
1072
1089
  const tabData = tabsDataModifier();
1073
1090
  const classes = useSectionStyles$a();
1091
+
1092
+ // console.log(headerData, 'sakshat header options');
1093
+
1074
1094
  const isAndroidDelisted = headerData?.isAndroidDelisted;
1075
1095
  const apkURL = headerData?.apkURL;
1076
1096
  const downloadApkURL = isAndroidDelisted && apkURL ? apkURL : null;
1077
1097
  const downloadAppText = countryCode === 'KR' ? '앱다운로드' : 'Download App';
1078
1098
  const renderDownloadAppButton = () => {
1079
1099
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, apkURL && /*#__PURE__*/React__default["default"].createElement("a", {
1080
- download: true,
1081
1100
  href: headerData?.apkURL,
1082
1101
  target: "_blank",
1083
1102
  className: classes.socialBtnItems,
@@ -1121,6 +1140,12 @@ function OptionList({
1121
1140
  alt: "appStore"
1122
1141
  })) : null);
1123
1142
  };
1143
+ const iosLink = isTutorWebsite ? headerData?.iosDownloadLink : headerData?.iosUrl;
1144
+ const androidLink = isTutorWebsite ? headerData?.androidDownloadLink : headerData?.appLink;
1145
+
1146
+ // console.log(iosLink, 'sakshat ios link');
1147
+ // console.log(androidLink, 'sakshat android link');
1148
+
1124
1149
  return /*#__PURE__*/React__default["default"].createElement("div", {
1125
1150
  className: classes.listSection
1126
1151
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -1144,9 +1169,9 @@ function OptionList({
1144
1169
  list: moreContent,
1145
1170
  label: 'More',
1146
1171
  icon: arrowDown
1147
- }) : null, isTutorWebsite && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 || headerData?.appLink?.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Button, {
1172
+ }) : null, isTutorWebsite && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 || androidLink?.length > 0 || iosLink?.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Button, {
1148
1173
  data: {
1149
- link: downloadApkURL ? downloadApkURL : headerData?.appLink,
1174
+ link: isAndroidDelisted ? getAppDownloadLink(downloadApkURL, iosLink) : getAppDownloadLink(androidLink, iosLink),
1150
1175
  isLink: 1,
1151
1176
  value: downloadAppText,
1152
1177
  isExternal: 1
@@ -1305,6 +1330,9 @@ function DesktopHeader({
1305
1330
  }
1306
1331
  return moreContent;
1307
1332
  };
1333
+
1334
+ // console.log(header, 'sakshat header desktop');
1335
+
1308
1336
  return /*#__PURE__*/React__default["default"].createElement("nav", {
1309
1337
  className: classes.section
1310
1338
  }, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React__default["default"].createElement("div", {
@@ -1346,10 +1374,6 @@ function DesktopHeader({
1346
1374
  }));
1347
1375
  }
1348
1376
 
1349
- var phoneIos = "data:image/svg+xml,%3Csvg%20width%3D%2244%22%20height%3D%2244%22%20viewBox%3D%220%200%2044%2044%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20filter%3D%22url%28%23filter0_d_3094_7439%29%22%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%2240%22%20height%3D%2240%22%20rx%3D%224%22%20fill%3D%22%23F0F4F8%22%2F%3E%3Cpath%20d%3D%22M30.4539%2016.8288C30.3555%2016.8912%2028.0131%2018.1908%2028.0131%2021.0732C28.1235%2024.3612%2030.9687%2025.5132%2031.0179%2025.5132C30.9699%2025.5744%2030.5883%2027.084%2029.4603%2028.6656C28.5651%2030.0276%2027.5715%2031.4016%2026.0631%2031.4016C24.6279%2031.4016%2024.1119%2030.4932%2022.4559%2030.4932C20.6775%2030.4932%2020.1747%2031.4016%2018.8127%2031.4016C17.3043%2031.4016%2016.2375%2029.9544%2015.2931%2028.6044C14.0667%2026.838%2013.0251%2024.066%2012.9879%2021.4044C12.9627%2019.9944%2013.2327%2018.6084%2013.9191%2017.43C14.8887%2015.786%2016.6179%2014.67%2018.5067%2014.634C19.9539%2014.5848%2021.2427%2015.6264%2022.1247%2015.6264C22.9719%2015.6264%2024.5535%2014.6328%2026.3439%2014.6328C27.1167%2014.634%2029.1783%2014.8668%2030.4539%2016.8288ZM22.0023%2014.352C21.7455%2013.0632%2022.4559%2011.7756%2023.1183%2010.9536C23.9655%209.95998%2025.3023%209.28558%2026.4543%209.28558C26.5287%2010.5744%2026.0619%2011.8368%2025.2279%2012.7572C24.4803%2013.7508%2023.1927%2014.4984%2022.0023%2014.352Z%22%20fill%3D%22%234D4D4D%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3Cfilter%20id%3D%22filter0_d_3094_7439%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2244%22%20height%3D%2244%22%20filterUnits%3D%22userSpaceOnUse%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%20result%3D%22hardAlpha%22%2F%3E%3CfeOffset%20dy%3D%221%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%221%22%2F%3E%3CfeComposite%20in2%3D%22hardAlpha%22%20operator%3D%22out%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200.4%200%200%200%200%200.4%200%200%200%200%200.4%200%200%200%200.16%200%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22effect1_dropShadow_3094_7439%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in%3D%22SourceGraphic%22%20in2%3D%22effect1_dropShadow_3094_7439%22%20result%3D%22shape%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";
1350
-
1351
- var phoneAndroid = "data:image/svg+xml,%3Csvg%20width%3D%2244%22%20height%3D%2244%22%20viewBox%3D%220%200%2044%2044%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20filter%3D%22url%28%23filter0_d_3094_7442%29%22%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%2240%22%20height%3D%2240%22%20rx%3D%224%22%20fill%3D%22%23F0F4F8%22%2F%3E%3Cpath%20d%3D%22M13.9713%2011.7196C13.7108%2012.0303%2013.579%2012.4279%2013.6028%2012.8316V30.3709C13.5804%2030.7744%2013.712%2031.1716%2013.9713%2031.4829L14.0316%2031.5428L23.9128%2021.7144V21.4814L14.0316%2011.6597L13.9713%2011.7196Z%22%20fill%3D%22url%28%23paint0_linear_3094_7442%29%22%2F%3E%3Cpath%20d%3D%22M27.2088%2024.9906L23.9128%2021.7144V21.4814L27.2088%2018.2119L27.2825%2018.2519L31.1881%2020.4559C32.3069%2021.0819%2032.3069%2022.114%2031.1881%2022.7466L27.2825%2024.9506L27.2088%2024.9906Z%22%20fill%3D%22url%28%23paint1_linear_3094_7442%29%22%2F%3E%3Cpath%20d%3D%22M27.2824%2024.9507L23.9328%2021.6213L13.9712%2031.4829C14.2008%2031.6706%2014.4867%2031.777%2014.7838%2031.7854C15.0809%2031.7939%2015.3725%2031.7039%2015.6125%2031.5296L27.2623%2024.9507%22%20fill%3D%22url%28%23paint2_linear_3094_7442%29%22%2F%3E%3Cpath%20d%3D%22M27.2824%2018.2519L15.6125%2011.6663C15.375%2011.4849%2015.0816%2011.391%2014.7822%2011.4007C14.4829%2011.4104%2014.1962%2011.5231%2013.9712%2011.7196L23.9127%2021.6012L27.2824%2018.2519Z%22%20fill%3D%22url%28%23paint3_linear_3094_7442%29%22%2F%3E%3Cpath%20opacity%3D%220.1%22%20d%3D%22M27.209%2024.8774L15.6128%2031.4163C15.3815%2031.5876%2015.1007%2031.6802%2014.8123%2031.6802C14.5238%2031.6802%2014.243%2031.5876%2014.0117%2031.4163L13.9514%2031.4762L14.0117%2031.5362C14.243%2031.7075%2014.5238%2031.8%2014.8123%2031.8C15.1007%2031.8%2015.3815%2031.7075%2015.6128%2031.5362L27.2626%2024.9573L27.209%2024.8774Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20opacity%3D%220.07%22%20d%3D%22M13.9713%2031.3764C13.7116%2031.0627%2013.5801%2030.6633%2013.6029%2030.2577V30.3709C13.5804%2030.7745%2013.712%2031.1716%2013.9713%2031.4829L14.0316%2031.423L13.9713%2031.3764Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20opacity%3D%220.07%22%20d%3D%22M31.188%2022.6267L27.2087%2024.8773L27.2824%2024.9506L31.188%2022.7199C31.4171%2022.6198%2031.6154%2022.461%2031.7625%2022.2597C31.9096%2022.0585%2032.0003%2021.8221%2032.0254%2021.5746C31.9797%2021.8034%2031.88%2022.0181%2031.7344%2022.201C31.5888%2022.3839%2031.4015%2022.5298%2031.188%2022.6267Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20opacity%3D%220.3%22%20d%3D%22M15.6123%2011.7861L31.1878%2020.5691C31.3992%2020.6635%2031.5852%2020.8062%2031.7307%2020.9856C31.8762%2021.1649%2031.9771%2021.3758%2032.0252%2021.6012C32.0015%2021.3533%2031.9113%2021.1162%2031.764%2020.9148C31.6167%2020.7133%2031.4177%2020.5548%2031.1878%2020.4559L15.6123%2011.6663C14.5136%2011.0403%2013.6025%2011.5597%2013.6025%2012.8315V12.9447C13.6025%2011.6796%2014.5136%2011.1535%2015.6123%2011.7861Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3Cfilter%20id%3D%22filter0_d_3094_7442%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2244%22%20height%3D%2244%22%20filterUnits%3D%22userSpaceOnUse%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%20result%3D%22hardAlpha%22%2F%3E%3CfeOffset%20dy%3D%221%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%221%22%2F%3E%3CfeComposite%20in2%3D%22hardAlpha%22%20operator%3D%22out%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200.4%200%200%200%200%200.4%200%200%200%200%200.4%200%200%200%200.16%200%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22effect1_dropShadow_3094_7442%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in%3D%22SourceGraphic%22%20in2%3D%22effect1_dropShadow_3094_7442%22%20result%3D%22shape%22%2F%3E%3C%2Ffilter%3E%3ClinearGradient%20id%3D%22paint0_linear_3094_7442%22%20x1%3D%2223.0419%22%20y1%3D%2212.6452%22%20x2%3D%229.73126%22%20y2%3D%2226.0365%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23008EFF%22%2F%3E%3Cstop%20offset%3D%220.01%22%20stop-color%3D%22%23008FFF%22%2F%3E%3Cstop%20offset%3D%220.26%22%20stop-color%3D%22%2300ACFF%22%2F%3E%3Cstop%20offset%3D%220.51%22%20stop-color%3D%22%2300C0FF%22%2F%3E%3Cstop%20offset%3D%220.76%22%20stop-color%3D%22%2300CDFF%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2300D1FF%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_3094_7442%22%20x1%3D%2231.3221%22%20y1%3D%2221.6012%22%20x2%3D%2212.0152%22%20y2%3D%2221.6012%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FFD800%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FF8A00%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint2_linear_3094_7442%22%20x1%3D%2225.4535%22%20y1%3D%2223.4192%22%20x2%3D%227.40854%22%20y2%3D%2241.5735%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FF3A44%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23B11162%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint3_linear_3094_7442%22%20x1%3D%2211.4657%22%20y1%3D%225.87984%22%20x2%3D%2219.5294%22%20y2%3D%2213.9857%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23328E71%22%2F%3E%3Cstop%20offset%3D%220.07%22%20stop-color%3D%22%232D9571%22%2F%3E%3Cstop%20offset%3D%220.48%22%20stop-color%3D%22%2315BD74%22%2F%3E%3Cstop%20offset%3D%220.8%22%20stop-color%3D%22%2306D575%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2300DE76%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";
1352
-
1353
1377
  function MobileHeader({
1354
1378
  header,
1355
1379
  navData,
@@ -1383,54 +1407,17 @@ function MobileHeader({
1383
1407
  body?.removeAttribute('style');
1384
1408
  }
1385
1409
  }, [sideMenu]);
1386
- let iosUrl = null;
1387
- let androidUrl = null;
1388
1410
  let downloadLink = null;
1389
1411
  const downloadAppText = countryCode === 'KR' ? '앱다운로드' : 'Download App';
1412
+ const apkURL = header?.apkURL;
1413
+ const isAndroidDelisted = header?.isAndroidDelisted;
1414
+ const iosDownloadLink = header?.iosDownloadLink;
1415
+ const androidDownloadLink = header?.androidDownloadLink;
1416
+
1417
+ // console.log(header, 'sakshat header mobile');
1418
+
1390
1419
  if (isTutorWebsite) {
1391
- console.log("potato");
1392
- if (header?.iosUrl) {
1393
- iosUrl = /*#__PURE__*/React__default["default"].createElement(Button, {
1394
- data: {
1395
- link: header?.iosUrl,
1396
- isLink: 1,
1397
- value: /*#__PURE__*/React__default["default"].createElement("img", {
1398
- src: phoneIos,
1399
- alt: "iosUrl"
1400
- }),
1401
- isExternal: 1
1402
- },
1403
- type: '',
1404
- size: 'small',
1405
- target: 'blank',
1406
- rel: null,
1407
- style: {
1408
- padding: 0,
1409
- paddingRight: '8px'
1410
- }
1411
- });
1412
- }
1413
- if (header?.androidURL) {
1414
- androidUrl = /*#__PURE__*/React__default["default"].createElement(Button, {
1415
- data: {
1416
- link: header?.androidURL,
1417
- isLink: 1,
1418
- value: /*#__PURE__*/React__default["default"].createElement("img", {
1419
- src: phoneAndroid,
1420
- alt: "iosUrl"
1421
- }),
1422
- isExternal: 1
1423
- },
1424
- type: '',
1425
- size: 'small',
1426
- target: 'blank',
1427
- rel: null,
1428
- style: {
1429
- padding: 0
1430
- }
1431
- });
1432
- }
1433
- if (header?.isAndroidDelisted && header?.apkURL) {
1420
+ if (isAndroidDelisted && apkURL) {
1434
1421
  downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
1435
1422
  data: {
1436
1423
  value: downloadAppText,
@@ -1441,33 +1428,19 @@ function MobileHeader({
1441
1428
  target: 'blank',
1442
1429
  rel: null,
1443
1430
  onClick: () => {
1444
- window.open(header?.iosUrl ? header?.iosUrl : header?.apkURL, "_blank");
1445
- if (!header?.iosUrl && typeof onDownloadAppTriggered == "function") {
1431
+ let url = getAppDownloadLink(apkURL, iosDownloadLink);
1432
+ window.open(url, "_blank");
1433
+ if (url === apkURL && typeof onDownloadAppTriggered == "function") {
1446
1434
  onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
1447
1435
  }
1448
1436
  }
1449
1437
  });
1450
- } else if (iosUrl && androidUrl) {
1451
- downloadLink = /*#__PURE__*/React__default["default"].createElement("div", null, iosUrl, androidUrl);
1452
- } else if (header?.iosUrl) {
1453
- downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
1454
- data: {
1455
- link: header?.iosUrl,
1456
- isLink: 1,
1457
- value: header?.downloadAppButtonText || downloadAppText,
1458
- isExternal: 1
1459
- },
1460
- type: 'primary',
1461
- size: 'small',
1462
- target: 'blank',
1463
- rel: null
1464
- });
1465
- } else if (header?.androidURL) {
1438
+ } else if (androidDownloadLink?.length || iosDownloadLink?.length) {
1466
1439
  downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
1467
1440
  data: {
1468
- link: header?.androidURL,
1441
+ link: getAppDownloadLink(androidDownloadLink, iosDownloadLink),
1469
1442
  isLink: 1,
1470
- value: header?.downloadAppButtonText || downloadAppText,
1443
+ value: downloadAppText,
1471
1444
  isExternal: 1
1472
1445
  },
1473
1446
  type: 'primary',
@@ -1479,7 +1452,7 @@ function MobileHeader({
1479
1452
  downloadLink = null;
1480
1453
  }
1481
1454
  } else {
1482
- if (header?.isAndroidDelisted && header?.apkURL) {
1455
+ if (isAndroidDelisted && apkURL) {
1483
1456
  downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
1484
1457
  data: {
1485
1458
  value: downloadAppText,
@@ -1490,16 +1463,18 @@ function MobileHeader({
1490
1463
  target: 'blank',
1491
1464
  rel: null,
1492
1465
  onClick: () => {
1493
- window.open(header?.iosUrl ? header?.iosUrl : header?.apkURL, "_blank");
1494
- if (!header?.iosUrl && typeof onDownloadAppTriggered == "function") {
1466
+ let url = getAppDownloadLink(apkURL, iosDownloadLink);
1467
+ window.open(url, "_blank");
1468
+ if (url === apkURL && typeof onDownloadAppTriggered == "function") {
1495
1469
  onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
1496
1470
  }
1497
1471
  }
1498
1472
  });
1499
- } else if (header?.appLink) {
1473
+ } else if (header?.appLink || header?.iosUrl) {
1474
+ console.log('inside custom website');
1500
1475
  downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
1501
1476
  data: {
1502
- link: header?.appLink,
1477
+ link: getAppDownloadLink(header?.appLink, header?.iosUrl),
1503
1478
  isLink: 1,
1504
1479
  value: downloadAppText,
1505
1480
  isExternal: 1
@@ -2116,17 +2091,13 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
2116
2091
  const shape = {
2117
2092
  borderRadius
2118
2093
  };
2119
- const spacing = {
2120
- padding: isMobile ? mobilePadding : padding,
2121
- margin: isMobile ? mobileMargin : margin
2122
- };
2123
2094
  return {
2124
2095
  palette,
2125
2096
  shape,
2126
2097
  typography,
2127
2098
  shadows: generateShadows(palette),
2128
- borders: generateBorders(palette),
2129
- spacing
2099
+ borders: generateBorders(palette)
2100
+ // spacing
2130
2101
  };
2131
2102
  }
2132
2103
 
@@ -2248,6 +2219,178 @@ const defaultMetadata = {
2248
2219
  layout: defaultLayout
2249
2220
  };
2250
2221
 
2222
+ const GRADIENT = `linear-gradient`;
2223
+ const allColors = {
2224
+ white: '#FFFFFF',
2225
+ black: '#000000',
2226
+ lightblack: '#333333',
2227
+ gray: '#999999',
2228
+ bannerRed: '#EB5757',
2229
+ // Blue gradient
2230
+
2231
+ blue: '#1676F3',
2232
+ bluegradient: `${GRADIENT}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
2233
+ tertiaryblue: '#F4F9FF',
2234
+ // Orange gradient
2235
+
2236
+ orange: '#FF9000',
2237
+ orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
2238
+ tertiaryorange: '#FFF6EA',
2239
+ // Pink gradient
2240
+
2241
+ pink: '#F72585',
2242
+ pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
2243
+ tertiarypink: '#FEE9F3',
2244
+ // Violet gradient
2245
+
2246
+ violet: '#6026A8',
2247
+ violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
2248
+ tertiaryviolet: '#F5F2FA',
2249
+ // Teal gradient
2250
+
2251
+ teal: '#46A9A9',
2252
+ tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
2253
+ tertiaryteal: '#F4FAFA',
2254
+ //Red solid
2255
+
2256
+ red: '#F41828',
2257
+ tertiaryred: '#FFF2F3',
2258
+ // Green
2259
+
2260
+ green: '#8ECE19',
2261
+ tertiarygreen: '#F4FAFA',
2262
+ //Maroon solid
2263
+
2264
+ rust: '#9B2226',
2265
+ tertiaryrust: '#FFF0F0',
2266
+ //Purple solid
2267
+
2268
+ purple: '#6269C9',
2269
+ tertiarypurple: '#F4F6FF',
2270
+ //Golden gradient
2271
+
2272
+ golden: `#F2BA35`,
2273
+ goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
2274
+ //light green gradient
2275
+
2276
+ lightgreen: `#D6E359`,
2277
+ lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
2278
+ //light blue gradient
2279
+
2280
+ lightblue: `#A8EDF8`,
2281
+ lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
2282
+ skyblue: '#00ADE7',
2283
+ tertiaryskyblue: '#F2FCFF'
2284
+ };
2285
+
2286
+ const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
2287
+ let themeColor = theme.split('-');
2288
+ let color, gradient, darkMode;
2289
+ if (themeColor.length === 1) {
2290
+ color = themeColor[0] == 'default' ? 'skyblue' : themeColor[0];
2291
+ } else if (themeColor.length === 2) {
2292
+ color = themeColor[0];
2293
+ gradient = themeColor[1];
2294
+ } else {
2295
+ color = themeColor[0];
2296
+ gradient = themeColor[1];
2297
+ darkMode = themeColor[2];
2298
+ }
2299
+ console.log('color', allColors, gradient, darkMode);
2300
+
2301
+ // switch (color) {
2302
+ // case solidColors:
2303
+ // break;
2304
+
2305
+ // case gradientColors:
2306
+ // break;
2307
+
2308
+ // default:
2309
+ // break;
2310
+ // }
2311
+
2312
+ // type 1
2313
+ // const solidColors = {
2314
+ // font1: solidBaseColors?.black,
2315
+ // font2: solidBaseColors?.black,
2316
+ // font3: solidBaseColors?.black,
2317
+ // font4: solidBaseColors?.black,
2318
+ // AccentColor: solidBaseColors[theme],
2319
+ // background1: solidBaseColors?.white,
2320
+ // background2: solidBaseColors['tertiary' + theme],
2321
+ // background3: solidBaseColors['tertiary' + theme],
2322
+ // ctaColor: solidBaseColors[theme],
2323
+ // CtaTextColor: solidBaseColors?.white,
2324
+ // icon: solidBaseColors[theme],
2325
+ // iconBg: solidBaseColors['tertiary' + theme],
2326
+ // stripBg: solidBaseColors[theme],
2327
+ // stripText: solidBaseColors?.white,
2328
+ // inputBorderColor: solidBaseColors?.blue2,
2329
+ // tertiaryBlue2: solidBaseColors?.tertiaryblue2
2330
+ // };
2331
+
2332
+ //type 2
2333
+ // const gradientColors = {
2334
+ // font1: gradientBaseColors?.white,
2335
+ // font2: gradientBaseColors?.black,
2336
+ // font3: gradientBaseColors?.black,
2337
+ // font4: gradientBaseColors?.white,
2338
+ // AccentColor: gradientBaseColors[theme],
2339
+ // background1: gradientBaseColors[theme + 'gradient'],
2340
+ // background2: gradientBaseColors['tertiary' + theme],
2341
+ // background3: gradientBaseColors[theme + 'gradient'],
2342
+ // ctaColor: gradientBaseColors[theme + 'gradient'],
2343
+ // CtaTextColor: gradientBaseColors?.white,
2344
+ // icon: gradientBaseColors[theme],
2345
+ // iconBg: gradientBaseColors['tertiary' + theme],
2346
+ // stripBg: gradientBaseColors?.black,
2347
+ // stripText: gradientBaseColors?.white
2348
+ // };
2349
+
2350
+ const colors = {
2351
+ font1: gradient ? allColors?.white : allColors?.black,
2352
+ font2: darkMode ? allColors[color] : allColors?.black,
2353
+ font3: darkMode ? allColors?.white : allColors?.black,
2354
+ font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
2355
+ AccentColor: allColors[color],
2356
+ background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
2357
+ background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
2358
+ background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
2359
+ ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
2360
+ CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
2361
+ icon: allColors[color],
2362
+ iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
2363
+ stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
2364
+ stripText: darkMode ? allColors?.lightblack : allColors?.white,
2365
+ inputBorderColor: allColors?.blue2,
2366
+ tertiaryBlue2: allColors?.tertiaryblue2,
2367
+ white: allColors?.white,
2368
+ black: allColors?.black,
2369
+ lightblack: allColors?.lightblack,
2370
+ gray: allColors?.gray,
2371
+ bannerColor: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.bannerRed,
2372
+ bannerCtaColor: gradient ? allColors?.lightblack : allColors?.white,
2373
+ headerText: allColors[color],
2374
+ headerHover: allColors['tertiary' + color]
2375
+ };
2376
+ const typography = {
2377
+ fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
2378
+ fontSize: isMobile ? fontSizeMob : fontSize,
2379
+ fontWeight
2380
+ };
2381
+ // const shape = { borderRadius };
2382
+ const spacing = {
2383
+ padding: isMobile ? mobilePadding : padding,
2384
+ margin: isMobile ? mobileMargin : margin
2385
+ };
2386
+ return {
2387
+ ...getTheme(theme),
2388
+ typography,
2389
+ spacing,
2390
+ colors
2391
+ };
2392
+ };
2393
+
2251
2394
  function PageRenderer$1({
2252
2395
  pageData: {
2253
2396
  metadata: {
@@ -2304,7 +2447,7 @@ function PageRenderer$1({
2304
2447
  countryCode,
2305
2448
  currencySymbol
2306
2449
  }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
2307
- const theme = React.useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2450
+ const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2308
2451
  const Wrapper = SectionWrapper || React.Fragment;
2309
2452
  return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
2310
2453
  theme: theme
@@ -2342,7 +2485,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2342
2485
  padding: ({
2343
2486
  isMobile
2344
2487
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2345
- backgroundColor: theme?.palette?.background?.primary,
2488
+ background: theme?.colors?.background2,
2346
2489
  '&, & *, & *:before, & *:after': {
2347
2490
  fontFamily: theme?.typography?.fontFamily,
2348
2491
  boxSizing: 'border-box'
@@ -2399,14 +2542,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2399
2542
  marginBottom: '8px',
2400
2543
  fontSize: theme.typography.fontSize.subHead,
2401
2544
  letterSpacing: '3px',
2402
- color: theme?.palette?.font?.default,
2545
+ color: theme?.colors?.font3,
2403
2546
  wordBreak: 'break-word',
2404
2547
  maxWidth: '100%'
2405
2548
  },
2406
2549
  heading: {
2407
2550
  margin: '0',
2408
2551
  fontSize: theme.typography.fontSize.h1,
2409
- color: theme?.palette?.font?.default,
2552
+ color: theme?.colors?.font3,
2410
2553
  wordBreak: ({
2411
2554
  wordBreakValue
2412
2555
  }) => wordBreakValue || 'break-word',
@@ -2415,7 +2558,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2415
2558
  },
2416
2559
  description: {
2417
2560
  margin: `${theme.spacing.margin.tiny}px 0px`,
2418
- color: theme?.palette?.font?.primary,
2561
+ color: theme?.colors?.font3,
2419
2562
  lineHeight: '24px',
2420
2563
  wordBreak: 'break-word'
2421
2564
  },
@@ -2532,7 +2675,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2532
2675
  width: '26px',
2533
2676
  background: ({
2534
2677
  inverted
2535
- } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
2678
+ } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.colors.AccentColor
2536
2679
  },
2537
2680
  '@media screen and (max-width: 767px)': {
2538
2681
  sliderClass: {
@@ -2568,7 +2711,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2568
2711
  height: sizeHandler,
2569
2712
  border: ({
2570
2713
  inverted
2571
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2714
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor}`,
2572
2715
  borderRadius: '50%',
2573
2716
  display: 'flex',
2574
2717
  justifyContent: 'center',
@@ -2590,7 +2733,7 @@ function ArrowButton(props) {
2590
2733
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
2591
2734
  height: props.size === 'small' ? '12px' : '18px',
2592
2735
  name: "Angle",
2593
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2736
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor,
2594
2737
  inverted: true
2595
2738
  }));
2596
2739
  }
@@ -2800,7 +2943,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2800
2943
  justifyContent: 'center',
2801
2944
  flexDirection: 'column',
2802
2945
  alignItems: 'center',
2803
- backgroundColor: theme?.palette?.background?.default,
2804
2946
  '&, & *, & *:before, & *:after': {
2805
2947
  fontFamily: theme?.typography?.fontFamily,
2806
2948
  boxSizing: 'border-box'
@@ -2818,7 +2960,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2818
2960
  subTitleHeading: {
2819
2961
  marginBottom: '8px',
2820
2962
  fontSize: theme.typography.fontSize.subHead,
2821
- color: theme?.palette?.font?.default,
2963
+ color: theme?.colors?.black,
2822
2964
  alignItems: 'center',
2823
2965
  textAlign: 'center',
2824
2966
  wordBreak: 'break-word',
@@ -2828,7 +2970,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2828
2970
  heading: {
2829
2971
  marginBottom: theme.spacing.margin.tiny,
2830
2972
  fontSize: theme.typography.fontSize.h2,
2831
- color: theme?.palette?.font?.default,
2973
+ color: theme?.colors?.black,
2832
2974
  fontWeight: theme.typography.fontWeight.bold,
2833
2975
  textAlign: 'center',
2834
2976
  wordBreak: 'break-word'
@@ -2845,7 +2987,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2845
2987
  display: 'flex',
2846
2988
  width: 'calc(100% - 200px)',
2847
2989
  alignItems: 'center',
2848
- background: theme?.palette?.background?.default,
2990
+ background: theme?.colors?.white,
2849
2991
  boxShadow: theme?.shadows?.primary,
2850
2992
  borderRadius: theme?.shape?.borderRadius?.regular,
2851
2993
  overflow: 'hidden',
@@ -2869,33 +3011,13 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2869
3011
  '& $contentText': {
2870
3012
  marginLeft: '170px'
2871
3013
  }
2872
- },
2873
- '&:nth-child(7n+1) $contentNumber': {
2874
- background: palettes.purple.primary.lightest
2875
- },
2876
- '&:nth-child(7n+2) $contentNumber': {
2877
- background: palettes.orange.primary.lightest
2878
- },
2879
- '&:nth-child(7n+3) $contentNumber': {
2880
- background: palettes.red.primary.lightest
2881
- },
2882
- '&:nth-child(7n+4) $contentNumber': {
2883
- background: palettes.green.primary.lightest
2884
- },
2885
- '&:nth-child(7n+5) $contentNumber': {
2886
- background: palettes.pink.primary.lightest
2887
- },
2888
- '&:nth-child(7n+6) $contentNumber': {
2889
- background: palettes.blue.primary.lightest
2890
- },
2891
- '&:nth-child(7n) $contentNumber': {
2892
- background: palettes.rust.primary.lightest
2893
3014
  }
2894
3015
  },
2895
3016
  contentNumber: {
2896
3017
  position: 'absolute',
2897
3018
  top: '0',
2898
3019
  fontWeight: '700',
3020
+ background: theme?.colors?.background3,
2899
3021
  fontSize: '72px',
2900
3022
  letterSpacing: '-3px',
2901
3023
  display: 'flex',
@@ -2903,7 +3025,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2903
3025
  justifyContent: 'center',
2904
3026
  padding: '48px',
2905
3027
  height: '100%',
2906
- color: theme?.palette?.font?.default,
3028
+ color: theme?.colors?.font4,
2907
3029
  wordBreak: 'break-word'
2908
3030
  },
2909
3031
  contentText: {
@@ -2915,14 +3037,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2915
3037
  fontWeight: theme.typography.fontWeight.bold,
2916
3038
  lineHeight: '32px',
2917
3039
  marginBottom: '8px',
2918
- color: theme?.palette?.font?.default,
3040
+ color: theme?.colors?.lightblack,
2919
3041
  wordBreak: 'break-word'
2920
3042
  },
2921
3043
  contentPara: {
2922
3044
  fontStyle: 'normal',
2923
3045
  fontSize: '16px',
2924
3046
  lineHeight: '26px',
2925
- color: theme?.palette?.font?.primary,
3047
+ color: theme?.colors?.gray,
2926
3048
  wordBreak: 'break-word'
2927
3049
  },
2928
3050
  '@media screen and (max-width: 767px)': {
@@ -3333,6 +3455,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3333
3455
  return {
3334
3456
  section: {
3335
3457
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3458
+ background: theme?.colors?.background2,
3336
3459
  '&, & *, & *:before, & *:after': {
3337
3460
  fontFamily: theme?.typography?.fontFamily,
3338
3461
  boxSizing: 'border-box'
@@ -3374,7 +3497,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3374
3497
  }
3375
3498
  },
3376
3499
  imageBorder: {
3377
- border: `2px solid ${theme?.palette?.primary?.light}`,
3500
+ // border: `2px solid ${theme?.palette?.primary?.light}`,
3378
3501
  borderRadius: theme?.shape?.borderRadius?.small,
3379
3502
  position: 'absolute',
3380
3503
  width: '100%',
@@ -3399,13 +3522,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
3399
3522
  marginBottom: '8px',
3400
3523
  fontSize: theme?.typography?.fontSize?.subHead,
3401
3524
  letterSpacing: '3px',
3402
- color: theme?.palette?.font?.default,
3525
+ color: theme?.colors?.font3,
3403
3526
  wordBreak: 'break-word'
3404
3527
  },
3405
3528
  heading: {
3406
3529
  margin: '0',
3407
3530
  fontSize: theme?.typography?.fontSize?.h1,
3408
- color: theme?.palette?.font?.default,
3531
+ color: theme?.colors?.font3,
3409
3532
  wordBreak: ({
3410
3533
  wordBreakValue
3411
3534
  }) => wordBreakValue || 'break-word',
@@ -3415,7 +3538,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3415
3538
  description: {
3416
3539
  marginTop: theme.spacing.margin.tiny,
3417
3540
  marginBottom: theme.spacing.margin.tiny,
3418
- color: theme?.palette?.font?.primary,
3541
+ color: theme?.colors?.font3,
3419
3542
  lineHeight: '24px',
3420
3543
  wordBreak: 'break-word'
3421
3544
  },
@@ -3580,16 +3703,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3580
3703
  containerWidth
3581
3704
  } = {}) => containerWidth
3582
3705
  },
3583
- partialBackground: {
3584
- top: '0',
3585
- left: '0',
3586
- width: '100%',
3587
- height: '50%',
3588
- position: 'absolute',
3589
- background: theme?.palette?.background?.primary
3590
- },
3706
+ // partialBackground: {
3707
+ // top: '0',
3708
+ // left: '0',
3709
+ // width: '100%',
3710
+ // height: '50%',
3711
+ // position: 'absolute',
3712
+ // background: theme?.palette?.background?.primary
3713
+ // },
3591
3714
  sectionContainer: {
3592
- backgroundColor: theme?.palette?.background?.default,
3715
+ backgroundColor: theme?.colors?.background2,
3593
3716
  boxShadow: theme?.shadows?.secondary,
3594
3717
  borderRadius: theme?.shape?.borderRadius?.regular,
3595
3718
  padding: theme.spacing.padding.small,
@@ -3600,7 +3723,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3600
3723
  fontWeight: theme.typography.fontWeight.bold,
3601
3724
  lineHeight: '71px',
3602
3725
  letterSpacing: '-3px',
3603
- color: theme?.palette?.font?.default,
3726
+ color: theme?.colors?.font3,
3604
3727
  marginBottom: theme.spacing.padding.tiny,
3605
3728
  wordBreak: 'break-word'
3606
3729
  },
@@ -3612,7 +3735,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3612
3735
  title: {
3613
3736
  fontSize: theme.typography.fontSize.h6,
3614
3737
  lineHeight: '32px',
3615
- color: theme?.palette?.font?.primary,
3738
+ color: theme?.colors?.font3,
3616
3739
  wordBreak: 'break-word',
3617
3740
  flex: 1
3618
3741
  },
@@ -3740,8 +3863,8 @@ const inputStyles = createUseStyles(theme => ({
3740
3863
  inputField: {
3741
3864
  width: '100%',
3742
3865
  // maxWidth: '314px',
3743
- background: theme?.palette?.background?.default,
3744
- border: `1px solid ${theme?.palette?.border?.secondary}`,
3866
+ // background: theme?.palette?.background?.default,
3867
+ border: `1px solid ${theme?.colors?.icon}`,
3745
3868
  borderRadius: theme?.shape?.borderRadius?.regular,
3746
3869
  padding: '14px 12px',
3747
3870
  display: 'flex',
@@ -3755,7 +3878,7 @@ const inputStyles = createUseStyles(theme => ({
3755
3878
  fontWeight: '400',
3756
3879
  fontSize: '16px',
3757
3880
  lineHeight: '20px',
3758
- color: theme?.palette?.font?.primary,
3881
+ color: theme?.colors?.black,
3759
3882
  fontFamily: theme?.typography?.fontFamily
3760
3883
  },
3761
3884
  '&:focus': {
@@ -3955,7 +4078,6 @@ var index$h = /*#__PURE__*/Object.freeze({
3955
4078
 
3956
4079
  const useTestimonialStyles = createUseStyles(theme => ({
3957
4080
  testimonialContainer: {
3958
- background: theme?.palette?.background?.primary,
3959
4081
  overflow: 'hidden',
3960
4082
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3961
4083
  '&, & *, & *:before, & *:after': {
@@ -3973,14 +4095,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
3973
4095
  } = {}) => containerWidth
3974
4096
  },
3975
4097
  testimonialText: {
3976
- color: theme?.palette?.font?.default,
4098
+ color: theme?.colors?.lightblack,
3977
4099
  fontSize: theme.typography.fontSize.subHead,
3978
4100
  wordBreak: 'break-word',
3979
4101
  textTransform: 'uppercase'
3980
4102
  },
3981
4103
  testimonialHeader: {
3982
4104
  fontSize: theme.typography.fontSize.h2,
3983
- color: theme?.palette?.font?.default,
4105
+ color: theme?.colors?.lightblack,
3984
4106
  fontWeight: theme.typography.fontWeight.bold,
3985
4107
  marginBottom: theme.spacing.margin.tiny,
3986
4108
  marginTop: '8px',
@@ -3997,7 +4119,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3997
4119
  position: 'relative',
3998
4120
  height: 'calc(100% - 12px)',
3999
4121
  width: 'calc(100% - 24px)',
4000
- background: theme?.palette?.background?.default,
4122
+ background: theme?.colors?.background1,
4001
4123
  boxShadow: theme?.shadows?.primary,
4002
4124
  borderRadius: theme?.shape?.borderRadius?.regular
4003
4125
  },
@@ -4024,7 +4146,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4024
4146
  marginBottom: theme.spacing.margin.tiny,
4025
4147
  fontSize: theme.typography.fontSize.body,
4026
4148
  wordBreak: 'break-word',
4027
- color: theme?.palette?.font?.primary,
4149
+ color: theme?.colors?.font1,
4028
4150
  lineHeight: '26px'
4029
4151
  },
4030
4152
  userContainer: {
@@ -4053,7 +4175,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4053
4175
  marginRight: '16px'
4054
4176
  },
4055
4177
  userName: {
4056
- color: theme?.palette?.font?.default,
4178
+ color: theme?.colors?.font1,
4057
4179
  margin: '0',
4058
4180
  fontSize: theme.typography.fontSize.h5,
4059
4181
  // paddingTop: '16px',
@@ -4072,19 +4194,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
4072
4194
  testimonialContainer: {
4073
4195
  padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
4074
4196
  },
4075
- // testimonialCardAndText: {
4076
- // margin: '0 20px'
4077
- // },
4078
-
4079
- // testimonialHeader: {
4080
- // fontSize: '24px',
4081
- // color: theme?.palette?.font?.default,
4082
- // margin: '4px 0 12px 0',
4083
- // overflow: 'hidden',
4084
- // // whiteSpace: 'nowrap',
4085
- // wordBreak: 'break-word',
4086
- // textOverflow: 'ellipsis'
4087
- // },
4088
4197
  testimonialText: {
4089
4198
  textAlign: 'center'
4090
4199
  },
@@ -4137,7 +4246,7 @@ function QuotesComponent() {
4137
4246
  width: "28px",
4138
4247
  height: "21px",
4139
4248
  name: "Quote",
4140
- color: theme?.palette?.primary?.main
4249
+ color: theme?.colors?.icon
4141
4250
  }));
4142
4251
  }
4143
4252
 
@@ -4665,7 +4774,7 @@ const useVideoStyles = createUseStyles(theme => {
4665
4774
  padding: ({
4666
4775
  isMobile
4667
4776
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4668
- backgroundColor: theme?.palette?.background?.primary,
4777
+ backgroundColor: theme?.colors?.background2,
4669
4778
  '&, & *, & *:before, & *:after': {
4670
4779
  fontFamily: theme?.typography?.fontFamily,
4671
4780
  boxSizing: 'border-box'
@@ -4688,7 +4797,7 @@ const useVideoStyles = createUseStyles(theme => {
4688
4797
  fontSize: theme.typography.fontSize.subHead,
4689
4798
  textTransform: 'uppercase',
4690
4799
  lineHeight: '20px',
4691
- color: theme?.palette?.font?.default,
4800
+ color: theme?.colors?.font2,
4692
4801
  letterSpacing: '3px',
4693
4802
  wordBreak: 'break-word'
4694
4803
  },
@@ -4699,14 +4808,14 @@ const useVideoStyles = createUseStyles(theme => {
4699
4808
  letterSpacing: '-3px',
4700
4809
  marginBottom: theme.spacing.margin.tiny,
4701
4810
  marginTop: '8px',
4702
- color: theme?.palette?.font?.default,
4811
+ color: theme?.colors?.font2,
4703
4812
  wordBreak: 'break-word'
4704
4813
  },
4705
4814
  sliderContainer: {
4706
4815
  marginRight: `-${theme.spacing.padding.medium}px`
4707
4816
  },
4708
4817
  singleSlideContainer: {
4709
- backgroundColor: theme?.palette?.background?.default,
4818
+ backgroundColor: 'white',
4710
4819
  // margin: '20px',
4711
4820
  width: 'calc(100% - 24px)',
4712
4821
  height: 'calc(100% - 40px)',
@@ -4743,14 +4852,14 @@ const useVideoStyles = createUseStyles(theme => {
4743
4852
  fontWeight: theme.typography.fontWeight.bold,
4744
4853
  lineHeight: '32px',
4745
4854
  marginBottom: '8px',
4746
- color: theme?.palette?.font?.default,
4855
+ color: theme?.colors?.lightblack,
4747
4856
  wordBreak: 'break-word'
4748
4857
  },
4749
4858
  videoDetailsSubHeading: {
4750
4859
  fontSize: theme.typography.fontSize.body,
4751
4860
  lineHeight: '24px',
4752
4861
  wordBreak: 'break-word',
4753
- color: theme?.palette?.font?.primary
4862
+ color: theme?.colors?.gray
4754
4863
  },
4755
4864
  '@media (max-width: 767px)': {
4756
4865
  videoHeading: {
@@ -4897,11 +5006,10 @@ var index$e = /*#__PURE__*/Object.freeze({
4897
5006
 
4898
5007
  const useSectionStyles$3 = createUseStyles(theme => ({
4899
5008
  section: {
4900
- position: 'relative',
4901
5009
  padding: ({
4902
5010
  isMobile
4903
5011
  } = {}) => 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`,
4904
- backgroundColor: theme?.palette?.background?.default,
5012
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
4905
5013
  '&, & *, & *:before, & *:after': {
4906
5014
  fontFamily: theme?.typography?.fontFamily,
4907
5015
  boxSizing: 'border-box'
@@ -4919,21 +5027,13 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4919
5027
  containerWidth
4920
5028
  } = {}) => containerWidth
4921
5029
  },
4922
- partialBackground: {
4923
- position: 'absolute',
4924
- top: '0',
4925
- left: '0',
4926
- height: '50%',
4927
- background: theme?.palette?.background?.primary,
4928
- width: '100%'
4929
- },
4930
5030
  content: {
4931
5031
  position: 'relative'
4932
5032
  },
4933
5033
  subTitleHeading: {
4934
5034
  width: '100%',
4935
5035
  fontSize: theme.typography.fontSize.subHead,
4936
- color: theme?.palette?.font?.default,
5036
+ color: theme?.colors?.font2,
4937
5037
  textTransform: 'uppercase',
4938
5038
  textAlign: 'left',
4939
5039
  lineHeight: '20px',
@@ -4945,7 +5045,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4945
5045
  fontSize: theme.typography.fontSize.h2,
4946
5046
  width: '100%',
4947
5047
  lineHeight: '70px',
4948
- color: theme?.palette?.font?.default,
5048
+ color: theme?.colors?.font2,
4949
5049
  textAlign: 'left',
4950
5050
  wordBreak: 'break-word'
4951
5051
  },
@@ -4955,7 +5055,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4955
5055
  // },
4956
5056
 
4957
5057
  card: {
4958
- background: theme?.palette?.background?.default,
5058
+ background: theme?.colors?.white,
4959
5059
  boxShadow: theme?.shadows?.primary,
4960
5060
  borderRadius: theme.shape.borderRadius.large,
4961
5061
  margin: ({
@@ -4976,7 +5076,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4976
5076
  textAlign: 'center',
4977
5077
  fontSize: theme.typography.fontSize.h6,
4978
5078
  fontWeight: theme.typography.fontWeight.bold,
4979
- color: theme?.palette?.font?.default,
5079
+ color: theme?.colors?.lightblack,
4980
5080
  margin: `16px 0px`,
4981
5081
  wordBreak: 'break-word'
4982
5082
  },
@@ -4988,7 +5088,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4988
5088
  alignItems: 'center',
4989
5089
  justifyContent: 'center',
4990
5090
  borderRadius: '50%',
4991
- background: theme?.palette?.background?.primary
5091
+ background: theme?.colors?.background2
4992
5092
  },
4993
5093
  buttonContainerClass: {
4994
5094
  marginRight: theme.spacing.margin.regular,
@@ -5002,7 +5102,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
5002
5102
  textAlign: 'center',
5003
5103
  fontSize: theme.typography.fontSize.body,
5004
5104
  lineHeight: '22px',
5005
- color: theme?.palette?.font?.primary,
5105
+ color: theme?.colors?.gray,
5006
5106
  margin: '0',
5007
5107
  wordBreak: 'break-word'
5008
5108
  },
@@ -5088,7 +5188,7 @@ function Info({
5088
5188
  className: classes.imageContainer
5089
5189
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
5090
5190
  name: dt.icon.metadata.value,
5091
- color: theme.palette.primary.main,
5191
+ color: theme?.colors?.icon,
5092
5192
  width: isMobile ? '30px' : '40px',
5093
5193
  height: isMobile ? '30px' : '40px'
5094
5194
  })), /*#__PURE__*/React__default["default"].createElement("h3", {
@@ -5145,7 +5245,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5145
5245
  padding: ({
5146
5246
  isMobile
5147
5247
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5148
- backgroundColor: theme?.palette?.background?.default,
5248
+ backgroundColor: theme?.colors?.background2,
5149
5249
  '&, & *, & *:before, & *:after': {
5150
5250
  fontFamily: theme?.typography?.fontFamily,
5151
5251
  boxSizing: 'border-box'
@@ -5162,7 +5262,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5162
5262
  subHeading: {
5163
5263
  fontSize: theme.typography.fontSize.subHead,
5164
5264
  marginBottom: '8px',
5165
- color: theme?.palette?.font?.default,
5265
+ color: theme?.colors?.font3,
5166
5266
  wordBreak: 'break-word',
5167
5267
  textTransform: 'uppercase',
5168
5268
  letterSpacing: '3px'
@@ -5172,7 +5272,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5172
5272
  fontWeight: theme.typography.fontWeight.bold,
5173
5273
  lineHeight: 'normal',
5174
5274
  margin: '0',
5175
- color: theme?.palette?.font?.default,
5275
+ color: theme?.colors?.font3,
5176
5276
  wordBreak: 'break-word',
5177
5277
  marginBottom: theme.spacing.margin.tiny
5178
5278
  },
@@ -5183,7 +5283,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5183
5283
  padding: '32px 0px'
5184
5284
  },
5185
5285
  textPara: {
5186
- color: theme?.palette?.font?.primary,
5286
+ color: theme?.colors?.font3,
5187
5287
  wordBreak: 'break-word',
5188
5288
  fontSize: theme.typography.fontSize.body,
5189
5289
  lineHeight: '24px'
@@ -5488,7 +5588,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5488
5588
  padding: ({
5489
5589
  isMobile
5490
5590
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5491
- backgroundColor: theme?.palette?.background?.primary,
5591
+ backgroundColor: theme?.colors?.background2,
5492
5592
  '&, & *, & *:before, & *:after': {
5493
5593
  fontFamily: theme?.typography?.fontFamily,
5494
5594
  boxSizing: 'border-box'
@@ -5503,7 +5603,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5503
5603
  } = {}) => containerWidth
5504
5604
  },
5505
5605
  sectionSubheading: {
5506
- color: theme?.palette?.font.default,
5606
+ color: theme?.colors?.font3,
5507
5607
  fontSize: theme.typography.fontSize.subHead,
5508
5608
  marginBottom: '8px',
5509
5609
  wordBreak: 'break-word'
@@ -5512,15 +5612,16 @@ const useFaqListStyles = createUseStyles(theme => ({
5512
5612
  fontSize: theme.typography.fontSize.h2,
5513
5613
  fontWeight: theme.typography.fontWeight.bold,
5514
5614
  wordBreak: 'break-word',
5515
- marginBottom: `${theme.spacing.margin.tiny}px`
5615
+ marginBottom: `${theme.spacing.margin.tiny}px`,
5616
+ color: theme?.colors?.font3
5516
5617
  },
5517
5618
  container: {
5518
5619
  boxShadow: theme?.shadows?.secondary,
5519
5620
  borderRadius: '8px',
5520
- backgroundColor: theme?.palette?.background?.default
5621
+ backgroundColor: theme?.colors?.white
5521
5622
  },
5522
5623
  basicCardContainer: {
5523
- borderBottom: theme?.borders?.secondary,
5624
+ borderBottom: `1px solid #D8E0F0`,
5524
5625
  padding: `${theme.spacing.padding.tiny}px`
5525
5626
  },
5526
5627
  innerContainer: {
@@ -5539,14 +5640,14 @@ const useFaqListStyles = createUseStyles(theme => ({
5539
5640
  alignItems: 'center'
5540
5641
  },
5541
5642
  title: {
5542
- color: theme?.palette?.font.default,
5643
+ color: theme?.colors?.lightblack,
5543
5644
  fontSize: theme.typography.fontSize.h5,
5544
5645
  fontWeight: theme.typography.fontWeight.bold,
5545
5646
  margin: '0',
5546
5647
  wordBreak: 'break-word'
5547
5648
  },
5548
5649
  content: {
5549
- color: theme?.palette?.font.primary,
5650
+ color: theme?.colors?.lightblack,
5550
5651
  fontSize: theme.typography.fontSize.body,
5551
5652
  lineHeight: '24px',
5552
5653
  maxHeight: ({
@@ -5666,11 +5767,10 @@ var index$a = /*#__PURE__*/Object.freeze({
5666
5767
 
5667
5768
  const useTextGridStyles = createUseStyles(theme => ({
5668
5769
  section: {
5770
+ background: theme.colors.background1,
5669
5771
  padding: ({
5670
5772
  isMobile
5671
5773
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5672
- // backgroundColor: theme?.palette?.background?.primary,
5673
-
5674
5774
  '&, & *, & *:before, & *:after': {
5675
5775
  fontFamily: theme?.typography?.fontFamily,
5676
5776
  boxSizing: 'border-box'
@@ -5678,12 +5778,6 @@ const useTextGridStyles = createUseStyles(theme => ({
5678
5778
  '& h2,& h3,& p': {
5679
5779
  marginTop: '0'
5680
5780
  }
5681
- // '& h2,& h3': {
5682
- // fontWeight: '500',
5683
- // '& b,& strong': {
5684
- // fontWeight: '700'
5685
- // }
5686
- // }
5687
5781
  },
5688
5782
  sectionContainer: {
5689
5783
  margin: '0 auto',
@@ -5692,7 +5786,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5692
5786
  } = {}) => containerWidth
5693
5787
  },
5694
5788
  subheading: {
5695
- color: theme?.palette?.font.default,
5789
+ color: theme?.colors?.font1,
5696
5790
  fontSize: theme.typography.fontSize.subHead,
5697
5791
  lineHeight: '20px',
5698
5792
  letterSpacing: '3px',
@@ -5706,7 +5800,8 @@ const useTextGridStyles = createUseStyles(theme => ({
5706
5800
  fontWeight: theme.typography.fontWeight.bold,
5707
5801
  letterSpacing: '-3px',
5708
5802
  marginBottom: theme.spacing.margin.tiny,
5709
- wordBreak: 'break-word'
5803
+ wordBreak: 'break-word',
5804
+ color: theme?.colors?.font1
5710
5805
  },
5711
5806
  sliderContainer: {
5712
5807
  margin: '0 -10px'
@@ -5972,7 +6067,7 @@ const useCourseStyles = createUseStyles(theme => {
5972
6067
  display: 'flex',
5973
6068
  justifyContent: 'flex-start',
5974
6069
  alignItems: 'center',
5975
- fontSize: theme.typography.fontSize.subHead,
6070
+ fontSize: theme.typography.fontSize.body,
5976
6071
  color: theme?.palette?.font?.primary,
5977
6072
  '& img': {
5978
6073
  marginRight: '5px'
@@ -6005,8 +6100,8 @@ const useCourseStyles = createUseStyles(theme => {
6005
6100
  },
6006
6101
  courseCardBuyBtn: {
6007
6102
  cursor: 'pointer',
6008
- background: theme?.palette?.primary?.main,
6009
- color: theme?.palette?.font?.invertedDefault,
6103
+ background: theme?.colors?.ctaColor,
6104
+ color: theme?.colors?.CtaTextColor,
6010
6105
  padding: '8px 16px',
6011
6106
  fontWeight: theme.typography.fontWeight.bold,
6012
6107
  cursor: 'pointer',
@@ -6104,13 +6199,6 @@ async function getCourseList(baseURLs, hashToken) {
6104
6199
 
6105
6200
  var tagIcon = "data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2018%2018%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.843%208.64984L9.34297%201.14984C9.04297%200.849837%208.6263%200.666504%208.16797%200.666504H2.33464C1.41797%200.666504%200.667969%201.4165%200.667969%202.33317V8.1665C0.667969%208.62484%200.851302%209.0415%201.15964%209.34984L8.65964%2016.8498C8.95964%2017.1498%209.3763%2017.3332%209.83464%2017.3332C10.293%2017.3332%2010.7096%2017.1498%2011.0096%2016.8415L16.843%2011.0082C17.1513%2010.7082%2017.3346%2010.2915%2017.3346%209.83317C17.3346%209.37484%2017.143%208.94984%2016.843%208.64984ZM3.58464%204.83317C2.89297%204.83317%202.33464%204.27484%202.33464%203.58317C2.33464%202.8915%202.89297%202.33317%203.58464%202.33317C4.2763%202.33317%204.83464%202.8915%204.83464%203.58317C4.83464%204.27484%204.2763%204.83317%203.58464%204.83317Z%22%20fill%3D%22%23FE9B0E%22%2F%3E%3C%2Fsvg%3E";
6106
6201
 
6107
- function getShortenedSubstring(name, length, allowDots = true) {
6108
- if (name) {
6109
- return name.length < length ? name : `${name.substr(0, length)}${allowDots && '...'}`;
6110
- }
6111
- return '';
6112
- }
6113
-
6114
6202
  const formatCurrency = (countryCode, value, currencySymbol) => {
6115
6203
  let formattedValue = Number(value);
6116
6204
  const getFormattedValue = (countryCode, currencySymbol, value) => {
@@ -6378,11 +6466,10 @@ var index$8 = /*#__PURE__*/Object.freeze({
6378
6466
  const useTeamStyles = createUseStyles(theme => {
6379
6467
  return {
6380
6468
  teamSuperContainer: {
6469
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6381
6470
  padding: ({
6382
6471
  isMobile
6383
6472
  } = {}) => 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`,
6384
- // backgroundColor: theme?.palette?.background?.primary,
6385
-
6386
6473
  '&, & *, & *:before, & *:after': {
6387
6474
  fontFamily: theme?.typography?.fontFamily,
6388
6475
  boxSizing: 'border-box'
@@ -6403,25 +6490,17 @@ const useTeamStyles = createUseStyles(theme => {
6403
6490
  lineHeight: '20px',
6404
6491
  letterSpacing: '3px',
6405
6492
  marginBottom: '8px',
6406
- color: theme?.palette?.font?.default,
6493
+ color: theme?.colors?.font2,
6407
6494
  // wordBreak: 'break-word',
6408
6495
  position: 'relative'
6409
6496
  },
6410
- partialBackground: {
6411
- position: 'absolute',
6412
- top: '0',
6413
- left: '0',
6414
- height: '50%',
6415
- background: theme?.palette?.background?.primary,
6416
- width: '100%'
6417
- },
6418
6497
  teamTitle: {
6419
6498
  fontSize: theme.typography.fontSize.h2,
6420
6499
  fontWeight: theme.typography.fontWeight.bold,
6421
6500
  lineHeight: '70px',
6422
6501
  letterSpacing: '-3px',
6423
6502
  wordBreak: 'break-word',
6424
- color: theme?.palette?.font?.default,
6503
+ color: theme?.colors?.font2,
6425
6504
  position: 'relative'
6426
6505
  },
6427
6506
  sliderContainer: {
@@ -6511,12 +6590,10 @@ const useTeamStyles = createUseStyles(theme => {
6511
6590
  teamDetailsHeading: {
6512
6591
  fontSize: '16px',
6513
6592
  lineHeight: '24px',
6514
- margin: '0',
6515
- color: theme?.palette?.font?.body
6593
+ margin: '0'
6516
6594
  },
6517
6595
  teamDetailsSubHeading: {
6518
- marginTop: '0px',
6519
- color: theme?.palette?.font?.primary
6596
+ marginTop: '0px'
6520
6597
  }
6521
6598
  }
6522
6599
  };
@@ -6627,7 +6704,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6627
6704
  justifyContent: 'center',
6628
6705
  flexDirection: 'column',
6629
6706
  alignItems: 'center',
6630
- backgroundColor: theme?.palette?.background?.default,
6707
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6631
6708
  padding: ({
6632
6709
  isMobile
6633
6710
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
@@ -6648,16 +6725,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6648
6725
  containerWidth
6649
6726
  } = {}) => containerWidth
6650
6727
  },
6651
- partialBackground: {
6652
- top: '0',
6653
- left: '0',
6654
- width: '100%',
6655
- height: '50%',
6656
- position: 'absolute',
6657
- background: theme?.palette?.background?.primary
6658
- },
6728
+ // partialBackground: {
6729
+ // top: '0',
6730
+ // left: '0',
6731
+ // width: '100%',
6732
+ // height: '50%',
6733
+ // position: 'absolute',
6734
+ // background: theme?.colors?.white
6735
+ // },
6659
6736
  sectionContainer: {
6660
- backgroundColor: theme?.palette?.background?.default,
6737
+ backgroundColor: theme?.colors?.white,
6661
6738
  boxShadow: theme?.shadows?.secondary,
6662
6739
  borderRadius: theme?.shape?.borderRadius?.regular,
6663
6740
  padding: '48px',
@@ -6666,7 +6743,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6666
6743
  title: {
6667
6744
  margin: '0',
6668
6745
  fontSize: theme.typography.fontSize.h2,
6669
- color: theme?.palette?.font?.default,
6746
+ color: theme?.colors?.lightblack,
6670
6747
  fontWeight: theme.typography.fontWeight.bold,
6671
6748
  lineHeight: '71px',
6672
6749
  letterSpacing: '-3px',
@@ -6687,7 +6764,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6687
6764
  subtitle: {
6688
6765
  // margin: '0 0 40px 0',
6689
6766
  fontSize: theme.typography.fontSize.h5,
6690
- color: theme?.palette?.font?.default,
6767
+ color: theme?.colors?.lightblack,
6691
6768
  lineHeight: '32px',
6692
6769
  wordBreak: 'break-word',
6693
6770
  marginBottom: '32px'
@@ -6710,7 +6787,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6710
6787
  },
6711
6788
  addressText: {
6712
6789
  fontSize: theme.typography.fontSize.h6,
6713
- color: theme?.palette?.font?.default,
6790
+ color: theme?.colors?.lightblack,
6714
6791
  lineHeight: '24px',
6715
6792
  fontSize: '16px'
6716
6793
  },
@@ -7046,7 +7123,7 @@ const useSectionStyles = createUseStyles(theme => ({
7046
7123
  padding: ({
7047
7124
  isMobile
7048
7125
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
7049
- backgroundColor: theme?.palette?.background?.default,
7126
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
7050
7127
  '&, & *, & *:before, & *:after': {
7051
7128
  fontFamily: theme?.typography?.fontFamily,
7052
7129
  boxSizing: 'border-box'
@@ -7065,16 +7142,8 @@ const useSectionStyles = createUseStyles(theme => ({
7065
7142
  containerWidth
7066
7143
  } = {}) => containerWidth
7067
7144
  },
7068
- partialBackground: {
7069
- top: '0',
7070
- left: '0',
7071
- width: '100%',
7072
- height: '50%',
7073
- position: 'absolute',
7074
- background: theme?.palette?.background?.primary
7075
- },
7076
7145
  sectionContainer: {
7077
- backgroundColor: theme?.palette?.background?.default,
7146
+ backgroundColor: theme?.colors?.white,
7078
7147
  boxShadow: theme?.shadows?.secondary,
7079
7148
  borderRadius: theme?.shape?.borderRadius?.regular,
7080
7149
  padding: '48px',
@@ -7083,7 +7152,7 @@ const useSectionStyles = createUseStyles(theme => ({
7083
7152
  title: {
7084
7153
  margin: '0',
7085
7154
  fontSize: theme.typography.fontSize.h2,
7086
- color: theme?.palette?.font?.default,
7155
+ color: theme?.colors?.lightblack?.default,
7087
7156
  lineHeight: '71px',
7088
7157
  letterSpacing: '-3px',
7089
7158
  textAlign: 'left',
@@ -7107,7 +7176,7 @@ const useSectionStyles = createUseStyles(theme => ({
7107
7176
  subtitle: {
7108
7177
  // margin: '0 0 auto 0',
7109
7178
  fontSize: theme.typography.fontSize.h6,
7110
- color: theme?.palette?.font?.default,
7179
+ color: theme?.colors?.lightblack,
7111
7180
  // lineHeight: '32px',
7112
7181
  // margin: '16px 0',
7113
7182
  textAlign: 'center',
@@ -7138,8 +7207,8 @@ const useSectionStyles = createUseStyles(theme => ({
7138
7207
  inputField: {
7139
7208
  width: '100%',
7140
7209
  // maxWidth: '314px',
7141
- background: theme?.palette?.background?.default,
7142
- border: `1px solid ${theme?.palette?.border?.secondary}`,
7210
+ // background: theme?.palette?.background?.default,
7211
+ border: `1px solid ${theme?.colors?.cta}`,
7143
7212
  borderRadius: theme?.shape?.borderRadius?.regular,
7144
7213
  // padding: '14px 12px',
7145
7214
  display: 'flex',
@@ -7152,7 +7221,7 @@ const useSectionStyles = createUseStyles(theme => ({
7152
7221
  fontWeight: '400',
7153
7222
  fontSize: theme.typography.fontSize.subHead,
7154
7223
  lineHeight: '20px',
7155
- color: theme?.palette?.font?.primary,
7224
+ color: theme?.colors?.lightblack,
7156
7225
  fontFamily: theme?.typography?.fontFamily
7157
7226
  },
7158
7227
  '&:focus': {
@@ -7465,6 +7534,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7465
7534
  webinarSuperContainer: {
7466
7535
  display: 'flex',
7467
7536
  justifyContent: 'center',
7537
+ background: theme.colors.background1,
7468
7538
  padding: ({
7469
7539
  isMobile
7470
7540
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7487,30 +7557,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7487
7557
  maxWidth: '1440px',
7488
7558
  fontFamily: theme?.typography?.fontFamily
7489
7559
  },
7490
- // videoTestimonialHeading: {
7491
- // fontSize: theme.typography.fontSize.subHead,
7492
- // lineHeight: '20px',
7493
- // letterSpacing: '3px',
7494
- // textTransform: 'uppercase',
7495
- // color: theme.palette.font.tertiary,
7496
- // wordBreak: 'break-word',
7497
- // fontWeight: theme.typography.fontWeight.bold,
7498
- // },
7499
-
7500
- // videoTestimonialTitle: {
7501
- // fontSize: theme.typography.fontSize.h2,
7502
- // lineHeight: '71px',
7503
- // fontWeight: theme.typography.fontWeight.bold,
7504
- // letterSpacing: '-3px',
7505
- // margin: '0',
7506
- // color: theme.palette.font.default,
7507
- // wordBreak: 'break-word'
7508
- // },
7509
-
7510
- // videoCarouselContainer: {
7511
- // marginTop: '16px'
7512
- // },
7513
-
7514
7560
  webinarCarousel: {
7515
7561
  display: 'flex',
7516
7562
  justifyContent: 'flex-start',
@@ -7531,7 +7577,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7531
7577
  iframeContainer: {
7532
7578
  width: '100%',
7533
7579
  position: 'relative',
7534
- paddingBottom: '56.25%',
7580
+ aspectRatio: '4/3',
7535
7581
  // top: "6%",
7536
7582
  // left: '5%'
7537
7583
  borderRadius: '8px',
@@ -7539,8 +7585,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7539
7585
  },
7540
7586
  offerText: {
7541
7587
  textAlign: 'center',
7542
- color: theme.palette.font.primary,
7543
- marginBottom: '5%'
7588
+ color: theme?.colors?.lightblack,
7589
+ marginBottom: '5% !important',
7590
+ fontWeight: '700'
7544
7591
  },
7545
7592
  offerPrice: {
7546
7593
  fontSize: theme.typography.fontSize.h5,
@@ -7585,7 +7632,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7585
7632
  margin: '0',
7586
7633
  letterSpacing: '-1px',
7587
7634
  wordBreak: wordBreakValue => wordBreakValue || 'break-word',
7588
- color: theme.palette.font.default
7635
+ color: theme?.colors?.font1
7589
7636
  },
7590
7637
  courseViewContainer: {
7591
7638
  width: '645px',
@@ -7599,8 +7646,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7599
7646
  },
7600
7647
  bannerContainer: {
7601
7648
  width: '100%',
7602
- background: '#EB5757',
7603
- color: '#fff',
7649
+ background: theme?.colors?.bannerColor,
7650
+ color: theme?.colors?.bannerCtaColor,
7651
+ fontWeight: '600',
7604
7652
  textAlign: 'center',
7605
7653
  padding: '10px 10px 23px 40px',
7606
7654
  wordWrap: 'break-word',
@@ -7619,24 +7667,26 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7619
7667
  display: 'flex',
7620
7668
  alignItems: 'center',
7621
7669
  marginRight: '20px',
7670
+ color: theme?.colors?.font1,
7622
7671
  '& div': {
7623
- fontSize: theme.typography.fontSize.subHead,
7672
+ fontSize: theme.typography.fontSize.body,
7624
7673
  marginLeft: '10px'
7625
7674
  }
7626
7675
  },
7627
7676
  courseDetailContent: {
7628
- fontSize: theme.typography.fontSize.subHead,
7677
+ fontSize: theme.typography.fontSize.body,
7678
+ lineHeight: '21px',
7629
7679
  wordBreak: 'break-word',
7630
- color: theme.palette.font.primary,
7680
+ color: theme?.colors?.font1,
7631
7681
  whiteSpace: 'pre-wrap',
7632
7682
  width: '80%'
7633
7683
  },
7634
7684
  courseDetailViewFullDetails: {
7635
7685
  cursor: 'pointer',
7636
- fontSize: theme.typography.fontSize.subHead,
7686
+ fontSize: theme.typography.fontSize.body,
7637
7687
  lineHeight: '24px',
7688
+ color: theme?.colors?.font1,
7638
7689
  marginTop: '-20px',
7639
- color: '#00ADE7',
7640
7690
  wordBreak: 'break-word'
7641
7691
  },
7642
7692
  courseDetailTime: {
@@ -7651,7 +7701,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7651
7701
  display: 'flex',
7652
7702
  width: '36px',
7653
7703
  height: '36px',
7654
- backgroundColor: 'rgb(240, 244, 248)',
7704
+ backgroundColor: theme?.colors?.icon,
7655
7705
  justifyContent: 'center',
7656
7706
  alignItems: 'center',
7657
7707
  borderRadius: '6px'
@@ -7843,14 +7893,15 @@ const SingleVideoSlide$1 = props => {
7843
7893
  className: classes.iconBackground
7844
7894
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
7845
7895
  name: 'Calendar',
7846
- color: theme.palette.primary.main
7896
+ width: "24px",
7897
+ color: theme?.colors?.background2
7847
7898
  })), /*#__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", {
7848
7899
  className: classes.courseDetailTag
7849
7900
  }, /*#__PURE__*/React__default["default"].createElement("span", {
7850
7901
  className: classes.iconBackground
7851
7902
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
7852
- color: theme.palette.primary.main,
7853
- width: "20px",
7903
+ color: theme?.colors?.background2,
7904
+ width: "24px",
7854
7905
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7855
7906
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("p", {
7856
7907
  ref: data?.videoTextContent?.refSetter,
@@ -7956,13 +8007,15 @@ var index$4 = /*#__PURE__*/Object.freeze({
7956
8007
  });
7957
8008
 
7958
8009
  const useCoursePromotionPage = createUseStyles(theme => {
8010
+ console.log(theme, 'themere');
7959
8011
  return {
7960
8012
  courseSuperContainer: {
7961
8013
  display: 'flex',
7962
8014
  justifyContent: 'center',
8015
+ background: theme?.colors?.background1,
7963
8016
  padding: ({
7964
8017
  isMobile
7965
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8018
+ } = {}) => isMobile ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7966
8019
  '&, & *, & *:before, & *:after': {
7967
8020
  fontFamily: theme?.typography?.fontFamily,
7968
8021
  boxSizing: 'border-box'
@@ -8025,13 +8078,14 @@ const useCoursePromotionPage = createUseStyles(theme => {
8025
8078
  iframeContainer: {
8026
8079
  width: '100%',
8027
8080
  position: 'relative',
8028
- paddingBottom: '56.25%'
8029
- // top: "6%",
8030
- // left: '5%'
8081
+ aspectRatio: '4/3',
8082
+ borderRadius: '8px',
8083
+ overflow: 'hidden'
8031
8084
  },
8032
8085
  offerText: {
8033
8086
  textAlign: 'center',
8034
- color: theme.palette.font.primary
8087
+ color: theme.palette.font.primary,
8088
+ fontWeight: '700'
8035
8089
  },
8036
8090
  offerPrice: {
8037
8091
  fontSize: theme.typography.fontSize.h4,
@@ -8078,7 +8132,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8078
8132
  margin: '0',
8079
8133
  letterSpacing: '-1px',
8080
8134
  wordBreak: 'break-word',
8081
- color: theme.palette.font.default
8135
+ color: theme?.colors?.font1
8082
8136
  },
8083
8137
  courseViewContainer: {
8084
8138
  width: '445px',
@@ -8092,13 +8146,14 @@ const useCoursePromotionPage = createUseStyles(theme => {
8092
8146
  },
8093
8147
  bannerContainer: {
8094
8148
  width: '100%',
8095
- background: '#EB5757',
8096
- color: '#fff',
8149
+ background: theme?.colors?.bannerColor,
8150
+ color: theme?.colors?.bannerCtaColor,
8151
+ fontWeight: '600',
8097
8152
  textAlign: 'center',
8098
8153
  padding: '10px 10px 23px 40px',
8099
8154
  wordWrap: 'break-word',
8100
8155
  position: 'relative',
8101
- fontSize: theme.typography.fontSize.subHead,
8156
+ fontSize: '14px',
8102
8157
  transform: 'rotate(180deg)',
8103
8158
  clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
8104
8159
  // marginBottom: '16px'
@@ -8113,8 +8168,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8113
8168
  },
8114
8169
  courseEmblem: {
8115
8170
  background: '#F0F4F8',
8116
- fontSize: theme.typography.fontSize.subHead,
8117
- borderRadius: '2.00337px',
8171
+ fontSize: theme.typography.fontSize.body,
8172
+ borderRadius: '4px',
8118
8173
  padding: '8px',
8119
8174
  display: 'flex',
8120
8175
  alignItems: 'center',
@@ -8130,27 +8185,29 @@ const useCoursePromotionPage = createUseStyles(theme => {
8130
8185
  display: 'flex',
8131
8186
  alignItems: 'center',
8132
8187
  marginRight: '20px',
8188
+ color: theme?.colors?.font1,
8133
8189
  '& div': {
8134
- fontSize: theme.typography.fontSize.subHead,
8135
- fontWeight: theme.typography.fontWeight.semiBold,
8190
+ fontSize: theme.typography.fontSize.body,
8191
+ fontWeight: theme.typography.fontWeight.medium,
8136
8192
  marginLeft: '10px'
8137
8193
  }
8138
8194
  },
8139
8195
  courseDetailContent: {
8140
- // marginTop: '16px',
8141
- fontSize: theme.typography.fontSize.subHead,
8142
- lineHeight: '24px',
8196
+ marginTop: '20px',
8197
+ fontSize: theme.typography.fontSize.body,
8198
+ lineHeight: '21px',
8143
8199
  wordBreak: 'break-word',
8144
- color: theme.palette.font.primary,
8200
+ color: theme?.colors?.font1,
8145
8201
  whiteSpace: 'pre-wrap',
8146
8202
  margin: '10px 0 20px'
8147
8203
  },
8148
8204
  courseDetailViewFullDetails: {
8149
8205
  cursor: 'pointer',
8150
- fontSize: theme.typography.fontSize.subHead,
8151
- lineHeight: '24px',
8152
- marginTop: '-24px',
8153
- color: '#00ADE7',
8206
+ fontSize: theme.typography.fontSize.body,
8207
+ textDecoration: 'underline',
8208
+ lineHeight: '21px',
8209
+ marginTop: '20px',
8210
+ color: theme.colors?.font1,
8154
8211
  wordBreak: 'break-word'
8155
8212
  },
8156
8213
  courseDetailTime: {
@@ -8161,7 +8218,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8161
8218
  display: 'flex',
8162
8219
  width: '36px',
8163
8220
  height: '36px',
8164
- backgroundColor: 'rgb(240, 244, 248)',
8221
+ backgroundColor: theme?.colors?.icon,
8165
8222
  justifyContent: 'center',
8166
8223
  alignItems: 'center',
8167
8224
  borderRadius: '6px'
@@ -8220,7 +8277,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8220
8277
  // fontSize: '20px',
8221
8278
  fontWeight: '600',
8222
8279
  lineHeight: 'normal',
8223
- letterSpacing: '0px'
8280
+ letterSpacing: '0px',
8281
+ color: theme?.colors?.font1
8224
8282
  },
8225
8283
  videoTestimonialTitle: {
8226
8284
  // fontSize: '24px',
@@ -8389,28 +8447,32 @@ const SingleVideoSlide = props => {
8389
8447
  className: classes.iconBackground
8390
8448
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8391
8449
  name: 'Clock',
8392
- color: theme.palette.primary.main
8450
+ width: "24px",
8451
+ color: theme?.colors?.background2
8393
8452
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React__default["default"].createElement("div", {
8394
8453
  className: classes.courseDetailTag
8395
8454
  }, /*#__PURE__*/React__default["default"].createElement("span", {
8396
8455
  className: classes.iconBackground
8397
8456
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8398
8457
  name: 'Book Saved',
8399
- color: theme.palette.primary.main
8458
+ color: theme?.colors?.background2,
8459
+ width: "24px"
8400
8460
  })), /*#__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", {
8401
8461
  className: classes.courseDetailTag
8402
8462
  }, /*#__PURE__*/React__default["default"].createElement("span", {
8403
8463
  className: classes.iconBackground
8404
8464
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8405
8465
  name: 'Certificate',
8406
- color: theme.palette.primary.main
8407
- })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React__default["default"].createElement("div", {
8466
+ color: theme?.colors?.background2,
8467
+ width: "20px"
8468
+ })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText?.heading ? /*#__PURE__*/React__default["default"].createElement("div", {
8408
8469
  className: classes.courseDetailTag
8409
8470
  }, /*#__PURE__*/React__default["default"].createElement("span", {
8410
8471
  className: classes.iconBackground
8411
8472
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8412
8473
  name: 'Certificate',
8413
- color: theme.palette.primary.main
8474
+ color: theme?.colors?.background2,
8475
+ width: "20px"
8414
8476
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React__default["default"].createElement("p", {
8415
8477
  ref: data?.videoTextContent?.refSetter,
8416
8478
  className: classes.courseDetailContent,
@@ -8536,7 +8598,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8536
8598
  padding: ({
8537
8599
  isMobile
8538
8600
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8539
- background: '#F4F9FF',
8601
+ background: theme?.colors?.background3,
8540
8602
  '&, & *, & *:before, & *:after': {
8541
8603
  fontFamily: theme?.typography?.fontFamily,
8542
8604
  boxSizing: 'border-box'
@@ -8553,7 +8615,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8553
8615
  marginTop: '8px',
8554
8616
  fontSize: theme.typography.fontSize.h6,
8555
8617
  lineHeight: '23px',
8556
- color: 'rgba(51, 51, 51, 0.5)',
8618
+ color: theme?.colors?.gray,
8557
8619
  marginBottom: theme.spacing.margin.tiny
8558
8620
  },
8559
8621
  formPageFormContainer: {
@@ -8571,8 +8633,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8571
8633
  // borderRadius: '16px'
8572
8634
  },
8573
8635
  inputFieldLabel: {
8574
- color: '#333',
8575
- fontSize: theme.typography.fontSize.subHead,
8636
+ color: theme?.colors?.lightblack,
8637
+ fontSize: theme.typography.fontSize.body,
8576
8638
  fontWeight: theme.typography.fontWeight.semiBold,
8577
8639
  display: 'block',
8578
8640
  marginTop: '20px',
@@ -8583,8 +8645,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8583
8645
  borderRadius: '8px',
8584
8646
  border: '1px solid #D8E0F0',
8585
8647
  padding: '12px 16px',
8586
- color: '#7D8592',
8587
- fontSize: theme.typography.fontSize.subHead
8648
+ color: theme?.colors?.lightblack,
8649
+ fontSize: theme.typography.fontSize.body
8588
8650
  },
8589
8651
  checkboxField: {
8590
8652
  // padding: '20px',
@@ -8592,21 +8654,21 @@ const useFormPageStyles = createUseStyles(theme => ({
8592
8654
  // borderRadius: '8px'
8593
8655
  },
8594
8656
  checkBoxFieldLabel: {
8595
- color: '#333',
8596
- fontSize: theme.typography.fontSize.subHead,
8657
+ color: theme?.colors?.lightblack,
8658
+ fontSize: theme.typography.fontSize.body,
8597
8659
  fontWeight: theme.typography.fontWeight.semiBold,
8598
8660
  marginTop: '20px',
8599
8661
  marginBottom: '12px'
8600
8662
  },
8601
8663
  inputFieldRequired: {
8602
- color: '#F41828'
8664
+ color: theme?.colors?.lightblack
8603
8665
  },
8604
8666
  checkboxFieldControl: {
8605
8667
  padding: '8px 0',
8606
8668
  '& label': {
8607
- fontSize: theme.typography.fontSize.subHead,
8669
+ fontSize: theme.typography.fontSize.body,
8608
8670
  marginLeft: '10px',
8609
- color: '#7D8592'
8671
+ color: theme?.colors?.lightblack
8610
8672
  }
8611
8673
  },
8612
8674
  submitBtnContainer: {
@@ -8619,8 +8681,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8619
8681
  '& button': {
8620
8682
  // height: '44px',
8621
8683
  padding: '16px 24px',
8622
- color: '#FFFFFF',
8623
- fontSize: theme.typography.fontSize.subHead,
8684
+ fontSize: theme.typography.fontSize.body,
8624
8685
  cursor: 'pointer',
8625
8686
  borderRadius: '8px'
8626
8687
  }
@@ -9625,7 +9686,7 @@ function PageRenderer({
9625
9686
  countryCode,
9626
9687
  currencySymbol
9627
9688
  }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
9628
- const theme = React.useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9689
+ const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9629
9690
  const Wrapper = SectionWrapper || React.Fragment;
9630
9691
  return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
9631
9692
  theme: theme