Files
accounted/components/extensions/general/CloudBackupWorkspace.tsx
T
Jakob Wennberg 314efe8b22 fix(design): stop synthesizing bold on Hedvig display headings (#1555)
* fix(design): stop synthesizing bold on Hedvig display headings

Hedvig Letters Serif ships weight 400 only, but the h1-h3 base rule
forced font-weight 500 and DialogTitle/SheetTitle stacked font-semibold
on top, so every display heading rendered browser-synthesized bold: the
smudged heavy look on dialog titles and page headings. Drop the base
rule to 400, remove the weight utilities from the title primitives, and
sweep the 41 files that hand-set font-medium/semibold/bold on serif
headings (a pattern design.md already forbids). Headings that opt into
font-sans keep their weight.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(design): drop empty className left by the weight sweep

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 11:27:25 +02:00

26 lines
983 B
TypeScript

'use client'
import type { WorkspaceComponentProps } from '@/lib/extensions/workspace-registry'
import { Button } from '@/components/ui/button'
import { Cloud, Settings } from 'lucide-react'
import Link from 'next/link'
export default function CloudBackupWorkspace(_props: WorkspaceComponentProps) {
return (
<div className="flex flex-col items-center justify-center py-16 text-center">
<Cloud className="h-12 w-12 text-muted-foreground/40 mb-4" />
<h3 className="text-lg text-foreground">Molnsynkronisering</h3>
<p className="text-sm text-muted-foreground mt-1 max-w-md">
Koppla ditt Google Drive- eller Dropbox-konto under Importera/Exportera för att
synka arkiv till din egen molnlagring.
</p>
<Button asChild variant="outline" className="mt-4">
<Link href="/import#cloud-backup">
<Settings className="mr-2 h-4 w-4" />
till säkerhetskopiering
</Link>
</Button>
</div>
)
}