Improve preview by adding a background color.

This commit is contained in:
Benoit Marty
2026-03-11 15:38:21 +01:00
parent f97c61a386
commit 6a646550c8
4 changed files with 41 additions and 9 deletions
@@ -61,7 +61,8 @@ class KonsistPreviewTest {
.functions()
.withAllAnnotationsOf(PreviewsDayNight::class)
.assertTrue {
it.text.contains("ElementPreview")
it.text.contains("ElementPreview") ||
it.text.contains("ElementTimelineItemPreview")
}
}