Skip to content

feat: integrate PlatformColor with alpha to replace stateLayerPressed #4972

Open

Description

@adrcotfas

We're currently using a pre-computed state layer color at press opacity (0.10) used for ripple effects. It avoids runtime alpha manipulation which was incompatible with PlatformColor on Android before RN 0.86.
Since RN 0.86, we can now have full support for the MD3 specs + DynamicColor (PlatformColor + alpha).

Buttons of all kinds (regular, icon, FABs etc) are one example of components that need a custom ripple color.
The goal is to replace ThemeColors.stateLayerPressed with a proper ripple treatment.

Activity

  1. self-assigned this
    on Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions