viewcompose-preview-core
Toggle table of contents
0.1.0-alpha01
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
viewcompose-preview-core
viewcompose-preview-core
/
com.viewcompose.preview.tooling
/
PreviewLightDark
Preview
Light
Dark
@
Target
(
allowedTargets
=
[
AnnotationTarget.FUNCTION
,
AnnotationTarget.ANNOTATION_CLASS
]
)
@
ViewComposePreview
(
name
=
"Light"
,
theme
=
PreviewTheme.Light
)
@
ViewComposePreview
(
name
=
"Dark"
,
theme
=
PreviewTheme.Dark
)
annotation class
PreviewLightDark
Built-in multi-preview for the framework Light and Dark token sets.