/* * Theme "asf" - Andrea Slop Fotografie. * * Re-declares the admin design tokens only (colours, radius, fonts); no layout or component changes. * Colours are exactly those of the Andrea Slop Fotografie website (decision Q5 = B): no contrast * adjustment was made, so a few pairs may fall below WCAG AA - see the hand-back note. * * Fonts are self-hosted through the @fontsource packages (the admin CSP is font-src 'self'). * Selected at build time with VITE_THEME=asf. */ @import '@fontsource/jost/latin-400.css'; @import '@fontsource/jost/latin-500.css'; @import '@fontsource/jost/latin-600.css'; @import '@fontsource/marcellus/latin-400.css'; :root { /* Website palette */ --asf-paper: #faf7f2; --asf-paper-2: #f1ebe2; --asf-paper-3: #e8e0d5; --asf-ink: #232120; --asf-ink-2: #55504b; --asf-ink-3: #8a827a; --asf-line: #e2dad0; --asf-accent: #7f8b76; --asf-accent-deep: #5f6a58; --asf-accent-deeper: #475042; --asf-sand: #d9cdbc; --asf-error: #a4443a; --asf-font-heading: 'Marcellus', Georgia, 'Times New Roman', serif; --asf-font-body: 'Jost', system-ui, 'Segoe UI', Roboto, sans-serif; --background: var(--asf-paper); --foreground: var(--asf-ink); --card: var(--asf-paper-2); --card-foreground: var(--asf-ink); --popover: var(--asf-paper-2); --popover-foreground: var(--asf-ink); --primary: var(--asf-accent-deep); --primary-foreground: var(--asf-paper); --secondary: var(--asf-paper-2); --secondary-foreground: var(--asf-ink); --muted: var(--asf-paper-2); --muted-foreground: var(--asf-ink-2); --accent: var(--asf-paper-3); --accent-foreground: var(--asf-accent-deeper); --destructive: var(--asf-error); --destructive-foreground: var(--asf-paper); --border: var(--asf-line); --input: var(--asf-line); --ring: var(--asf-accent-deep); --radius: 0.25rem; --font-sans: var(--asf-font-body); } /* * Dark mode: the website has no dark variant, so these values are derived from its palette (ink as * background, paper as text, a slightly lighter accent #8a9681 so button text stays above 4.5:1). */ .dark { --background: var(--asf-ink); --foreground: var(--asf-paper); --card: #2d2a28; --card-foreground: var(--asf-paper); --popover: #2d2a28; --popover-foreground: var(--asf-paper); --primary: #8a9681; --primary-foreground: var(--asf-ink); --secondary: #353130; --secondary-foreground: var(--asf-paper); --muted: #353130; --muted-foreground: var(--asf-sand); --accent: #353130; --accent-foreground: var(--asf-paper-3); --destructive: #d9776b; --destructive-foreground: var(--asf-ink); --border: #433e3b; --input: #433e3b; --ring: #8a9681; } body { font-family: var(--asf-font-body); } h1, h2, h3, h4, h5, h6, [data-slot='card-title'], [data-slot='dialog-title'] { font-family: var(--asf-font-heading); font-weight: 400; }