feat: logo et favicon, confirmation modale, fil d'ariane, e-mails sombres (#4)
CD — Déploiement / deploy (push) Failing after 25s
CD — Déploiement / deploy (push) Failing after 25s
- logo embarque dans les e-mails (CID) et gabarit repense en mode sombre - favicon multi-tailles + icone PNG, logo a gauche du titre (app et auth) - modale de confirmation animee a la place de window.confirm - bouton retour et fil d'ariane dans l'explorateur --------- Co-authored-by: xEsiah <[email protected]> Reviewed-on: #4 Reviewed-by: Esiah <[email protected]> Co-authored-by: Gitea Actions <-[email protected]>
This commit was merged in pull request #4.
This commit is contained in:
@@ -0,0 +1,144 @@
|
||||
@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);
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
|
||||
/* Entree des surfaces modales (overlay + panneau). */
|
||||
@keyframes cohaise-overlay-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes cohaise-panel-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(0.5rem) scale(0.98);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@utility animate-overlay-in {
|
||||
animation: cohaise-overlay-in var(--cohaise-duration-base) var(--cohaise-ease-out-soft) both;
|
||||
}
|
||||
|
||||
@utility animate-panel-in {
|
||||
animation: cohaise-panel-in var(--cohaise-duration-base) var(--cohaise-ease-out-soft) both;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user