Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Following recent changes to other components (such as
SwitchColors
andButtonElevation
) we use type safe interfaces to represent parameters that change in different states.Currently the color parameters on
TextField
are misleading, as they are modified a lot and used in different places, making it hard to customize parts of the text field, such as having a different error color for the cursor and label. Additionally, emphasis is applied internally meaning that there is no way to opt out / change the alpha applied to certain parts of the text field.We could allow for easier customization and make the API surface more clear with something like:
Happy to help discuss this, but I think the first step is figuring out what all the combination of colors that are used in different states / places in the
TextField
are.