Find Color(0xFF…) / Color.X literals inside @Composable

Proprietary

Hardcoded Color literals inside a composable bypass MaterialTheme.colorScheme.X, breaking light/dark theme adaptation and theming overrides. Move the literal into the theme (a ColorScheme extension or a top-level theme val) and read it via MaterialTheme.colorScheme at the call site.

org.openrewrite.kotlin.compose.FindHardcodedColor$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.compose.FindHardcodedColor$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.