Find hardcoded color literals inside @Composable
ProprietaryColor(0xFF…) literals inside composables break theming and accessibility (light/dark). Hoist into MaterialTheme.colorScheme.*.
org. openrewrite. kotlin. compose. FindHardcodedDesignTokens$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. compose. FindHardcodedDesignTokens$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.
Recipe list
It runs these recipes, in this order.