Files
CoHaiSe/frontend/shared/src/styles/theme.css
T
Esiah 09cf07d79b feat: migrate showcase to Next.js and overhaul CRM UI
- rebuild the public site on the Next.js App Router with static export,
  per-section SEO pages, metadata, sitemap, robots and a generated OG image
- add full-screen scroll-snap regions, staged scroll reveals, a hash-free
  tab navigation with a sliding indicator and region-by-region menu scrolling
- replace the theme text toggle with animated sun/moon icons
- restructure the CRM API into config, middleware, models, routes, services
  and utils layers
- redesign the CRM shell with a single surface, tab rail, full-width blurred
  DataTable, record dialogs and mask-based icons
- update Docker/Nginx publishing, Makefile targets, shared UI polish and docs
2026-11-16 00:52:29 +01:00

113 lines
3.8 KiB
CSS

@theme inline {
--color-background: var(--cohaise-background);
--color-foreground: var(--cohaise-foreground);
--color-surface: var(--cohaise-surface);
--color-surface-raised: var(--cohaise-surface-raised);
--color-surface-sunken: var(--cohaise-surface-sunken);
--color-surface-muted: var(--cohaise-surface-muted);
--color-surface-hover: var(--cohaise-surface-hover);
--color-surface-overlay: var(--cohaise-surface-overlay);
--color-muted-foreground: var(--cohaise-muted-foreground);
--color-subtle-foreground: var(--cohaise-subtle-foreground);
--color-border: var(--cohaise-border);
--color-border-strong: var(--cohaise-border-strong);
--color-border-control: var(--cohaise-border-control);
--color-primary: var(--cohaise-primary);
--color-primary-foreground: var(--cohaise-primary-foreground);
--color-primary-hover: var(--cohaise-primary-hover);
--color-accent: var(--cohaise-accent);
--color-accent-foreground: var(--cohaise-accent-foreground);
--color-accent-hover: var(--cohaise-accent-hover);
--color-accent-graphic: var(--cohaise-accent-graphic);
--color-ring: var(--cohaise-ring);
--color-destructive: var(--cohaise-destructive);
--color-destructive-foreground: var(--cohaise-destructive-foreground);
--color-destructive-hover: var(--cohaise-destructive-hover);
--color-success: var(--cohaise-success);
--color-success-foreground: var(--cohaise-success-foreground);
--color-warning: var(--cohaise-warning);
--color-warning-foreground: var(--cohaise-warning-foreground);
--color-info: var(--cohaise-info);
--color-info-foreground: var(--cohaise-info-foreground);
--color-skeleton-base: var(--cohaise-skeleton-base);
--color-skeleton-highlight: var(--cohaise-skeleton-highlight);
--shadow-sm: var(--cohaise-shadow-sm);
--shadow-md: var(--cohaise-shadow-md);
--shadow-lg: var(--cohaise-shadow-lg);
--shadow-crimson: var(--cohaise-shadow-crimson, 0 0 0 0 transparent);
--font-display: var(--cohaise-font-display);
--font-logo: var(--cohaise-font-logo);
--font-sans: var(--cohaise-font-sans);
--font-serif: var(--cohaise-font-serif);
--font-mono: var(--cohaise-font-mono);
--tracking-display: var(--cohaise-tracking-display);
--tracking-logo: var(--cohaise-tracking-logo);
--tracking-label: var(--cohaise-tracking-label);
--tracking-body: var(--cohaise-tracking-body);
--radius-sm: var(--cohaise-radius-sm);
--radius-md: var(--cohaise-radius-md);
--radius-lg: var(--cohaise-radius-lg);
--radius-xl: var(--cohaise-radius-xl);
--radius-full: var(--cohaise-radius-full);
--ease-out-soft: var(--cohaise-ease-out-soft);
--ease-in-out-soft: var(--cohaise-ease-in-out-soft);
--default-transition-duration: var(--cohaise-duration-base);
--default-transition-timing-function: var(--cohaise-ease-out-soft);
}
/* Verre « liquide » : panneau translucide floute, pose sur le fond sombre.
Partage par la vitrine et le CRM pour que les deux enveloppes se repondent. */
.glass {
background: color-mix(in oklab, var(--cohaise-surface) 58%, transparent);
backdrop-filter: blur(16px) saturate(1.5);
}
@layer base {
html,
body {
background-color: var(--cohaise-background);
}
body {
color: var(--cohaise-foreground);
font-family: var(--cohaise-font-sans);
letter-spacing: var(--cohaise-tracking-body);
}
/* Orbitron sur les titres seulement, jusqu'a h3. Au-dela la chasse est trop large
pour la taille du texte et le titre devient illisible. */
h1,
h2,
h3 {
font-family: var(--cohaise-font-display);
letter-spacing: var(--cohaise-tracking-display);
}
}
@utility duration-fast {
transition-duration: var(--cohaise-duration-fast);
}
@utility duration-base {
transition-duration: var(--cohaise-duration-base);
}
@utility duration-slow {
transition-duration: var(--cohaise-duration-slow);
}