🎨 style: set default font weight to normal for heading component
This commit is contained in:
parent
2457d5a095
commit
30357672ef
@ -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>;
|
||||||
|
@ -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 */}
|
||||||
|
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user