refactor(font): use local woff2
This commit is contained in:
parent
42951e4d01
commit
3b1fcf5663
9 changed files with 21 additions and 24 deletions
|
@ -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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue