SparkFeatureFlag

data class SparkFeatureFlag(val useSparkTokensHighlighter: Boolean = false, val useSparkComponentsHighlighter: Boolean = false, val useLegacyStyle: Boolean = false)

Flags that will activate debugging features from Spark or features hidden to consumers.

Constructors

Link copied to clipboard
constructor(useSparkTokensHighlighter: Boolean = false, useSparkComponentsHighlighter: Boolean = false, useLegacyStyle: Boolean = false)

Properties

Link copied to clipboard
val useLegacyStyle: Boolean = false

Makes the components use the legacy style from the previous DS to make it easier for the Leboncoin teams to migrate their screens to spark.

Link copied to clipboard

Highlight visually with an overlay where the spark components are used or not. Setting it to true show an overlay on spark components.

Link copied to clipboard

Highlight visually where the spark tokens are used or not. Setting it to true makes the text in cursive, colors in red/green/blue and shapes in full cut corners.