Skip to content

perf(ui): keep theme cross-fade gated; document rebuild cost (Fluid F5) #361

Description

@ZhuchkaTriplesix

Parent

Part of #356 · Fluid perf audit F5 (P1)

Problem

AnimatedQueryaTheme + ShadcnAnimatedTheme push InheritedTheme updates every tick → app-wide rebuilds during theme morph. Already gated by preference + motion level, but cost is easy to regress if defaults change.

Where: lib/app/app.dart, theme motion helpers, animated_querya_theme.dart

Expected

  • Theme animation remains opt-in (not default-on)
  • Docs call out rebuild cost @ 120 Hz
  • Motion Off / preference off → snap (already)

Acceptance

  • Confirm defaults stay safe (no silent enable)
  • Short doc note in docs/motion-and-high-refresh.md or docs/perf-baseline.md §14
  • No behavior change required unless a default is wrong

Related

  • Checklist: docs/perf-baseline.md §14 Theme cross-fade

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

documentationImprovements or additions to documentationmotionAnimation system, transitions, motion tokensperformanceTheme parser epic label: performanceuiUser interface components and widgets

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions