diff --git a/apps/admin/app/(all)/(dashboard)/email/page.tsx b/apps/admin/app/(all)/(dashboard)/email/page.tsx index 5dbd9adae..f376cffc4 100644 --- a/apps/admin/app/(all)/(dashboard)/email/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/email/page.tsx @@ -60,7 +60,7 @@ const InstanceEmailPage = observer(function InstanceEmailPage(_props: Route.Comp Plane can send useful emails to you and your users from your own instance without talking to the Internet.
Set it up below and please test your settings before you save them.  - Misconfigs can lead to email bounces and errors. + Misconfigs can lead to email bounces and errors.
), diff --git a/apps/admin/app/(all)/(dashboard)/workspace/create/form.tsx b/apps/admin/app/(all)/(dashboard)/workspace/create/form.tsx index 334e960e9..270a81fee 100644 --- a/apps/admin/app/(all)/(dashboard)/workspace/create/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/workspace/create/form.tsx @@ -118,7 +118,7 @@ export function WorkspaceCreateForm() { /> )} /> - {errors?.name?.message} + {errors?.name?.message}
@@ -153,11 +153,11 @@ export function WorkspaceCreateForm() { )} />
- {slugError &&

This URL is taken. Try something else.

} + {slugError &&

This URL is taken. Try something else.

} {invalidSlug && ( -

{`URLs can contain only ( - ), ( _ ) and alphanumeric characters.`}

+

{`URLs can contain only ( - ), ( _ ) and alphanumeric characters.`}

)} - {errors.slug && {errors.slug.message}} + {errors.slug && {errors.slug.message}}

How many people will use this workspace?

