PreviewPhoneBothMode

@Preview(name = "Day mode", device = "id:pixel_7", uiMode = 16, backgroundColor = 4294967295, showBackground = true)
@Preview(name = "Night mode", device = "id:pixel_7", uiMode = 32, backgroundColor = 4278190080, showBackground = true)
@Preview(name = "Samsung S20 (narrow device)", device = "spec:width=945px,height=2400px", uiMode = 16, backgroundColor = 4294967295, showBackground = true)
@Preview(name = "Scaled font", device = "id:pixel_7", uiMode = 16, backgroundColor = 4294967295, showBackground = true, fontScale = 1.5)
annotation class PreviewPhoneBothMode

Creates two previews on a Pixel 7 device for light and dark mode.