@huma-finance/widgets 0.0.59-beta.486 → 0.0.59-beta.488

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.
Files changed (40) hide show
  1. package/dist/cjs/index.cjs +212 -205
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/index.js +214 -207
  4. package/dist/index.js.map +1 -1
  5. package/package.json +4 -4
  6. package/src/components/Activity.tsx +2 -3
  7. package/src/components/ApproveAllowanceModal.tsx +2 -2
  8. package/src/components/ApproveAllowanceModalV2.tsx +2 -2
  9. package/src/components/ChooseAmountModal.tsx +15 -14
  10. package/src/components/ConfirmTransferModal.tsx +5 -6
  11. package/src/components/CreditLine/borrow/1-Evaluation.tsx +5 -5
  12. package/src/components/ErrorModal.tsx +5 -12
  13. package/src/components/Factoring/FactoredList.tsx +2 -2
  14. package/src/components/Factoring/UpcomingList.tsx +2 -2
  15. package/src/components/HumaSnackBar.tsx +2 -2
  16. package/src/components/HumaTable.tsx +3 -3
  17. package/src/components/InputAmountModal.tsx +9 -7
  18. package/src/components/Lend/addRedemptionV2/1-ChooseTranche.tsx +2 -2
  19. package/src/components/Lend/supply/1-Evaluation/EvaluationEA.tsx +2 -2
  20. package/src/components/Lend/supply/1-Evaluation/EvaluationKYC.tsx +2 -2
  21. package/src/components/Lend/supplyV2/1-ChooseTranche.tsx +2 -2
  22. package/src/components/Lend/supplyV2/3-ChooseAmount.tsx +4 -0
  23. package/src/components/Lend/supplyV2/8-PointsEarned.tsx +14 -9
  24. package/src/components/Lend/supplyV2/components/PersonaEvaluation.tsx +8 -6
  25. package/src/components/Lend/supplyV2/components/SecuritizeEvaluation.tsx +2 -2
  26. package/src/components/Lend/withdrawV2/1-ConfirmTransfer.tsx +3 -3
  27. package/src/components/Notifi/NotifiSubscriptionModal.tsx +2 -2
  28. package/src/components/ReceivableBackedCreditLine/payment/1-ChoosePaymentType.tsx +2 -2
  29. package/src/components/SignIn.tsx +2 -2
  30. package/src/components/SuperfluidFactoring/index.tsx +2 -2
  31. package/src/components/TxDoneModal.tsx +4 -4
  32. package/src/components/WrapperModal.tsx +3 -3
  33. package/src/components/humaModal/HumaModal.tsx +3 -3
  34. package/src/index.tsx +0 -2
  35. package/src/theme/components.ts +3 -2
  36. package/src/theme/palette.ts +7 -7
  37. package/src/theme/typography.ts +0 -1
  38. package/dist/assets/output-f6156dde.css +0 -45
  39. package/dist/cjs/assets/output-f6156dde.css +0 -45
  40. package/src/index.css +0 -61
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huma-finance/widgets",
3
- "version": "0.0.59-beta.486+2521877",
3
+ "version": "0.0.59-beta.488+0dea268",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -30,8 +30,8 @@
30
30
  "@ethersproject/experimental": "^5.7.0",
31
31
  "@ethersproject/providers": "^5.6.0",
32
32
  "@ethersproject/units": "^5.6.0",
33
- "@huma-finance/sdk": "^0.0.58",
34
- "@huma-finance/shared": "^0.0.58",
33
+ "@huma-finance/sdk": "^0.0.59-beta.488+0dea268",
34
+ "@huma-finance/shared": "^0.0.59-beta.488+0dea268",
35
35
  "@mui/icons-material": "^5.3.0",
36
36
  "@mui/material": "^5.0.6",
37
37
  "@mui/styles": "^5.0.2",
@@ -195,5 +195,5 @@
195
195
  "optionalDependencies": {
196
196
  "encoding": "^0.1.13"
197
197
  },
198
- "gitHead": "2521877d3ec21dd5c552804a945184da05dab0e0"
198
+ "gitHead": "0dea268b16395e79b5c9cbd96cfa66f781360935"
199
199
  }
