leboncoin/spark-android

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

开放

#2,113 创建于 2026年7月27日

 (0 条评论) (0 个反应) (0 位负责人)Kotlin (31 个派生)auto 404
contribution welcomeddocumentationgood first issuepriority:MEDIUM

仓库指标

星标
 (85 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南