Find Color(0xFF...) color-literal constructions
ProprietaryHardcoded ARGB literals inside Color(0xFF...) calls are a design-token leak — they should usually live in a theme or material color scheme. Each match is a candidate to extract to MaterialTheme.colorScheme.X.
org. openrewrite. kotlin. search. FindHardcodedColorLiterals$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. search. FindHardcodedColorLiterals$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.