Closed trod-123 closed 3 months ago
Since these are properties of the @Preview
annotation itself, I'm open to adding them to @ShowkaseComposable
and/or honoring what's passed as part of @Preview
. For prioritization sake, I'm curious to see if more people would benefit from this change.
Interested!
Interested too
➕
+1 this would be a great to have!
wonder if it could be achieved via theme overrides/local composition providers? I would love to be able to map our design systems surface colors and typography to the showkase theme!
+100 this would be great to have when combining with screenshot testing for light/dark modes
me too
interested
Interested!
Apologies if this is already available, I have not seen any callouts for this in the README.
Basically, the request is to render a black card background in the
[Dark Mode]
preview generated by Showkase.I defined my own Preview annotation which provides both the Light and Dark versions of content.
Which generates the following:
It would be great to have a similar functionality provided by Showkase out of the box. As it stands, the previews look like the following - note the content text in
[Dark Mode]
can't be read because the background is white, and not black.As a workaround, I can wrap my preview content in a box that provides a background (with additional padding so we can see the dashed borders), but I do not think I should do this every time.