Improve preview by adding a background color.

This commit is contained in:
Benoit Marty
2026-03-11 15:38:21 +01:00
parent 4c8ec04954
commit 41c337668f
4 changed files with 41 additions and 9 deletions

View File

@@ -61,7 +61,8 @@ class KonsistPreviewTest {
.functions()
.withAllAnnotationsOf(PreviewsDayNight::class)
.assertTrue {
it.text.contains("ElementPreview")
it.text.contains("ElementPreview") ||
it.text.contains("ElementTimelineItemPreview")
}
}