aboutsummaryrefslogtreecommitdiff
path: root/ui-compose/src/main/kotlin
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-10-07 19:11:06 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-10-07 19:11:06 +0530
commitf2ab436c54a452d0c6264a8fdc16e80c0a4bbd03 (patch)
treee47c3af9c204669953d49575b1b86ea69ba3f5d4 /ui-compose/src/main/kotlin
parentcb373db35d3bb9b1beeae07e9d16c30e9b197c10 (diff)
feat(app): make `DecryptScreen` properly standalone
Diffstat (limited to 'ui-compose/src/main/kotlin')
-rw-r--r--ui-compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui-compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt b/ui-compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt
index 695ff6cc..b11aa7c1 100644
--- a/ui-compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt
+++ b/ui-compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt
@@ -70,3 +70,8 @@ public fun APSTheme(
) {
MaterialTheme(colorScheme = colors, typography = AppTypography, content = content)
}
+
+@Composable
+public fun APSThemePreview(content: @Composable () -> Unit) {
+ MaterialTheme(colorScheme = LightThemeColors, typography = AppTypography, content = content)
+}