Open
Bug 1821758
Opened 3 years ago
Updated 3 months ago
Create a Composable @Preview annotation that automatically creates Light, Dark, and Private themed previews
Categories
(Firefox for Android :: Design System and Theming, task, P3)
Tracking
()
NEW
People
(Reporter: 007, Unassigned)
References
(Blocks 1 open bug)
Details
Similar to our @LightDarkPreview annotation, construct an additional @AllThemesPreview annotation that creates a preview for each of our themes in FirefoxTheme (e.g. Light, Dark, Private).
Reference this article for how to pass in complex data types to previews
https://foso.github.io/Jetpack-Compose-Playground/general/preview/previewparameter/
https://developer.android.com/jetpack/compose/tooling/studio#preview-multipreview
| Reporter | ||
Updated•2 years ago
|
Component: General → Design System and Theming
| Reporter | ||
Comment 1•7 months ago
|
||
This is requested on google issue tracker
See Also: → https://issuetracker.google.com/issues/420460318
You need to log in
before you can comment on or make changes to this bug.
Description
•