refactor(font): use local woff2

This commit is contained in:
enscribe 2024-09-18 17:52:04 -07:00
parent 42951e4d01
commit 3b1fcf5663
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
9 changed files with 21 additions and 24 deletions

View file

@ -2,9 +2,6 @@
import '../styles/global.css'
import '../styles/katex.css'
import '@fontsource/geist-mono'
import '@fontsource/geist-sans'
import { ViewTransitions } from 'astro:transitions'
interface Props {

View file

@ -57,7 +57,7 @@ function buildToc(headings: Heading[]): Heading[] {
>
<div class="mr-6 flex justify-end">
<ul
class="max-h-[calc(100vh-8rem)] space-y-2 overflow-y-auto"
class="max-h-[calc(100vh-8rem)] flex flex-col gap-y-2 overflow-y-auto mr-6 justify-end"
id="toc-container"
>
<li>

View file

@ -8,11 +8,11 @@ const buttonVariants = cva(
{
variants: {
variant: {
default: 'bg-primary text-primary-foreground hover:bg-primary/90',
default: 'bg-primary text-primary-foreground hover:bg-secondary/50',
destructive:
'bg-destructive text-destructive-foreground over:bg-destructive/90',
'bg-destructive text-destructive-foreground over:bg-destructive/50',
outline:
'border border-input bg-background hover:bg-accent hover:text-accent-foreground',
'border border-input bg-background hover:bg-secondary/50',
secondary:
'bg-secondary text-secondary-foreground hover:bg-secondary/80',
ghost: 'hover:bg-accent hover:text-accent-foreground',