Find Modifier.clickable { }.background(...) chains
ProprietaryWhen clickable precedes background in a Modifier chain, the background paints on top of the touch target — the visible color is the background, but the ripple/feedback originates from the layer underneath, which usually isn't the look the author wanted. Place background(...) first and clickable { … } last so the touch surface sits above the visual fill.
org. openrewrite. kotlin. compose. FindModifierClickableBeforeBackground$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. compose. FindModifierClickableBeforeBackground$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.