fix: batch priorités — thème, scroll, wizard, agents, slides, charts, packs
Some checks failed
CI / Lint, Unit Tests & Build (push) Failing after 1m15s
CI / Deploy production (on server) (push) Has been skipped

Anti-flash dark (color-scheme + applyDocumentTheme), scroll pages publiques,
prompts wizard/slides moins génériques, cron agents rattrapage nextRun null,
slides carnet via notebookId, graphiques à 2 crédits + hint, audit dashboard,
packs Stripe marqués non configurés sans price ID.
This commit is contained in:
Antigravity
2026-07-16 20:48:55 +00:00
parent 556a0b2f3f
commit a77f3ffb6e
16 changed files with 240 additions and 39 deletions

View File

@@ -74,6 +74,12 @@ export function applyDocumentTheme(theme: string): void {
root.classList.remove('dark')
}
try {
root.style.colorScheme = wantsDark ? 'dark' : 'light'
} catch {
/* ignore */
}
// data-theme pour les palettes nommées uniquement
if (t === 'auto' || t === 'dark' || t === 'light') {
root.removeAttribute('data-theme')