leboncoin/spark-android
[FR]: Fix theming.md dim-level examples to show composable context
Ouverte
#2 113 ouverte le 27 juil. 2026
contribution welcomeddocumentationgood first issuepriority:MEDIUM
Métriques du dépôt
- Stars
- (85 étoiles)
- Métriques de merge PR
- (Merge moyen 4j 9h) (73 PRs mergées en 30 j)
Description
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.