@@ -187,7 +187,7 @@ export function WorkspaceCreateForm() { )} /> {errors.organization_size && ( - {errors.organization_size.message} + {errors.organization_size.message} )}
diff --git a/apps/admin/app/(all)/(home)/sign-in-form.tsx b/apps/admin/app/(all)/(home)/sign-in-form.tsx index 6ac660544..cd40a4c77 100644 --- a/apps/admin/app/(all)/(home)/sign-in-form.tsx +++ b/apps/admin/app/(all)/(home)/sign-in-form.tsx @@ -129,7 +129,7 @@ export function InstanceSignInForm() {
{type === "error" ? ( - ) : ( -
-

{message}

+

+ {message} +

diff --git a/apps/admin/core/components/instance/setup-form.tsx b/apps/admin/core/components/instance/setup-form.tsx index 4d98885e5..f463dfc59 100644 --- a/apps/admin/core/components/instance/setup-form.tsx +++ b/apps/admin/core/components/instance/setup-form.tsx @@ -157,7 +157,7 @@ export function InstanceSetupForm() {
{errorData.type && errorData.type === EErrorCodes.INVALID_EMAIL && errorData.message && ( -

{errorData.message}

+

{errorData.message}

)}
{errorData.type && errorData.type === EErrorCodes.INVALID_PASSWORD && errorData.message && ( -

{errorData.message}

+

{errorData.message}

)}
{!!formData.confirm_password && formData.password !== formData.confirm_password && - renderPasswordMatchError && Passwords don{"'"}t match} + renderPasswordMatchError && ( + Passwords don{"'"}t match + )}
diff --git a/apps/space/core/components/account/auth-forms/email.tsx b/apps/space/core/components/account/auth-forms/email.tsx index 46ecea0f0..63c3c6bcc 100644 --- a/apps/space/core/components/account/auth-forms/email.tsx +++ b/apps/space/core/components/account/auth-forms/email.tsx @@ -52,7 +52,7 @@ export const AuthEmailForm = observer(function AuthEmailForm(props: TAuthEmailFo
{ setIsFocused(true); @@ -68,7 +68,7 @@ export const AuthEmailForm = observer(function AuthEmailForm(props: TAuthEmailFo value={email} onChange={(e) => setEmail(e.target.value)} placeholder="name@company.com" - className={`disable-autofill-style h-10 w-full placeholder:text-placeholder autofill:bg-red-500 border-0 focus:bg-none active:bg-transparent`} + className={`disable-autofill-style h-10 w-full placeholder:text-placeholder autofill:bg-danger-primary border-0 focus:bg-none active:bg-transparent`} autoComplete="on" autoFocus ref={inputRef} @@ -88,7 +88,7 @@ export const AuthEmailForm = observer(function AuthEmailForm(props: TAuthEmailFo )}
{emailError?.email && !isFocused && ( -

+

{emailError.email}

diff --git a/apps/space/core/components/account/auth-forms/password.tsx b/apps/space/core/components/account/auth-forms/password.tsx index 7d265cee0..45426d4d9 100644 --- a/apps/space/core/components/account/auth-forms/password.tsx +++ b/apps/space/core/components/account/auth-forms/password.tsx @@ -201,7 +201,7 @@ export const AuthPasswordForm = observer(function AuthPasswordForm(props: Props)
{!!passwordFormData.confirm_password && passwordFormData.password !== passwordFormData.confirm_password && - renderPasswordMatchError && Passwords don{"'"}t match} + renderPasswordMatchError && Passwords don{"'"}t match}
)} diff --git a/apps/space/core/components/account/auth-forms/unique-code.tsx b/apps/space/core/components/account/auth-forms/unique-code.tsx index 7e7543e56..d04984291 100644 --- a/apps/space/core/components/account/auth-forms/unique-code.tsx +++ b/apps/space/core/components/account/auth-forms/unique-code.tsx @@ -116,7 +116,7 @@ export function AuthUniqueCodeForm(props: TAuthUniqueCodeForm) { autoFocus />
-

+

Paste the code sent to your email

diff --git a/apps/space/core/components/issues/issue-layouts/properties/due-date.tsx b/apps/space/core/components/issues/issue-layouts/properties/due-date.tsx index 07bb29ad6..1f6ddb34a 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/due-date.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/due-date.tsx @@ -27,7 +27,7 @@ export const IssueBlockDate = observer(function IssueBlockDate(props: Props) {
diff --git a/apps/space/core/components/issues/navbar/user-avatar.tsx b/apps/space/core/components/issues/navbar/user-avatar.tsx index 7cbdc6a88..59c9fbcb4 100644 --- a/apps/space/core/components/issues/navbar/user-avatar.tsx +++ b/apps/space/core/components/issues/navbar/user-avatar.tsx @@ -100,7 +100,7 @@ export const UserAvatar = observer(function UserAvatar() { type="submit" className="flex items-center gap-2 rounded-sm p-2 whitespace-nowrap hover:bg-layer-transparent-hover text-13 min-w-36 cursor-pointer" > - +
Sign out
diff --git a/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx b/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx index b6849e2df..65606ad6b 100644 --- a/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx +++ b/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx @@ -132,16 +132,22 @@ export const CommentCard = observer(function CommentCard(props: Props) {
diff --git a/apps/space/core/components/issues/peek-overview/issue-properties.tsx b/apps/space/core/components/issues/peek-overview/issue-properties.tsx index 0b73eed7b..5e2ea10d0 100644 --- a/apps/space/core/components/issues/peek-overview/issue-properties.tsx +++ b/apps/space/core/components/issues/peek-overview/issue-properties.tsx @@ -114,7 +114,7 @@ export const PeekOverviewIssueProperties = observer(function PeekOverviewIssuePr {issueDetails.target_date ? (
diff --git a/apps/space/core/components/issues/peek-overview/layout.tsx b/apps/space/core/components/issues/peek-overview/layout.tsx index d8b5a29ce..3d2930e36 100644 --- a/apps/space/core/components/issues/peek-overview/layout.tsx +++ b/apps/space/core/components/issues/peek-overview/layout.tsx @@ -85,7 +85,7 @@ export const IssuePeekOverview = observer(function IssuePeekOverview(props: TIss leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
)}
- {errors.old_password && {errors.old_password.message}} + {errors.old_password && ( + {errors.old_password.message} + )}
)}
@@ -199,7 +201,9 @@ function SecurityPage() {
{passwordSupport} {isNewPasswordSameAsOldPassword && !isPasswordInputFocused && ( - {t("new_password_must_be_different_from_old_password")} + + {t("new_password_must_be_different_from_old_password")} + )}
@@ -238,7 +242,7 @@ function SecurityPage() { )}
{!!confirmPassword && password !== confirmPassword && renderPasswordMatchError && ( - {t("auth.common.password.errors.match")} + {t("auth.common.password.errors.match")} )}
diff --git a/apps/web/app/(all)/profile/security/page.tsx b/apps/web/app/(all)/profile/security/page.tsx index 99f19bce8..aad3001fa 100644 --- a/apps/web/app/(all)/profile/security/page.tsx +++ b/apps/web/app/(all)/profile/security/page.tsx @@ -157,7 +157,9 @@ function SecurityPage() { /> )}
- {errors.old_password && {errors.old_password.message}} + {errors.old_password && ( + {errors.old_password.message} + )}
)}
@@ -197,7 +199,9 @@ function SecurityPage() {
{passwordSupport} {isNewPasswordSameAsOldPassword && !isPasswordInputFocused && ( - {t("new_password_must_be_different_from_old_password")} + + {t("new_password_must_be_different_from_old_password")} + )}
@@ -236,7 +240,7 @@ function SecurityPage() { )}
{!!confirmPassword && password !== confirmPassword && renderPasswordMatchError && ( - {t("auth.common.password.errors.match")} + {t("auth.common.password.errors.match")} )} diff --git a/apps/web/app/(all)/profile/sidebar.tsx b/apps/web/app/(all)/profile/sidebar.tsx index daaad3d2e..c4ded1df2 100644 --- a/apps/web/app/(all)/profile/sidebar.tsx +++ b/apps/web/app/(all)/profile/sidebar.tsx @@ -249,7 +249,7 @@ export const ProfileLayoutSidebar = observer(function ProfileLayoutSidebar() {
{token.label}
{token.is_active ? "Active" : "Expired"} diff --git a/apps/web/core/components/automation/auto-close-automation.tsx b/apps/web/core/components/automation/auto-close-automation.tsx index 54072fd89..c808e064d 100644 --- a/apps/web/core/components/automation/auto-close-automation.tsx +++ b/apps/web/core/components/automation/auto-close-automation.tsx @@ -94,7 +94,7 @@ export const AutoCloseAutomation = observer(function AutoCloseAutomation(props:
- +

{t("project_settings.automations.auto-close.title")}

diff --git a/apps/web/core/components/automation/select-month-modal.tsx b/apps/web/core/components/automation/select-month-modal.tsx index db7a2c5b8..f1459c107 100644 --- a/apps/web/core/components/automation/select-month-modal.tsx +++ b/apps/web/core/components/automation/select-month-modal.tsx @@ -76,7 +76,7 @@ export function SelectMonthModal({ type, initialValues, isOpen, handleClose, han /> {errors.close_in && ( - Select a month between 1 and 12. + Select a month between 1 and 12. )} ) : ( @@ -109,7 +109,7 @@ export function SelectMonthModal({ type, initialValues, isOpen, handleClose, han )} /> {errors.archive_in && ( - Select a month between 1 and 12. + Select a month between 1 and 12. )} )} diff --git a/apps/web/core/components/comments/card/edit-form.tsx b/apps/web/core/components/comments/card/edit-form.tsx index 8bd761d88..bff2ef528 100644 --- a/apps/web/core/components/comments/card/edit-form.tsx +++ b/apps/web/core/components/comments/card/edit-form.tsx @@ -114,14 +114,14 @@ export const CommentCardEditForm = observer(function CommentCardEditForm(props: className={cn( "group rounded-lg border size-7 flex items-center justify-center shadow-md duration-300", isDisabled - ? "cursor-not-allowed border-green-500/50 bg-green-500/10" - : "border-green-500 bg-green-500/20 hover:bg-green-500" + ? "cursor-not-allowed border-success-strong/50 bg-success-primary" + : "border-success-strong bg-success-primary hover:bg-green-500" )} > @@ -132,8 +132,8 @@ export const CommentCardEditForm = observer(function CommentCardEditForm(props: className={cn( "group rounded-lg border size-7 flex items-center justify-center shadow-md duration-300", isSubmitting - ? "cursor-not-allowed border-red-500/50 bg-red-500/10" - : "border-red-500 bg-red-500/20 hover:bg-red-500" + ? "cursor-not-allowed border-danger-strong/50 bg-danger-primary" + : "border-danger-strong bg-danger-primary hover:bg-red-500" )} onClick={() => { setIsEditing(false); @@ -143,7 +143,7 @@ export const CommentCardEditForm = observer(function CommentCardEditForm(props: diff --git a/apps/web/core/components/core/image-picker-popover.tsx b/apps/web/core/components/core/image-picker-popover.tsx index e4f3dedf0..a1b21ddd0 100644 --- a/apps/web/core/components/core/image-picker-popover.tsx +++ b/apps/web/core/components/core/image-picker-popover.tsx @@ -331,7 +331,7 @@ export const ImagePickerPopover = observer(function ImagePickerPopover(props: Pr
{fileRejections.length > 0 && ( -

+

{fileRejections[0].errors[0].code === "file-too-large" ? "The image size cannot exceed 5 MB." : "Please upload a file in a valid format."} diff --git a/apps/web/core/components/core/modals/change-email-modal.tsx b/apps/web/core/components/core/modals/change-email-modal.tsx index 46d79e3a5..8917d0786 100644 --- a/apps/web/core/components/core/modals/change-email-modal.tsx +++ b/apps/web/core/components/core/modals/change-email-modal.tsx @@ -154,12 +154,15 @@ export const ChangeEmailModal = observer(function ChangeEmailModal(props: Props) ref={ref} hasError={Boolean(errors.email)} placeholder={changeEmailT("form.email.placeholder")} - className={cn({ "border-red-500": errors.email }, { "cursor-not-allowed !bg-surface-2": secondStep })} + className={cn( + { "border-danger-strong": errors.email }, + { "cursor-not-allowed !bg-surface-2": secondStep } + )} disabled={secondStep} /> )} /> - {errors?.email && {errors?.email?.message}} + {errors?.email && {errors?.email?.message}}

{secondStep && ( @@ -177,15 +180,15 @@ export const ChangeEmailModal = observer(function ChangeEmailModal(props: Props) onChange={onChange} ref={ref} placeholder={changeEmailT("form.code.placeholder")} - className={cn({ "border-red-500": errors.code })} + className={cn({ "border-danger-strong": errors.code })} autoFocus /> )} /> {errors?.code ? ( - {errors?.code?.message} + {errors?.code?.message} ) : ( - {changeEmailT("form.code.helper_text")} + {changeEmailT("form.code.helper_text")} )}
)} diff --git a/apps/web/core/components/core/modals/gpt-assistant-popover.tsx b/apps/web/core/components/core/modals/gpt-assistant-popover.tsx index df68c08aa..0e64a12c5 100644 --- a/apps/web/core/components/core/modals/gpt-assistant-popover.tsx +++ b/apps/web/core/components/core/modals/gpt-assistant-popover.tsx @@ -244,7 +244,7 @@ export function GptAssistantPopover(props: Props) { )} {invalidResponse && ( -
+
No response could be generated. This may be due to insufficient content or task information. Please try again.
diff --git a/apps/web/core/components/core/modals/user-image-upload-modal.tsx b/apps/web/core/components/core/modals/user-image-upload-modal.tsx index 899992107..72f4f18d9 100644 --- a/apps/web/core/components/core/modals/user-image-upload-modal.tsx +++ b/apps/web/core/components/core/modals/user-image-upload-modal.tsx @@ -128,7 +128,7 @@ export const UserImageUploadModal = observer(function UserImageUploadModal(props
{fileRejections.length > 0 && ( -

+

{fileRejections[0].errors[0].code === "file-too-large" ? "The image size cannot exceed 5 MB." : "Please upload a file in a valid format."} diff --git a/apps/web/core/components/core/modals/workspace-image-upload-modal.tsx b/apps/web/core/components/core/modals/workspace-image-upload-modal.tsx index 081840693..6915bfd2f 100644 --- a/apps/web/core/components/core/modals/workspace-image-upload-modal.tsx +++ b/apps/web/core/components/core/modals/workspace-image-upload-modal.tsx @@ -141,7 +141,7 @@ export const WorkspaceImageUploadModal = observer(function WorkspaceImageUploadM {fileRejections.length > 0 && ( -

+

{fileRejections[0].errors[0].code === "file-too-large" ? "The image size cannot exceed 5 MB." : "Please upload a file in a valid format."} diff --git a/apps/web/core/components/cycles/form.tsx b/apps/web/core/components/cycles/form.tsx index 289bfbf8a..a046dd7a2 100644 --- a/apps/web/core/components/cycles/form.tsx +++ b/apps/web/core/components/cycles/form.tsx @@ -121,7 +121,7 @@ export function CycleForm(props: Props) { /> )} /> - {errors?.name?.message} + {errors?.name?.message}

- + )} diff --git a/apps/web/core/components/estimates/create/modal.tsx b/apps/web/core/components/estimates/create/modal.tsx index 830c35fad..54392b5e1 100644 --- a/apps/web/core/components/estimates/create/modal.tsx +++ b/apps/web/core/components/estimates/create/modal.tsx @@ -187,7 +187,7 @@ export const CreateEstimateModal = observer(function CreateEstimateModal(props: /> )} {/* {isEstimatePointError && ( -
+
Estimate points can't be empty. Enter a value in each field or remove those you don't have values for.
diff --git a/apps/web/core/components/estimates/points/create.tsx b/apps/web/core/components/estimates/points/create.tsx index 0072169ee..1f649c988 100644 --- a/apps/web/core/components/estimates/points/create.tsx +++ b/apps/web/core/components/estimates/points/create.tsx @@ -171,7 +171,7 @@ export const EstimatePointCreate = observer(function EstimatePointCreate(props:
{estimatePointError?.message && ( -
+
@@ -191,7 +191,7 @@ export const EstimatePointCreate = observer(function EstimatePointCreate(props: {estimateInputValue && estimateInputValue.length > 0 && (
); diff --git a/apps/web/core/components/global/timezone-select.tsx b/apps/web/core/components/global/timezone-select.tsx index 61688c841..59f3285e7 100644 --- a/apps/web/core/components/global/timezone-select.tsx +++ b/apps/web/core/components/global/timezone-select.tsx @@ -39,7 +39,7 @@ export const TimezoneSelect = observer(function TimezoneSelect(props: TTimezoneS options={isDisabled || disabled ? [] : timezones} onChange={onChange} buttonClassName={cn(buttonClassName, { - "border-red-500": error, + "border-danger-strong": error, })} className={cn("rounded-md border-[0.5px] !border-subtle", className)} optionsClassName={cn("w-72", optionsClassName)} diff --git a/apps/web/core/components/home/root.tsx b/apps/web/core/components/home/root.tsx index d38e71410..2712c3ac8 100644 --- a/apps/web/core/components/home/root.tsx +++ b/apps/web/core/components/home/root.tsx @@ -52,7 +52,7 @@ export const WorkspaceHomeView = observer(function WorkspaceHomeView() { return ( <> {currentUserProfile && !currentUserProfile.is_tour_completed && ( -
+
)} diff --git a/apps/web/core/components/home/widgets/links/create-update-link-modal.tsx b/apps/web/core/components/home/widgets/links/create-update-link-modal.tsx index 3310dd9d7..f412b6e75 100644 --- a/apps/web/core/components/home/widgets/links/create-update-link-modal.tsx +++ b/apps/web/core/components/home/widgets/links/create-update-link-modal.tsx @@ -94,7 +94,7 @@ export const LinkCreateUpdateModal = observer(function LinkCreateUpdateModal(pro /> )} /> - {errors.url && {t("link.modal.url.required")}} + {errors.url && {t("link.modal.url.required")}}
diff --git a/apps/web/core/components/integration/jira/root.tsx b/apps/web/core/components/integration/jira/root.tsx index d506ae0ea..79b2457f0 100644 --- a/apps/web/core/components/integration/jira/root.tsx +++ b/apps/web/core/components/integration/jira/root.tsx @@ -116,12 +116,12 @@ export function JiraImporterRoot() { index > activeIntegrationState() + 1 || Boolean(index === activeIntegrationState() + 1 && disableTopBarAfter) } - className={`flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full border border-subtle ${ + className={`flex h-10 w-10 shrink-0 items-center justify-center rounded-full border border-subtle ${ index <= activeIntegrationState() - ? `border-accent-strong bg-accent-primary ${ + ? `border-accent-strong ${ index === activeIntegrationState() - ? "border-opacity-100 bg-opacity-100" - : "border-opacity-80 bg-opacity-80" + ? "border-opacity-100 bg-accent-primary" + : "border-opacity-80 bg-accent-primary/80" }` : "border-subtle" }`} diff --git a/apps/web/core/components/integration/single-import.tsx b/apps/web/core/components/integration/single-import.tsx index ec9e10418..ec127adec 100644 --- a/apps/web/core/components/integration/single-import.tsx +++ b/apps/web/core/components/integration/single-import.tsx @@ -35,11 +35,11 @@ export const SingleImport = observer(function SingleImport({ service, refreshing diff --git a/apps/web/core/components/integration/single-integration-card.tsx b/apps/web/core/components/integration/single-integration-card.tsx index 4834217dc..926625821 100644 --- a/apps/web/core/components/integration/single-integration-card.tsx +++ b/apps/web/core/components/integration/single-integration-card.tsx @@ -114,7 +114,7 @@ export const SingleIntegrationCard = observer(function SingleIntegrationCard({ i

{integration.title} {workspaceIntegrations - ? isInstalled && + ? isInstalled && : null}

diff --git a/apps/web/core/components/issues/attachment/attachment-upload.tsx b/apps/web/core/components/issues/attachment/attachment-upload.tsx index 59af790db..9ecb101b4 100644 --- a/apps/web/core/components/issues/attachment/attachment-upload.tsx +++ b/apps/web/core/components/issues/attachment/attachment-upload.tsx @@ -47,14 +47,14 @@ export const IssueAttachmentUpload = observer(function IssueAttachmentUpload(pro {...getRootProps()} className={`flex h-[60px] items-center justify-center rounded-md border-2 border-dashed bg-accent-primary/5 px-4 text-11 text-accent-primary ${ isDragActive ? "border-accent-strong bg-accent-primary/10" : "border-subtle" - } ${isDragReject ? "bg-red-100" : ""} ${disabled ? "cursor-not-allowed" : "cursor-pointer"}`} + } ${isDragReject ? "bg-danger-subtle" : ""} ${disabled ? "cursor-not-allowed" : "cursor-pointer"}`} > {isDragActive ? (

Drop here...

) : fileError ? ( -

{fileError}

+

{fileError}

) : isLoading ? (

Uploading...

) : ( diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx index 15eb06814..921b8daba 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx @@ -143,7 +143,7 @@ export const SubIssuesListItemProperties = observer(function SubIssuesListItemPr isClearable mergeDates buttonVariant={issue.start_date || issue.target_date ? "border-with-text" : "border-without-text"} - buttonClassName={shouldHighlight ? "text-red-500" : ""} + buttonClassName={shouldHighlight ? "text-danger-primary" : ""} disabled={!canEdit} showTooltip customTooltipHeading="Date Range" @@ -187,7 +187,7 @@ export const SubIssuesListItemProperties = observer(function SubIssuesListItemPr placeholder={t("common.order_by.due_date")} icon={} buttonVariant={issue.target_date ? "border-with-text" : "border-without-text"} - buttonClassName={shouldHighlight ? "text-red-500" : ""} + buttonClassName={shouldHighlight ? "text-danger-primary" : ""} clearIconClassName="text-primary" optionsClassName="z-30" disabled={!canEdit} diff --git a/apps/web/core/components/issues/issue-detail/identifier-text.tsx b/apps/web/core/components/issues/issue-detail/identifier-text.tsx index 02723e927..4c1282079 100644 --- a/apps/web/core/components/issues/issue-detail/identifier-text.tsx +++ b/apps/web/core/components/issues/issue-detail/identifier-text.tsx @@ -16,7 +16,7 @@ const VARIANT_MAP: Record = { tertiary: "text-tertiary", primary: "text-primary", "primary-subtle": "text-primary/80", - success: "text-success", + success: "text-success-primary", }; export function IdentifierText(props: TIdentifierTextProps) { diff --git a/apps/web/core/components/issues/issue-detail/label/label-list-item.tsx b/apps/web/core/components/issues/issue-detail/label/label-list-item.tsx index 0d2bdbc9b..90f457e28 100644 --- a/apps/web/core/components/issues/issue-detail/label/label-list-item.tsx +++ b/apps/web/core/components/issues/issue-detail/label/label-list-item.tsx @@ -34,7 +34,7 @@ export const LabelListItem = observer(function LabelListItem(props: TLabelListIt ); }); diff --git a/apps/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx b/apps/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx index 14113d311..b68eb6ca3 100644 --- a/apps/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx +++ b/apps/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx @@ -100,7 +100,9 @@ export const IssueLinkCreateUpdateModal = observer(function IssueLinkCreateUpdat /> )} /> - {errors.url && {t("common.url_is_invalid")}} + {errors.url && ( + {t("common.url_is_invalid")} + )}
+
{value ? ( ) : ( - + )} {(selectedValue && t(selectedValue?.i18n_label)) ?? ( - Status + Status )}
} diff --git a/apps/web/core/components/navigation/customize-navigation-dialog.tsx b/apps/web/core/components/navigation/customize-navigation-dialog.tsx index c453e9110..b2815c777 100644 --- a/apps/web/core/components/navigation/customize-navigation-dialog.tsx +++ b/apps/web/core/components/navigation/customize-navigation-dialog.tsx @@ -324,12 +324,12 @@ export const CustomizeNavigationDialog = observer(function CustomizeNavigationDi "text-secondary", parseInt(projectCountInput) >= 1 ? "border-strong focus:border-accent-strong focus:ring-1 focus:ring-accent-strong" - : "border-red-500 focus:border-red-500 focus:ring-1 focus:ring-red-500" + : "border-danger-strong focus:border-danger-strong focus:ring-1 focus:ring-danger-strong" )} />
{parseInt(projectCountInput) < 1 && projectCountInput !== "" && ( - Minimum value is 1 + Minimum value is 1 )}
diff --git a/apps/web/core/components/onboarding/create-workspace.tsx b/apps/web/core/components/onboarding/create-workspace.tsx index 37c1a1cc1..163c606cb 100644 --- a/apps/web/core/components/onboarding/create-workspace.tsx +++ b/apps/web/core/components/onboarding/create-workspace.tsx @@ -149,7 +149,7 @@ export const CreateWorkspace = observer(function CreateWorkspace(props: Props) {
)} /> - {errors.name && {errors.name.message}} + {errors.name && {errors.name.message}}
diff --git a/apps/web/core/components/onboarding/invite-members.tsx b/apps/web/core/components/onboarding/invite-members.tsx index d05ddc6cd..02abf4f75 100644 --- a/apps/web/core/components/onboarding/invite-members.tsx +++ b/apps/web/core/components/onboarding/invite-members.tsx @@ -250,7 +250,7 @@ const InviteMemberInput = observer(function InviteMemberInput(props: InviteMembe {email && !emailRegex.test(email) && (
🤥{" "} - That doesn{"'"}t look like an email address. + That doesn{"'"}t look like an email address.
)} diff --git a/apps/web/core/components/onboarding/profile-setup.tsx b/apps/web/core/components/onboarding/profile-setup.tsx index 6be30a456..95bc3c221 100644 --- a/apps/web/core/components/onboarding/profile-setup.tsx +++ b/apps/web/core/components/onboarding/profile-setup.tsx @@ -338,7 +338,7 @@ export const ProfileSetup = observer(function ProfileSetup(props: Props) {
@@ -490,7 +492,7 @@ export const ProfileSetup = observer(function ProfileSetup(props: Props) { )} /> {errors.confirm_password && ( - {errors.confirm_password.message} + {errors.confirm_password.message} )} @@ -503,7 +505,7 @@ export const ProfileSetup = observer(function ProfileSetup(props: Props) { <>
)} /> - {errors.role && {errors.role.message}} + {errors.role && {errors.role.message}}
)} /> - {errors.use_case && {errors.use_case.message}} + {errors.use_case && {errors.use_case.message}} )} diff --git a/apps/web/core/components/onboarding/steps/profile/root.tsx b/apps/web/core/components/onboarding/steps/profile/root.tsx index 0870d6367..a6530e47c 100644 --- a/apps/web/core/components/onboarding/steps/profile/root.tsx +++ b/apps/web/core/components/onboarding/steps/profile/root.tsx @@ -202,7 +202,7 @@ export const ProfileSetupStep = observer(function ProfileSetupStep({ handleStepC {/* Name Input */}
{/* setting up password for the first time */} diff --git a/apps/web/core/components/onboarding/steps/profile/set-password.tsx b/apps/web/core/components/onboarding/steps/profile/set-password.tsx index 12d395ef1..5087740fa 100644 --- a/apps/web/core/components/onboarding/steps/profile/set-password.tsx +++ b/apps/web/core/components/onboarding/steps/profile/set-password.tsx @@ -118,8 +118,8 @@ export function SetPasswordRoot({ onPasswordChange, onConfirmPasswordChange, dis placeholder="Confirm password" className="transition-all duration-200" /> - {hasPasswordMismatch &&

Passwords do not match

} - {isPasswordValid &&

✓ Passwords match

} + {hasPasswordMismatch &&

Passwords do not match

} + {isPasswordValid &&

✓ Passwords match

} diff --git a/apps/web/core/components/onboarding/steps/role/root.tsx b/apps/web/core/components/onboarding/steps/role/root.tsx index 7b3cbb347..14a282524 100644 --- a/apps/web/core/components/onboarding/steps/role/root.tsx +++ b/apps/web/core/components/onboarding/steps/role/root.tsx @@ -153,7 +153,7 @@ export const RoleSetupStep = observer(function RoleSetupStep({ handleStepChange )} /> - {errors.role && {errors.role.message}} + {errors.role && {errors.role.message}} {/* Action Buttons */}
diff --git a/apps/web/core/components/onboarding/steps/team/root.tsx b/apps/web/core/components/onboarding/steps/team/root.tsx index 346de5c74..8a6dc9205 100644 --- a/apps/web/core/components/onboarding/steps/team/root.tsx +++ b/apps/web/core/components/onboarding/steps/team/root.tsx @@ -251,7 +251,7 @@ const InviteMemberInput = observer(function InviteMemberInput(props: InviteMembe {email && !emailRegex.test(email) && (
🤥{" "} - That doesn{"'"}t look like an email address. + That doesn{"'"}t look like an email address.
)}
diff --git a/apps/web/core/components/onboarding/steps/usecase/root.tsx b/apps/web/core/components/onboarding/steps/usecase/root.tsx index d0af839b2..2d1a0c35c 100644 --- a/apps/web/core/components/onboarding/steps/usecase/root.tsx +++ b/apps/web/core/components/onboarding/steps/usecase/root.tsx @@ -155,7 +155,7 @@ export const UseCaseSetupStep = observer(function UseCaseSetupStep({ handleStepC )} /> - {errors.use_case && {errors.use_case.message}} + {errors.use_case && {errors.use_case.message}} {/* Action Buttons */} diff --git a/apps/web/core/components/onboarding/steps/workspace/create.tsx b/apps/web/core/components/onboarding/steps/workspace/create.tsx index b97698c41..53a5c454a 100644 --- a/apps/web/core/components/onboarding/steps/workspace/create.tsx +++ b/apps/web/core/components/onboarding/steps/workspace/create.tsx @@ -145,7 +145,7 @@ export const WorkspaceCreateStep = observer(function WorkspaceCreateStep({
)} /> - {errors.name && {errors.name.message}} + {errors.name && {errors.name.message}}
diff --git a/apps/web/core/components/onboarding/switch-account-dropdown.tsx b/apps/web/core/components/onboarding/switch-account-dropdown.tsx index 02f81aaab..5d395bce8 100644 --- a/apps/web/core/components/onboarding/switch-account-dropdown.tsx +++ b/apps/web/core/components/onboarding/switch-account-dropdown.tsx @@ -60,7 +60,7 @@ export const SwitchAccountDropdown = observer(function SwitchAccountDropdown(pro as="button" type="button" className={({ active }) => - cn("text-red-500 px-1 py-1.5 whitespace-nowrap text-left rounded-sm w-full", { + cn("text-danger-primary px-1 py-1.5 whitespace-nowrap text-left rounded-sm w-full", { "bg-layer-1": active, }) } diff --git a/apps/web/core/components/pages/editor/title.tsx b/apps/web/core/components/pages/editor/title.tsx index 9de765ffb..73c398d49 100644 --- a/apps/web/core/components/pages/editor/title.tsx +++ b/apps/web/core/components/pages/editor/title.tsx @@ -70,7 +70,7 @@ export const PageEditorTitle = observer(function PageEditorTitle(props: Props) { > 255, + "text-danger-primary": title && title.length > 255, })} > {title?.length} diff --git a/apps/web/core/components/pages/header/copy-link-control.tsx b/apps/web/core/components/pages/header/copy-link-control.tsx index 613ff5fd7..9a0234b7f 100644 --- a/apps/web/core/components/pages/header/copy-link-control.tsx +++ b/apps/web/core/components/pages/header/copy-link-control.tsx @@ -57,7 +57,7 @@ export const PageCopyLinkControl = observer(function PageCopyLinkControl({ page icon={isCopied ? Check : Link} onClick={handleCopy} aria-label={isCopied ? "Copied link" : "Copy link"} - className={cn(isCopied && "text-green-500")} + className={cn(isCopied && "text-success-primary")} /> ); diff --git a/apps/web/core/components/pages/header/favorite-control.tsx b/apps/web/core/components/pages/header/favorite-control.tsx index 1a7b2338d..ea5ea44c8 100644 --- a/apps/web/core/components/pages/header/favorite-control.tsx +++ b/apps/web/core/components/pages/header/favorite-control.tsx @@ -37,7 +37,9 @@ export const PageFavoriteControl = observer(function PageFavoriteControl({ page pageOperations.toggleFavorite(); }} aria-label={is_favorite ? "Remove favorite" : "Add to favorites"} - className={is_favorite ? "*:fill-(--color-label-yellow-icon) *:stroke-(--color-label-yellow-icon)" : ""} + className={ + is_favorite ? "[&_svg]:fill-(--color-label-yellow-icon) [&_svg]:stroke-(--color-label-yellow-icon)" : "" + } /> ); }); diff --git a/apps/web/core/components/pages/modals/page-form.tsx b/apps/web/core/components/pages/modals/page-form.tsx index 169a5cb30..8e18e7620 100644 --- a/apps/web/core/components/pages/modals/page-form.tsx +++ b/apps/web/core/components/pages/modals/page-form.tsx @@ -119,7 +119,9 @@ export function PageForm(props: Props) { autoFocus /> {isTitleLengthMoreThan255Character && ( - Max length of the name should be less than 255 characters + + Max length of the name should be less than 255 characters + )} diff --git a/apps/web/core/components/profile/form.tsx b/apps/web/core/components/profile/form.tsx index c0dd3c0c3..2a25b24e9 100644 --- a/apps/web/core/components/profile/form.tsx +++ b/apps/web/core/components/profile/form.tsx @@ -257,7 +257,7 @@ export const ProfileForm = observer(function ProfileForm(props: TProfileFormProp

{t("first_name")}  - * + *

)} /> - {errors.first_name && {errors.first_name.message}} + {errors.first_name && {errors.first_name.message}}

{t("last_name")}

@@ -308,7 +308,7 @@ export const ProfileForm = observer(function ProfileForm(props: TProfileFormProp

{t("display_name")}  - * + *

)} /> - {errors?.display_name && {errors?.display_name?.message}} + {errors?.display_name && ( + {errors?.display_name?.message} + )}

{t("auth.common.email.label")}  - * + *

{completedIssuePercentage}% diff --git a/apps/web/core/components/project-states/options/delete.tsx b/apps/web/core/components/project-states/options/delete.tsx index 27fab3f3f..dc554012b 100644 --- a/apps/web/core/components/project-states/options/delete.tsx +++ b/apps/web/core/components/project-states/options/delete.tsx @@ -95,7 +95,7 @@ export const StateDelete = observer(function StateDelete(props: TStateDelete) { type="button" className={cn( "flex-shrink-0 w-5 h-5 rounded-sm flex justify-center items-center overflow-hidden transition-colors cursor-pointer focus:outline-none", - isDeleteDisabled ? "bg-surface-2 text-secondary" : "text-red-500 hover:bg-layer-1" + isDeleteDisabled ? "bg-surface-2 text-secondary" : "text-danger-primary hover:bg-layer-1" )} disabled={isDeleteDisabled} onClick={() => setIsDeleteModal(true)} diff --git a/apps/web/core/components/project/confirm-project-member-remove.tsx b/apps/web/core/components/project/confirm-project-member-remove.tsx index e38787d2d..da06e7623 100644 --- a/apps/web/core/components/project/confirm-project-member-remove.tsx +++ b/apps/web/core/components/project/confirm-project-member-remove.tsx @@ -50,8 +50,8 @@ export const ConfirmProjectMemberRemove = observer(function ConfirmProjectMember
-
-
diff --git a/apps/web/core/components/project/leave-project-modal.tsx b/apps/web/core/components/project/leave-project-modal.tsx index d3de91c7f..19a6d22ee 100644 --- a/apps/web/core/components/project/leave-project-modal.tsx +++ b/apps/web/core/components/project/leave-project-modal.tsx @@ -110,8 +110,8 @@ export const LeaveProjectModal = observer(function LeaveProjectModal(props: ILea
- -