feat: proper injected styles (#164)

This commit is contained in:
Razboy20
2024-03-14 00:10:41 -05:00
committed by GitHub
parent 442be8cbee
commit e919e96c53
15 changed files with 527 additions and 127 deletions

View File

@@ -69,7 +69,7 @@ export default function CalendarCourseCell({
>
<Text
variant='h1-course'
className={clsx('leading-tight truncate', {
className={clsx('leading-tight! truncate', {
'-my-0.8': timeAndLocation,
'text-wrap': !timeAndLocation,
})}

View File

@@ -87,7 +87,6 @@
margin-bottom: 0;
/* Type scale/small */
font-family: 'Roboto Flex';
font-size: 14.22px;
font-style: normal;
font-weight: 500;

View File

@@ -40,8 +40,8 @@ export default function CalendarHeader(): JSX.Element {
<div className='flex items-center gap-2'>
<LogoIcon />
<div className='flex flex-col whitespace-nowrap'>
<Text className='text-lg text-ut-burntorange font-medium'>UT Registration</Text>
<Text className='text-lg text-ut-orange font-medium'>Plus</Text>
<Text className='text-lg! text-ut-burntorange font-medium!'>UT Registration</Text>
<Text className='text-lg! text-ut-orange font-medium!'>Plus</Text>
</div>
</div>
</div>
@@ -52,7 +52,7 @@ export default function CalendarHeader(): JSX.Element {
totalHours={activeSchedule.hours}
totalCourses={activeSchedule.courses.length}
/>
<Text variant='h4' className='text-xs text-gray font-medium leading-normal'>
<Text variant='h4' className='text-xs! text-gray font-medium! leading-normal!'>
LAST UPDATED: {getUpdatedAtDateTimeString(activeSchedule.updatedAt)}
</Text>
</div>