Reuse basic theme preview annotation

This commit is contained in:
arkon
2022-12-08 22:45:17 -05:00
parent 01c6e46a71
commit 1009e15aa6
7 changed files with 32 additions and 62 deletions

View File

@@ -0,0 +1,15 @@
package eu.kanade.presentation.util
import android.content.res.Configuration
import androidx.compose.ui.tooling.preview.Preview
@Preview(
name = "Light",
showBackground = true,
)
@Preview(
name = "Dark",
showBackground = true,
uiMode = Configuration.UI_MODE_NIGHT_YES,
)
annotation class ThemePreviews