package eu.gaudian.translator.ui.theme


import android.annotation.SuppressLint
import android.content.res.Configuration
import androidx.compose.ui.tooling.preview.Preview

/**
 * A multipreview annotation that shows a Composable in both light and dark themes.
 * It also suppresses the "HardcodedText" lint warning, as previews are for development
 * and do not need string resources.
 */
@Preview(
    name = "Light Mode",
    showBackground = true
)
@Preview(
    name = "Dark Mode",
    uiMode = Configuration.UI_MODE_NIGHT_YES,
    showBackground = true,
)
@SuppressLint("HardcodedText")@Suppress("HardCodedStringLiteral")
annotation class ThemePreviews