leboncoin/spark-android

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

オープン

#2,113 opened on 2026/07/27

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Kotlin (31 件のフォーク)auto 404
contribution welcomeddocumentationgood first issuepriority:MEDIUM

Repository metrics

Stars
 (85 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド