// Vasco design tokens — médical premium. // Radius 12/16, hairlines + soft shadows, off-white surfaces. window.VT = { // Palette — neutres ink: '#0a0a0a', ink2: '#1f1f1f', sub: '#6b7280', // softer than #737373, less neutral-cold sub2: '#9ca3af', paper: '#f6f5f1', // warm cream background surface: '#ffffff', // cards surface2: '#fafaf7', // alt strip hair: 'rgba(10,10,10,0.06)', hair2: 'rgba(10,10,10,0.10)', // Palette — sémantique medBlue: '#3d6b8f', // accent clinique (remplace le rouge accent partout sauf danger) medBlueTint: 'rgba(61,107,143,0.10)', // fond léger pour selected/hover success: '#059669', // un seul vert (remplace #047857, #15803d, #22c55e) successTint: 'rgba(5,150,105,0.10)', // fond chip / pastille succès successTintSoft: 'rgba(5,150,105,0.06)', // fond carte / bandeau succès warning: '#d97706', // un seul orange danger: '#b91c1c', // rouge = destructif / urgence médicale UNIQUEMENT // Radii (3 valeurs officielles + pill) r: 8, rMd: 12, rLg: 16, rXl: 20, rXl2: 22, // cartes Wallet (plus arrondies) // Shadows (very subtle — premium clinical, not floaty) shadowSm: '0 1px 2px rgba(10,10,10,0.04), 0 0 0 1px rgba(10,10,10,0.04)', shadowMd: '0 1px 3px rgba(10,10,10,0.06), 0 4px 12px rgba(10,10,10,0.04)', shadowLg: '0 2px 6px rgba(10,10,10,0.06), 0 12px 32px rgba(10,10,10,0.06)', shadowFab: '0 6px 16px rgba(10,10,10,0.18), 0 2px 4px rgba(10,10,10,0.06)', shadowCard: '0 2px 8px rgba(10,10,10,0.06), 0 8px 24px rgba(10,10,10,0.04)', // cartes flottantes shadowSheet: '0 -8px 32px rgba(10,10,10,0.12)', // bottom sheets qui remontent // Pill / button heights hSm: 32, hMd: 40, hLg: 48, }; // Version — source unique. Il n'y a pas d'étape de build qui pourrait injecter // une date : on la tient ici, et c'est le seul endroit à bumper. Surtout pas // `new Date()` au chargement, qui ferait passer un « build » pour du jour même. window.VASCO_VERSION = '0.4.0'; window.VASCO_BUILD = '2026.08.07'; // Re-export legacy names so existing files keep working without a big rewrite. window.P_INK = window.VT.ink; window.P_PAPER = window.VT.paper; window.P_SUB = window.VT.sub; window.P_HAIR = window.VT.hair; window.P_HAIR2 = window.VT.hair2;