chore: Modify the schedule creation prompt (#550)

* chore: modify the schedule creation prompt

* chore: changed border color to offwhite

---------

Co-authored-by: Samuel Gunter <29130894+Samathingamajig@users.noreply.github.com>
This commit is contained in:
ishita778
2025-03-08 21:01:46 -06:00
committed by GitHub
parent f036d409e6
commit b1e98ca9d7
2 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ export function usePrompt(): (info: PromptInfo, options?: DialogOptions) => void
{info.description}
</Text>
),
className: 'max-w-[400px] flex flex-col gap-2.5 p-6.25',
className: 'max-w-[415px] flex flex-col gap-2.5 p-6.25 border border-ut-offwhite/50',
},
options
);

View File

@@ -21,19 +21,19 @@ export function useEnforceScheduleLimit(): () => boolean {
return useCallback(() => {
if (schedules.length >= SCHEDULE_LIMIT) {
showDialog({
title: `You have ${SCHEDULE_LIMIT} active schedules!`,
title: `You have too many schedules!`,
description: (
<>
To encourage organization,{' '}
<span className='text-ut-burntorange'>please consider removing some unused schedules</span> you
<span className='text-ut-burntorange'>please consider deleting any unused schedules</span> you
may have.
</>
),
buttons: close => (
<Button variant='filled' color='ut-burntorange' onClick={close}>
I Understand
I understand
</Button>
),
});