Skip to content

Commit

Permalink
feat: some small changes for colors and font (Longhorn-Developers#201)
Browse files Browse the repository at this point in the history
* fix: font weight added

* fix: change color hex

* fix: change color again

* fix: text-ut-burntorange

* fix: importance (tailwind wise)
  • Loading branch information
DereC4 authored Mar 30, 2024
1 parent a3f5e0f commit bae1da4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/shared/types/ThemeColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const colors = {
red: '#B91C1C', // Not sure if this should be here, but it's used for remove course, and add course is ut-green
},
theme: {
red: '#AF2E2D',
red: '#BF0000',
black: '#1A2024',
},
} as const satisfies Record<string, Record<string, string>>;
Expand Down
2 changes: 1 addition & 1 deletion src/views/components/PopupMain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default function PopupMain(): JSX.Element {
<CourseStatus status='CANCELLED' size='mini' />
</div>
<div className='inline-flex items-center self-center gap-1'>
<Text variant='mini' className='text-ut-gray'>
<Text variant='mini' className='text-ut-gray !font-normal'>
DATA LAST UPDATED: {getUpdatedAtDateTimeString(activeSchedule.updatedAt)}
</Text>
<button
Expand Down
2 changes: 1 addition & 1 deletion src/views/components/calendar/CalenderHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function CalendarHeader({ onSidebarToggle }: CalendarHeaderProps)
totalCourses={activeSchedule.courses.length}
/>
<div className='flex items-center gap-1 screenshot:hidden'>
<Text variant='mini' className='text-ut-gray'>
<Text variant='mini' className='text-ut-gray font-normal'>
DATA LAST UPDATED: {getUpdatedAtDateTimeString(activeSchedule.updatedAt)}
</Text>
<button className='inline-block h-4 w-4 bg-transparent p-0 btn'>
Expand Down
4 changes: 2 additions & 2 deletions src/views/components/common/LogoIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function SmallLogo({ className }: { className?: string }): JSX.Element {
<LogoIcon />
<div className='flex flex-col text-lg font-medium leading-[1em]'>
<p className='text-nowrap text-ut-burntorange'>UT Registration</p>
<p className='text-ut-orange'>
<p className='text-ut-burntorange'>
Plus{' '}
<span className='text-xs'>
{import.meta.env.VITE_BETA_BUILD ? `(${import.meta.env.VITE_PACKAGE_VERSION})` : ''}
Expand All @@ -53,7 +53,7 @@ export function LargeLogo({ className }: { className?: string }): JSX.Element {
<LogoIcon className='h-12 w-12' />
<div className='hidden flex-col text-[1.35rem] font-medium leading-[1em] md:flex screenshot:flex'>
<p className='text-nowrap text-ut-burntorange'>UT Registration</p>
<p className='text-ut-orange'>
<p className='text-ut-burntorange'>
Plus{' '}
<span className='text-sm'>
{import.meta.env.VITE_BETA_BUILD ? `(${import.meta.env.VITE_PACKAGE_VERSION})` : ''}
Expand Down

0 comments on commit bae1da4

Please sign in to comment.