Plus de couleur au choix ni de thèmes Nuit/Étoilé ; police Inter partout

- Apparence : auto, clair ou sombre seulement ; Nuit et Étoilé sont relus comme sombre
- Accent ambre fixe, défini dans le CSS (plus foncé en clair pour rester lisible) ;
  la section « Couleur d'accent » des réglages et ses textes disparaissent
- Une seule police, Inter (titres en gras), à la place de Gloock / Onest / Sometype Mono

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
Claude committed 2026-11-27 15:49:12 +00:00
1 parent 59f515663e
commit b9cbbfe2f2
34 files changed
+85 -679

No files matched your search

+2 -2
View File
@@ -133,7 +133,7 @@ export default function HomeHero({ items, onOpen }: { items: MediaItem[]; onOpen
<span key={m}>{m}</span>
))}
</p>
<h2 className="mt-1.5 line-clamp-2 text-[2.15rem] leading-[1.02] lg:text-[2.75rem]">{item.title}</h2>
<h2 className="mt-1.5 line-clamp-2 text-[1.9rem] leading-[1.08] lg:text-[2.5rem]">{item.title}</h2>
{progress && (
<div className="mt-4">
<div className="flex items-baseline justify-between gap-3 text-sm text-ink-2">
@@ -195,7 +195,7 @@ export function ContinueCard({ item, onOpen }: { item: MediaItem; onOpen: (item:
<button onClick={() => onOpen(item)} className="flex min-w-0 flex-1 items-stretch text-start" aria-label={t('card.open', { title: item.title })}>
<span className="block w-[3.6rem] shrink-0 bg-surface-2">{image && <img src={image} alt="" loading="lazy" className="size-full object-cover" />}</span>
<span className="flex min-w-0 flex-1 flex-col justify-center px-3">
<span className="block truncate font-display text-[1.2rem] leading-tight">{item.title}</span>
<span className="block truncate font-bold text-base leading-tight">{item.title}</span>
<span className="mt-0.5 block truncate text-xs text-ink-3">
{item.rewatch && <span className="me-1.5 font-medium text-accent">{t('rewatch.badge')}</span>}
{next ? (
+1 -1
View File
@@ -19,7 +19,7 @@ interface Props {
export default function SideNav({ current, onChange, onAdd }: Props) {
return (
<nav className="fixed inset-y-0 start-0 z-30 hidden w-60 flex-col border-e border-line bg-bg px-4 py-6 lg:flex">
<p className="px-2 font-display text-[1.75rem] leading-none">
<p className="px-2 font-bold text-[1.75rem] leading-none">
Bobin<span className="text-accent">oo</span>
</p>
+1 -1
View File
@@ -12,7 +12,7 @@ export function StatTile({ label, value, hint }: { label: string; value: ReactNo
return (
<div className="card min-w-0 p-4">
<p className="text-xs text-ink-3">{label}</p>
<p className="mt-1.5 truncate font-display text-[1.85rem] leading-none tabular-nums lg:text-[2.2rem]">{value}</p>
<p className="mt-1.5 truncate font-bold text-[1.85rem] leading-none tabular-nums lg:text-[2.2rem]">{value}</p>
{hint && <p className="mt-0.5 truncate text-xs text-ink-2">{hint}</p>}
</div>
)
+6 -6
View File
@@ -1,12 +1,12 @@
import type { ReactNode } from 'react'
import { cx } from '../lib/utils'
/** En-tête de page : titre en Gloock. La partie « accent » n'est colorée que pour le logo (wordmark). */
/** En-tête de page : titre en gras. La partie « accent » n'est colorée que pour le logo (wordmark). */
export function PageHeader({ title, accent, subtitle, action, wordmark }: { title: string; accent?: string; subtitle?: string; action?: ReactNode; wordmark?: boolean }) {
return (
<header className="flex items-end justify-between gap-3 pb-5 pt-7">
<div className="min-w-0">
<h1 className={cx('leading-[1.05]', wordmark ? 'text-[2.15rem]' : 'text-[2rem]')}>
<h1 className={cx('leading-[1.05]', wordmark ? 'text-[2rem] tracking-[-0.02em]' : 'text-[1.9rem]')}>
{title}
{accent && <span className={wordmark ? 'text-accent' : undefined}>{accent}</span>}
</h1>
@@ -21,17 +21,17 @@ export function StatTile({ label, value, hint, className }: { label: string; val
return (
<div className={cx('card p-4', className)}>
<div className="eyebrow">{label}</div>
<div className="mt-2 font-display text-[1.85rem] leading-none tabular-nums">{value}</div>
<div className="mt-2 font-bold text-[1.85rem] leading-none tabular-nums">{value}</div>
{hint && <div className="mt-2 text-xs text-ink-3">{hint}</div>}
</div>
)
}
/** Titre de section : Gloock, sans capitales ni filet. */
/** Titre de section : gras, sans capitales ni filet. */
export function SectionTitle({ children, action }: { children: ReactNode; action?: ReactNode }) {
return (
<div className="mb-3.5 mt-10 flex items-baseline justify-between gap-3">
<h2 className="text-[1.45rem] leading-tight text-ink">{children}</h2>
<h2 className="text-[1.3rem] leading-tight text-ink">{children}</h2>
{action}
</div>
)
@@ -74,7 +74,7 @@ export function LinkArrow({ onClick, children }: { onClick: () => void; children
export function EmptyState({ title, text, action }: { title: string; text?: string; action?: ReactNode }) {
return (
<div className="card mt-4 flex flex-col items-center px-6 py-12 text-center">
<p className="font-display text-[1.5rem] leading-tight">{title}</p>
<p className="font-bold text-[1.5rem] leading-tight">{title}</p>
{text && <p className="mt-2 max-w-xs text-sm text-ink-2">{text}</p>}
{action && <div className="mt-6">{action}</div>}
</div>