refactor: refresh shell UI styling and interaction polish

This commit is contained in:
2026-02-28 18:45:54 +01:00
parent 9b679a4db2
commit 83212434f2
9 changed files with 125 additions and 86 deletions

View File

@@ -27,67 +27,84 @@ body.no-pinch-zoom * {
@layer base {
:root {
--background: 0 0% 100%;
--background-rgb: 255, 255, 255;
--foreground: 222.2 84% 4.9%;
--background: 36 33% 97%;
--background-rgb: 249, 246, 241;
--foreground: 222 33% 15%;
--card: 0 0% 100%;
--card-foreground: 222.2 84% 4.9%;
--card-foreground: 222 33% 15%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%;
--popover-foreground: 222 33% 15%;
--primary: 222.2 47.4% 11.2%;
--primary: 198 78% 37%;
--primary-foreground: 210 40% 98%;
--secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%;
--secondary: 36 30% 92%;
--secondary-foreground: 222 33% 15%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--muted: 36 24% 90%;
--muted-foreground: 220 13% 40%;
--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;
--accent: 198 52% 90%;
--accent-foreground: 222 33% 15%;
--destructive: 0 84.2% 60.2%;
--destructive: 2 72% 48%;
--destructive-foreground: 210 40% 98%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--ring: 222.2 84% 4.9%;
--border: 32 18% 84%;
--input: 32 18% 84%;
--ring: 198 78% 37%;
--radius: 0.5rem;
--radius: 0.75rem;
--surface-1: 0 0% 100%;
--surface-2: 34 27% 94%;
--elevation-1: 0 1px 2px 0 rgb(23 32 46 / 0.06);
--elevation-2: 0 8px 24px -8px rgb(23 32 46 / 0.18);
--font-ui: "Avenir Next", "Segoe UI", "Noto Sans", sans-serif;
--font-display: "Baskerville", "Times New Roman", serif;
--duration-fast: 120ms;
--duration-base: 200ms;
--duration-slow: 320ms;
--ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dark {
--background: 222.2 84% 4.9%;
--background-rgb: 12, 17, 29;
--foreground: 210 40% 98%;
--background: 222 35% 10%;
--background-rgb: 17, 24, 38;
--foreground: 38 20% 92%;
--card: 222.2 84% 4.9%;
--card-foreground: 210 40% 98%;
--card: 221 31% 13%;
--card-foreground: 38 20% 92%;
--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
--popover: 221 31% 13%;
--popover-foreground: 38 20% 92%;
--primary: 210 40% 98%;
--primary-foreground: 222.2 47.4% 11.2%;
--primary: 194 76% 62%;
--primary-foreground: 220 39% 11%;
--secondary: 217.2 32.6% 17.5%;
--secondary-foreground: 210 40% 98%;
--secondary: 221 22% 20%;
--secondary-foreground: 38 20% 92%;
--muted: 217.2 32.6% 25%;
--muted-foreground: 215 20.2% 65.1%;
--muted: 220 17% 24%;
--muted-foreground: 218 17% 72%;
--accent: 217.2 32.6% 17.5%;
--accent-foreground: 210 40% 98%;
--accent: 210 34% 24%;
--accent-foreground: 38 20% 92%;
--destructive: 0 62.8% 30.6%;
--destructive: 2 76% 58%;
--destructive-foreground: 210 40% 98%;
--border: 217.2 32.6% 17.5%;
--input: 217.2 32.6% 17.5%;
--ring: 212.7 26.8% 83.9%;
--border: 219 18% 25%;
--input: 219 18% 25%;
--ring: 194 76% 62%;
--surface-1: 221 31% 13%;
--surface-2: 221 24% 17%;
--elevation-1: 0 1px 2px 0 rgb(2 8 18 / 0.35);
--elevation-2: 0 12px 30px -12px rgb(2 8 18 / 0.55);
}
}
@@ -95,8 +112,10 @@ body.no-pinch-zoom * {
* {
@apply border-border;
}
body {
@apply text-foreground;
@apply bg-background text-foreground antialiased;
font-family: var(--font-ui);
}
/* Empêche le zoom automatique iOS sur les inputs */