@@ -105,13 +105,12 @@ export function Activity({
105
105
  margin-top: ${theme.spacing(9)};
106
106
  `,
107
107
  title: css`
108
- font-family: 'Uni-Neue-Black';
108
+ font-weight: 800;
109
109
  font-size: 24px;
110
- color: #6b6572;
110
+ color: ${theme.palette.text.primary};
111
111
  margin-bottom: ${theme.spacing(2)};
112
112
  `,
113
113
  tableWrapper: css`
114
- background: #ffffff;
115
114
  box-shadow: 0px 4px 40px 8px rgba(0, 0, 0, 0.04);
116
115
  border-radius: 24px;
117
116
  padding: ${getPadding()};
@@ -70,9 +70,9 @@ export function ApproveAllowanceModal({
70
70
  `,
71
71
  description: css`
72
72
  margin-top: ${theme.spacing(4)};
73
- font-family: 'Uni-Neue-Regular';
73
+ font-weight: 400;
74
74
  font-size: 16px;
75
- color: #a8a1b2;
75
+ color: ${theme.palette.text.secondary};
76
76
  padding: ${theme.spacing(0, 1)};
77
77
  `,
78
78
  }
@@ -66,9 +66,9 @@ export function ApproveAllowanceModalV2({
66
66
  `,
67
67
  description: css`
68
68
  margin-top: ${theme.spacing(4)};
69
- font-family: 'Uni-Neue-Regular';
69
+ font-weight: 400;
70
70
  font-size: 16px;
71
- color: #a8a1b2;
71
+ color: ${theme.palette.text.secondary};
72
72
  padding: ${theme.spacing(0, 1)};
73
73
  `,
74
74
  }
@@ -60,13 +60,13 @@ export function ChooseAmountModal({
60
60
 
61
61
  const styles = {
62
62
  subTitle: css`
63
- font-family: 'Uni-Neue-Regular';
63
+ font-weight: 400;
64
64
  `,
65
65
  description2: css`
66
66
  ${theme.cssMixins.rowCentered};
67
- font-family: 'Uni-Neue-Regular';
67
+ font-weight: 400;
68
68
  font-size: 16px;
69
- color: #a8a1b2;
69
+ color: ${theme.palette.text.secondary};
70
70
  margin-top: ${theme.spacing(2)};
71
71
  `,
72
72
  chosenAmountWrapper: css`
@@ -80,7 +80,7 @@ export function ChooseAmountModal({
80
80
  margin-top: ${theme.spacing(4)};
81
81
  `,
82
82
  chosenAmount: css`
83
- font-family: 'Inter-Bold';
83
+ font-weight: 700;
84
84
  font-size: 32px;
85
85
  `,
86
86
  chosenAmountSymbol: css`
@@ -134,7 +134,7 @@ export function ChooseAmountModal({
134
134
  margin-bottom: ${theme.spacing(7)};
135
135
  &.MuiSlider-root {
136
136
  height: 8px !important;
137
- color: #e9e9e9;
137
+ color: ${theme.palette.text.primary};
138
138
  }
139
139
  & .MuiSlider-track {
140
140
  height: 8px !important;
@@ -151,19 +151,17 @@ export function ChooseAmountModal({
151
151
  }
152
152
  `,
153
153
  info: css`
154
- font-family: 'Uni-Neue-Regular';
155
- ${theme.cssMixins.rowSpaceBetweened};
156
154
  font-weight: 400;
155
+ ${theme.cssMixins.rowSpaceBetweened};
157
156
  font-size: 16px;
158
- color: #423b46;
157
+ color: ${theme.palette.text.secondary};
159
158
  `,
160
159
  divider: css`
161
160
  margin: ${theme.spacing(2, 0)};
162
- background: #49505b;
163
- border-color: #e9e3f1;
161
+ border-color: ${theme.palette.divider};
164
162
  `,
165
163
  okButton: css`
166
- font-family: 'Uni-Neue-Bold';
164
+ font-weight: 700;
167
165
  width: 100%;
168
166
  position: absolute;
169
167
  bottom: ${theme.spacing(isXsSize ? 2 : 0)};
@@ -172,7 +170,7 @@ export function ChooseAmountModal({
172
170
  ${theme.cssMixins.rowHCentered};
173
171
  font-weight: 400;
174
172
  font-size: 12px;
175
- color: #a8a1b2;
173
+ color: ${theme.palette.text.secondary};
176
174
  margin-top: ${theme.spacing(1)};
177
175
  letter-spacing: 0px;
178
176
  width: 100%;
@@ -189,8 +187,11 @@ export function ChooseAmountModal({
189
187
  event: React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>,
190
188
  ) => {
191
189
  setInputTouched(true)
192
- // @ts-ignore
193
- handleChangeAmount(event.target.value)
190
+ if (!event.target.value) {
191
+ handleChangeAmount(0)
192
+ } else {
193
+ handleChangeAmount(Number(event.target.value))
194
+ }
194
195
  }
195
196
 
196
197
  const handleSetMax = () => {
@@ -36,9 +36,9 @@ export function ConfirmTransferModal({
36
36
  margin-top: ${theme.spacing(-0.5)};
37
37
  `,
38
38
  description: css`
39
- font-family: 'Uni-Neue-Regular';
39
+ font-weight: 400;
40
40
  font-size: 16px;
41
- color: #49505b;
41
+ color: ${theme.palette.text.secondary};
42
42
  margin-top: ${theme.spacing(4)};
43
43
  text-align: center;
44
44
  `,
@@ -46,15 +46,14 @@ export function ConfirmTransferModal({
46
46
  margin-top: ${theme.spacing(9)};
47
47
  `,
48
48
  transfer: css`
49
- font-family: 'Uni-Neue-Regular';
49
+ font-weight: 400;
50
50
  ${theme.cssMixins.rowSpaceBetweened}
51
51
  ${theme.cssMixins.rowVCentered}
52
52
  height: 72px;
53
53
  background: #f9f8fa;
54
54
  border-radius: 4px;
55
- font-weight: 500;
56
55
  font-size: 16px;
57
- color: #49505b;
56
+ color: ${theme.palette.text.secondary};
58
57
  padding: ${theme.spacing(3, 2)};
59
58
  margin-bottom: ${theme.spacing(1)};
60
59
  position: relative;
@@ -87,7 +86,7 @@ export function ConfirmTransferModal({
87
86
  animation-iteration-count: infinite;
88
87
  animation-timing-function: linear;
89
88
 
90
- color: #b246ff;
89
+ color: ${theme.palette.primary.main};
91
90
  position: absolute;
92
91
  margin: auto;
93
92
  top: 0;
@@ -67,10 +67,10 @@ export function Evaluation({
67
67
  content: css`
68
68
  ${theme.cssMixins.rowHCentered};
69
69
  margin-top: ${theme.spacing(4)};
70
- font-family: 'Uni-Neue-Regular';
70
+ font-weight: 400;
71
71
  font-size: 16px;
72
72
  line-height: 24px;
73
- color: #49505b;
73
+ color: ${theme.palette.text.secondary};
74
74
  margin-bottom: ${theme.spacing(8)};
75
75
  `,
76
76
  checkWrapper: css`
@@ -79,9 +79,9 @@ export function Evaluation({
79
79
  height: 72px;
80
80
  background: #f9f8fa;
81
81
  border-radius: 4px;
82
- font-family: 'Uni-Neue-Regular';
82
+ font-weight: 400;
83
83
  font-size: 16px;
84
- color: #49505b;
84
+ color: ${theme.palette.text.secondary};
85
85
  `,
86
86
  checkIcon: css`
87
87
  ${theme.cssMixins.rowCentered}
@@ -94,7 +94,7 @@ export function Evaluation({
94
94
  }
95
95
  `,
96
96
  congratsWrapper: css`
97
- font-family: 'Uni-Neue-Regular';
97
+ font-weight: 400;
98
98
  font-size: 16px;
99
99
  padding: ${theme.spacing(0, 2)};
100
100
  ${theme.cssMixins.rowVCentered}
@@ -55,13 +55,6 @@ export function ErrorModal({
55
55
  width: 100%;
56
56
  display: inline-table;
57
57
  padding: ${theme.spacing(2, 0)};
58
- background: linear-gradient(
59
- 0deg,
60
- rgba(255, 255, 255, 0.9),
61
- rgba(255, 255, 255, 0.9)
62
- ),
63
- #d32f2f;
64
- border-radius: 4px;
65
58
  position: relative;
66
59
  margin-top: ${theme.spacing(9)};
67
60
  height: 79px;
@@ -69,20 +62,20 @@ export function ErrorModal({
69
62
  errorIcon: css`
70
63
  position: absolute;
71
64
  font-size: 20px;
72
- color: #d32f2f;
65
+ color: ${theme.palette.error.main};
73
66
  margin: ${theme.spacing(0, 2)};
74
67
  `,
75
68
  messageWrapper: css`
76
- color: #541313;
77
- font-family: 'Uni-Neue-Regular';
69
+ color: ${theme.palette.text.primary};
70
+ font-weight: 400;
78
71
  font-size: 16px;
79
72
  padding-left: ${theme.spacing(6)};
80
73
  `,
81
74
  errorMessage: css`
82
75
  margin-top: ${theme.spacing(0.5)};
83
76
  font-size: 14px;
84
- font-family: 'Uni-Neue-Regular';
85
- color: #541313;
77
+ font-weight: 400;
78
+ color: ${theme.palette.text.primary};
86
79
  cursor: pointer;
87
80
  display: -webkit-box;
88
81
  line-height: 16px;
@@ -85,13 +85,13 @@ export function FactoredList<T>({
85
85
 
86
86
  const styles = {
87
87
  title: css`
88
- font-family: 'Uni-Neue-Black';
88
+ font-weight: 800;
89
89
  color: ${theme.palette.text.primary};
90
90
  font-size: 24px;
91
91
  margin-bottom: ${theme.spacing(2)};
92
92
  `,
93
93
  description: css`
94
- font-family: 'Uni-Neue-Regular';
94
+ font-weight: 400;
95
95
  color: ${theme.palette.text.primary};
96
96
  font-size: 1rem;
97
97
  `,
@@ -37,13 +37,13 @@ export function UpcomingList<T>({
37
37
 
38
38
  const styles = {
39
39
  title: css`
40
- font-family: 'Uni-Neue-Black';
40
+ font-weight: 800;
41
41
  color: ${theme.palette.text.primary};
42
42
  font-size: 24px;
43
43
  margin-bottom: ${theme.spacing(2)};
44
44
  `,
45
45
  description: css`
46
- font-family: 'Uni-Neue-Regular';
46
+ font-weight: 400;
47
47
  color: ${theme.palette.text.primary};
48
48
  font-size: 1rem;
49
49
  `,
@@ -33,11 +33,11 @@ export function HumaSnackBar({
33
33
  title: css`
34
34
  margin-bottom: ${theme.spacing(1)};
35
35
  font-size: 16px;
36
- font-family: 'Uni-Neue-Bold';
36
+ font-weight: 700;
37
37
  `,
38
38
  message: css`
39
39
  font-size: 15px;
40
- font-family: 'Uni-Neue-Regular';
40
+ font-weight: 400;
41
41
  `,
42
42
  }
43
43
 
@@ -35,13 +35,13 @@ export function HumaTable<T>({
35
35
 
36
36
  const styles = {
37
37
  tableHeader: css`
38
- font-family: 'Uni-Neue-Regular';
38
+ font-weight: 400;
39
39
  ${theme.cssMixins.rowVCentered}
40
40
  font-size: 14px;
41
41
  color: rgba(0, 0, 0, 0.87);
42
42
  `,
43
43
  tableBody: css`
44
- font-family: 'Uni-Neue-Regular';
44
+ font-weight: 400;
45
45
  font-size: 14px;
46
46
  color: rgba(0, 0, 0, 0.87);
47
47
  `,
@@ -50,7 +50,7 @@ export function HumaTable<T>({
50
50
  flex-direction: column;
51
51
  align-items: center;
52
52
  margin-top: ${theme.spacing(2)};
53
- font-family: 'Uni-Neue-Regular';
53
+ font-weight: 400;
54
54
  font-size: 14px;
55
55
  `,
56
56
  }
@@ -50,7 +50,7 @@ export function InputAmountModal({
50
50
  input {
51
51
  width: 100%;
52
52
  color: ${theme.palette.text.primary};
53
- font-family: 'Uni-Neue-Black';
53
+ font-weight: 800;
54
54
  font-size: 40px;
55
55
  line-height: 133.4%;
56
56
  }
@@ -63,7 +63,7 @@ export function InputAmountModal({
63
63
  maxTitle: css`
64
64
  position: absolute;
65
65
  color: ${theme.palette.text.primary};
66
- font-family: 'Uni-Neue-Regular';
66
+ font-weight: 400;
67
67
  font-size: 12px;
68
68
  line-height: 166%;
69
69
  letter-spacing: 0.4px;
@@ -77,18 +77,16 @@ export function InputAmountModal({
77
77
  justify-content: center;
78
78
  align-items: center;
79
79
  border-radius: 32px;
80
- background: #f7f1ff;
81
80
  padding: 4px 10px;
82
81
  gap: 8px;
83
- color: #b246ff;
84
- font-family: 'Uni-Neue-Bold';
82
+ font-weight: 700;
85
83
  font-size: 13px;
86
84
  line-height: 22px;
87
85
  letter-spacing: 0.46px;
88
86
  `,
89
87
  info: css`
90
88
  color: ${theme.palette.text.primary};
91
- font-family: 'Uni-Neue-Regular';
89
+ font-weight: 400;
92
90
  font-size: 16px;
93
91
  line-height: 160%;
94
92
  letter-spacing: 0.15px;
@@ -133,7 +131,11 @@ export function InputAmountModal({
133
131
  </Button>
134
132
  </Box>
135
133
  ) : (
136
- <Button css={styles.max} onClick={setMaxAmount}>
134
+ <Button
135
+ variant='contained'
136
+ css={styles.max}
137
+ onClick={setMaxAmount}
138
+ >
137
139
  {maxAmountText}
138
140
  </Button>
139
141
  ),
@@ -31,7 +31,7 @@ export function ChooseTranche({
31
31
  const styles = {
32
32
  subTitle: css`
33
33
  color: ${theme.palette.text.primary} !important;
34
- font-family: 'Uni-Neue-Regular';
34
+ font-weight: 400;
35
35
  font-size: 16px;
36
36
  line-height: 150%;
37
37
  letter-spacing: 0.15px;
@@ -47,7 +47,7 @@ export function ChooseTranche({
47
47
 
48
48
  .MuiFormControlLabel-label {
49
49
  color: ${theme.palette.text.primary};
50
- font-family: 'Uni-Neue-Regular';
50
+ font-weight: 400;
51
51
  font-size: 16px;
52
52
  line-height: 150%;
53
53
  letter-spacing: 0.15px;
@@ -38,9 +38,9 @@ export function EvaluationEA({
38
38
  ${theme.cssMixins.rowCentered};
39
39
  margin-top: ${theme.spacing(10)};
40
40
  padding: ${theme.spacing(0, 2)};
41
- font-family: 'Uni-Neue-Regular';
41
+ font-weight: 400;
42
42
  font-size: 16px;
43
- color: #a8a1b2;
43
+ color: ${theme.palette.text.secondary};
44
44
  `,
45
45
  }
46
46
 
@@ -115,9 +115,9 @@ export function EvaluationKYC({
115
115
  ${theme.cssMixins.rowCentered};
116
116
  margin-top: ${theme.spacing(10)};
117
117
  padding: ${theme.spacing(0, 2)};
118
- font-family: 'Uni-Neue-Regular';
118
+ font-weight: 400;
119
119
  font-size: 16px;
120
- color: #a8a1b2;
120
+ color: ${theme.palette.text.secondary};
121
121
  `,
122
122
  }
123
123
 
@@ -33,7 +33,7 @@ export function ChooseTranche({
33
33
  const styles = {
34
34
  subTitle: css`
35
35
  color: ${theme.palette.text.primary} !important;
36
- font-family: 'Uni-Neue-Regular';
36
+ font-weight: 400;
37
37
  font-size: 16px;
38
38
  line-height: 150%;
39
39
  letter-spacing: 0.15px;
@@ -49,7 +49,7 @@ export function ChooseTranche({
49
49
 
50
50
  .MuiFormControlLabel-label {
51
51
  color: ${theme.palette.text.primary};
52
- font-family: 'Uni-Neue-Regular';
52
+ font-weight: 400;
53
53
  font-size: 16px;
54
54
  line-height: 150%;
55
55
  letter-spacing: 0.15px;
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  CampaignService,
3
+ checkIsDev,
3
4
  formatNumber,
4
5
  PoolInfoV2,
5
6
  TrancheType,
@@ -33,6 +34,7 @@ export function ChooseAmount({
33
34
  isUniTranche,
34
35
  campaign,
35
36
  }: Props): React.ReactElement | null {
37
+ const isDev = checkIsDev()
36
38
  const dispatch = useAppDispatch()
37
39
  const { account, provider } = useWeb3React()
38
40
  const { symbol, decimals } = poolUnderlyingToken
@@ -66,6 +68,7 @@ export function ChooseAmount({
66
68
  poolInfo.poolUnderlyingToken.decimals,
67
69
  )
68
70
  .toString(),
71
+ isDev,
69
72
  )
70
73
  const campaignPoints = estimatedPoints.find(
71
74
  (item) => item.campaignId === campaign.id,
@@ -81,6 +84,7 @@ export function ChooseAmount({
81
84
  campaign,
82
85
  debouncedValue,
83
86
  decimals,
87
+ isDev,
84
88
  poolInfo.poolUnderlyingToken.decimals,
85
89
  selectedTranche,
86
90
  ])
@@ -36,6 +36,7 @@ export function PointsEarned({
36
36
  handleAction,
37
37
  }: Props): React.ReactElement {
38
38
  const theme = useTheme()
39
+ const isDev = checkIsDev()
39
40
  const dispatch = useDispatch()
40
41
  const { account, chainId } = useWeb3React()
41
42
  const [pointsAccumulated, setPointsAccumulated] = useState<
@@ -50,7 +51,7 @@ export function PointsEarned({
50
51
  setError: setAuthError,
51
52
  isWalletOwnershipVerified,
52
53
  isWalletOwnershipVerificationRequired,
53
- } = useAuthErrorHandling(checkIsDev())
54
+ } = useAuthErrorHandling(isDev)
54
55
  const [walletOwnership, setWalletOwnership] = useState<boolean | undefined>()
55
56
  const [state, setState] = useState<STATE>(STATE.Loading)
56
57
 
@@ -68,14 +69,17 @@ export function PointsEarned({
68
69
 
69
70
  useEffect(() => {
70
71
  const checkWalletOwnership = async () => {
71
- const ownership = await CampaignService.checkWalletOwnership(account!)
72
+ const ownership = await CampaignService.checkWalletOwnership(
73
+ account!,
74
+ isDev,
75
+ )
72
76
  setWalletOwnership(ownership)
73
77
  if (!ownership) {
74
78
  setAuthError('WalletNotSignInException')
75
79
  }
76
80
  }
77
81
  checkWalletOwnership()
78
- }, [account, setAuthError])
82
+ }, [account, isDev, setAuthError])
79
83
 
80
84
  useEffect(() => {
81
85
  if (errorType === 'NotSignedIn') {
@@ -103,6 +107,7 @@ export function PointsEarned({
103
107
  chainId!,
104
108
  account!,
105
109
  transactionHash,
110
+ isDev,
106
111
  )
107
112
  if (!result.pointsAccumulated) {
108
113
  dispatch(
@@ -123,7 +128,7 @@ export function PointsEarned({
123
128
  }
124
129
  }
125
130
  updateWalletPoints()
126
- }, [account, chainId, dispatch, transactionHash, walletOwnership])
131
+ }, [account, chainId, dispatch, isDev, transactionHash, walletOwnership])
127
132
 
128
133
  const styles = {
129
134
  wrapper: css`
@@ -136,9 +141,9 @@ export function PointsEarned({
136
141
  ribbon: css`
137
142
  position: relative;
138
143
  ${theme.cssMixins.rowHCentered};
139
- font-family: 'Uni-Neue-Bold';
144
+ font-weight: 700;
140
145
  margin-top: ${theme.spacing(-8)};
141
- color: #fbfbfc;
146
+ color: ${theme.palette.text.primary};
142
147
  font-size: 20px;
143
148
  line-height: 160%;
144
149
  letter-spacing: 0.15px;
@@ -155,7 +160,7 @@ export function PointsEarned({
155
160
  entirePoints: css`
156
161
  color: ${theme.palette.text.tertiary};
157
162
  text-align: center;
158
- font-family: 'Uni-Neue-Bold';
163
+ font-weight: 700;
159
164
  font-size: 20px;
160
165
  line-height: 160%;
161
166
  letter-spacing: 0.15px;
@@ -164,14 +169,14 @@ export function PointsEarned({
164
169
  entirePointsDetails: css`
165
170
  color: ${theme.palette.text.tertiary};
166
171
  text-align: center;
167
- font-family: 'Uni-Neue-Regular';
172
+ font-weight: 400;
168
173
  font-size: 16px;
169
174
  line-height: 150%;
170
175
  letter-spacing: 0.15px;
171
176
  margin-top: ${theme.spacing(4)};
172
177
  `,
173
178
  everyday: css`
174
- font-family: 'Uni-Neue-Bold';
179
+ font-weight: 700;
175
180
  `,
176
181
  }
177
182
 
@@ -90,11 +90,12 @@ export function PersonaEvaluation({
90
90
  await CampaignService.createNewWallet(
91
91
  account,
92
92
  localStorage.getItem(CAMPAIGN_REFERENCE_CODE) ?? undefined,
93
+ isDev,
93
94
  )
94
95
  }
95
96
  }
96
97
  createNewWallet()
97
- }, [account, campaign, isWalletOwnershipVerified])
98
+ }, [account, campaign, isDev, isWalletOwnershipVerified])
98
99
 
99
100
  useEffect(() => {
100
101
  const getBasePoints = async () => {
@@ -102,6 +103,7 @@ export function PersonaEvaluation({
102
103
  const estimatedPoints = await CampaignService.getEstimatedPoints(
103
104
  campaign.campaignGroupId,
104
105
  minDepositAmountBN.toString(),
106
+ isDev,
105
107
  )
106
108
  const campaignPoints = estimatedPoints.find(
107
109
  (item) => item.campaignId === campaign.id,
@@ -121,7 +123,7 @@ export function PersonaEvaluation({
121
123
  }
122
124
  }
123
125
  getBasePoints()
124
- }, [campaign, isUniTranche, minDepositAmountBN])
126
+ }, [campaign, isDev, isUniTranche, minDepositAmountBN])
125
127
 
126
128
  const approveLender = useCallback(async () => {
127
129
  try {
@@ -378,13 +380,13 @@ export function PersonaEvaluation({
378
380
  text-align: justify;
379
381
  margin-top: ${theme.spacing(10)};
380
382
  padding: ${theme.spacing(0, 2)};
381
- font-family: 'Uni-Neue-Regular';
383
+ font-weight: 400;
382
384
  font-size: 16px;
383
- color: #a8a1b2;
385
+ color: ${theme.palette.text.primary};
384
386
  `,
385
387
  points: css`
386
- color: #b246ff;
387
- font-family: 'Uni-Neue-Bold';
388
+ color: ${theme.palette.primary.main};
389
+ font-weight: 700;
388
390
  `,
389
391
  }
390
392
 
@@ -313,9 +313,9 @@ export function SecuritizeEvaluation({
313
313
  ${theme.cssMixins.rowCentered};
314
314
  margin-top: ${theme.spacing(10)};
315
315
  padding: ${theme.spacing(0, 2)};
316
- font-family: 'Uni-Neue-Regular';
316
+ font-weight: 400;
317
317
  font-size: 16px;
318
- color: #a8a1b2;
318
+ color: ${theme.palette.text.primary};
319
319
  `,
320
320
  }
321
321
 
@@ -80,7 +80,7 @@ export function ConfirmTransfer({
80
80
  itemWrapper: css`
81
81
  margin-top: ${theme.spacing(9)};
82
82
  color: ${theme.palette.text.primary};
83
- font-family: 'Uni-Neue-Regular';
83
+ font-weight: 400;
84
84
  font-size: 16px;
85
85
  line-height: 175%;
86
86
  letter-spacing: 0.15px;
@@ -93,10 +93,10 @@ export function ConfirmTransfer({
93
93
  `,
94
94
  itemValue: css`
95
95
  font-size: 20px;
96
- font-family: 'Uni-Neue-Bold';
96
+ font-weight: 700;
97
97
  `,
98
98
  divider: css`
99
- border-color: #eae6f0;
99
+ border-color: ${theme.palette.divider};
100
100
  margin-bottom: ${theme.spacing(3)};
101
101
  `,
102
102
  }
@@ -158,9 +158,9 @@ export function NotifiSubscriptionModal({
158
158
  const styles = {
159
159
  disclaimer: css`
160
160
  ${theme.cssMixins.rowCentered};
161
- font-family: 'Uni-Neue-Regular';
161
+ font-weight: 400;
162
162
  font-size: 16px;
163
- color: #a8a1b2;
163
+ color: ${theme.palette.text.secondary};
164
164
  margin-top: ${theme.spacing(6)};
165
165
  `,
166
166
  inputField: css`