feat: use class for barlow font with fallbacks
This commit is contained in:
@@ -23,7 +23,7 @@ import { scrollBreadcrumbsStore } from '../../model';
|
|||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="max-w-8xl mx-auto px-4 sm:px-6 h-full flex items-center gap-2 sm:gap-4">
|
<div class="max-w-8xl mx-auto px-4 sm:px-6 h-full flex items-center gap-2 sm:gap-4">
|
||||||
<h1 class={cn('font-[Barlow] font-extralight text-sm sm:text-base')}>
|
<h1 class={cn('barlow font-extralight text-sm sm:text-base')}>
|
||||||
GLYPHDIFF
|
GLYPHDIFF
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ interface Props {
|
|||||||
|
|
||||||
const { class: className }: Props = $props();
|
const { class: className }: Props = $props();
|
||||||
|
|
||||||
const baseClasses = 'font-[Barlow] font-thin text-5xl sm:text-6xl md:text-7xl lg:text-8xl';
|
const baseClasses = 'barlow font-thin text-5xl sm:text-6xl md:text-7xl lg:text-8xl';
|
||||||
|
|
||||||
const title = 'GLYPHDIFF';
|
const title = 'GLYPHDIFF';
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user