🎨 style: set default font weight to normal for heading component

This commit is contained in:
Wahyu Kurniawan 2024-02-28 11:04:45 +07:00
parent 2457d5a095
commit 30357672ef
No known key found for this signature in database
GPG Key ID: 040A1549143A8E33
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import { tv, type VariantProps } from 'tailwind-variants'; import { tv, type VariantProps } from 'tailwind-variants';
export const headingTheme = tv({ export const headingTheme = tv({
base: ['text-elements-high-em', 'font-display', 'font-semibold'], base: ['text-elements-high-em', 'font-display', 'font-normal'],
}); });
export type HeadingVariants = VariantProps<typeof headingTheme>; export type HeadingVariants = VariantProps<typeof headingTheme>;

View File

@ -52,7 +52,7 @@ export const Sidebar = () => {
alt="Snowball Logo" alt="Snowball Logo"
className="h-10 w-10 rounded-lg" className="h-10 w-10 rounded-lg"
/> />
<Heading className="text-[24px]">Snowball</Heading> <Heading className="text-[24px] font-semibold">Snowball</Heading>
</div> </div>
</Link> </Link>
{/* Switch organization */} {/* Switch organization */}

View File

@ -31,7 +31,7 @@ const Projects = () => {
<div className="flex items-center"> <div className="flex items-center">
<div className="grow"> <div className="grow">
<div className="flex gap-4 items-center"> <div className="flex gap-4 items-center">
<Heading as="h2" className="font-normal text-[24px]"> <Heading as="h2" className="text-[24px]">
Projects Projects
</Heading> </Heading>
<Badge className="bg-base-bg-alternate text-elements-mid-em h-7 w-7"> <Badge className="bg-base-bg-alternate text-elements-mid-em h-7 w-7">