leboncoin/spark-android

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

Aberta

#2.113 aberto em 27 de jul. de 2026

 (0 comentário) (0 reação) (0 responsável)Kotlin (31 forks)auto 404
contribution welcomeddocumentationgood first issuepriority:MEDIUM

Métricas do repositório

Stars
 (85 estrelas)
Métricas de merge de PR
 (Mesclagem média 4d 9h) (73 fundiu PRs em 30d)

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.

Guia do colaborador