Skip to content

Commit

Permalink
Update Paparazzi setup and reference images
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickmichalik committed May 29, 2024
1 parent 9c356df commit 694c9c1
Show file tree
Hide file tree
Showing 17 changed files with 36 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package com.patrykandpatrick.vico.sample

import androidx.compose.runtime.Composable
import app.cash.paparazzi.Paparazzi
import com.android.ide.common.rendering.api.SessionParams
import com.patrykandpatrick.vico.sample.paparazzi.lightConfig
import com.patrykandpatrick.vico.sample.paparazzi.nightConfig
import com.patrykandpatrick.vico.sample.previews.composables.column.DefaultColumnChart
Expand Down Expand Up @@ -50,7 +51,9 @@ public class PaparazziTest {
"ColumnChart Long Not Scrollable" to { DefaultColumnChartLongNonScrollable() },
)

@get:Rule public val paparazzi: Paparazzi = Paparazzi(deviceConfig = lightConfig)
@get:Rule
public val paparazzi: Paparazzi =
Paparazzi(deviceConfig = lightConfig, renderingMode = SessionParams.RenderingMode.SHRINK)

private fun List<Pair<String, @Composable () -> Unit>>.snapshotAll() {
forEach { (name, composable) -> paparazzi.snapshot(name) { composable() } }
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 694c9c1

Please sign in to comment.