fix: batch priorités — thème, scroll, wizard, agents, slides, charts, packs
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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user