leboncoin/spark-android

[FR]: Fix theming.md dim-level examples to show composable context

Offen

#2.113 geöffnet am 27.07.2026

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Kotlin (31 Forks)auto 404
contribution welcomeddocumentationgood first issuepriority:MEDIUM

Repository-Metriken

Stars
 (85 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 4T 9h) (73 gemergte PRs in 30 T)

Beschreibung

Describe the problem

The "Dim levels" section in theming.md shows code like:

val disabledColour = SparkTheme.colors.onSurface.disabled

Both .disabled and .dim2 are @Composable getters. The code shown has no @Composable context and will not compile.

Describe the solution

Wrap the examples in a @Composable function or show the properties used inside a composable body.

Additional context

Priority: Medium. Effort: XS.

Contributor Guide