@@ -157,7 +157,7 @@ export function InstanceSetupForm() {
157157 < div className = "flex flex-col sm:flex-row items-center gap-4" >
158158 < div className = "w-full space-y-1" >
159159 < label className = "text-13 text-tertiary font-medium" htmlFor = "first_name" >
160- First name < span className = "text-red-500 " > *</ span >
160+ First name < span className = "text-danger-primary " > *</ span >
161161 </ label >
162162 < Input
163163 className = "w-full border border-subtle !bg-surface-1 placeholder:text-placeholder"
@@ -174,7 +174,7 @@ export function InstanceSetupForm() {
174174 </ div >
175175 < div className = "w-full space-y-1" >
176176 < label className = "text-13 text-tertiary font-medium" htmlFor = "last_name" >
177- Last name < span className = "text-red-500 " > *</ span >
177+ Last name < span className = "text-danger-primary " > *</ span >
178178 </ label >
179179 < Input
180180 className = "w-full border border-subtle !bg-surface-1 placeholder:text-placeholder"
@@ -192,7 +192,7 @@ export function InstanceSetupForm() {
192192
193193 < div className = "w-full space-y-1" >
194194 < label className = "text-13 text-tertiary font-medium" htmlFor = "email" >
195- Email < span className = "text-red-500 " > *</ span >
195+ Email < span className = "text-danger-primary " > *</ span >
196196 </ label >
197197 < Input
198198 className = "w-full border border-subtle !bg-surface-1 placeholder:text-placeholder"
@@ -207,13 +207,13 @@ export function InstanceSetupForm() {
207207 autoComplete = "on"
208208 />
209209 { errorData . type && errorData . type === EErrorCodes . INVALID_EMAIL && errorData . message && (
210- < p className = "px-1 text-11 text-red-500 " > { errorData . message } </ p >
210+ < p className = "px-1 text-11 text-danger-primary " > { errorData . message } </ p >
211211 ) }
212212 </ div >
213213
214214 < div className = "w-full space-y-1" >
215215 < label className = "text-13 text-tertiary font-medium" htmlFor = "company_name" >
216- Company name < span className = "text-red-500 " > *</ span >
216+ Company name < span className = "text-danger-primary " > *</ span >
217217 </ label >
218218 < Input
219219 className = "w-full border border-subtle !bg-surface-1 placeholder:text-placeholder"
@@ -229,7 +229,7 @@ export function InstanceSetupForm() {
229229
230230 < div className = "w-full space-y-1" >
231231 < label className = "text-13 text-tertiary font-medium" htmlFor = "password" >
232- Set a password < span className = "text-red-500 " > *</ span >
232+ Set a password < span className = "text-danger-primary " > *</ span >
233233 </ label >
234234 < div className = "relative" >
235235 < Input
@@ -267,14 +267,14 @@ export function InstanceSetupForm() {
267267 ) }
268268 </ div >
269269 { errorData . type && errorData . type === EErrorCodes . INVALID_PASSWORD && errorData . message && (
270- < p className = "px-1 text-11 text-red-500 " > { errorData . message } </ p >
270+ < p className = "px-1 text-11 text-danger-primary " > { errorData . message } </ p >
271271 ) }
272272 < PasswordStrengthIndicator password = { formData . password } isFocused = { isPasswordInputFocused } />
273273 </ div >
274274
275275 < div className = "w-full space-y-1" >
276276 < label className = "text-13 text-tertiary font-medium" htmlFor = "confirm_password" >
277- Confirm password < span className = "text-red-500 " > *</ span >
277+ Confirm password < span className = "text-danger-primary " > *</ span >
278278 </ label >
279279 < div className = "relative" >
280280 < Input
@@ -311,7 +311,9 @@ export function InstanceSetupForm() {
311311 </ div >
312312 { ! ! formData . confirm_password &&
313313 formData . password !== formData . confirm_password &&
314- renderPasswordMatchError && < span className = "text-13 text-red-500" > Passwords don{ "'" } t match</ span > }
314+ renderPasswordMatchError && (
315+ < span className = "text-13 text-danger-primary" > Passwords don{ "'" } t match</ span >
316+ ) }
315317 </ div >
316318
317319 < div className = "relative flex gap-2" >
0 commit comments