You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to customize darkTheme to change the text and icon of AppBar, Button, etc from black to white. But if I change alternateTextColor, it will also affect the background of Paper, LeftNav, etc. I think we should have 2 different variables in this case as the text of AppBar or Button can be black or white (according to Google Design guidelines).
The text was updated successfully, but these errors were encountered:
The key in the raw theme was originally called canvasColor but when I realized it was being used for text in a lot of places, I decided to rename it to alternateTextColor and to use that instead.
Yes we should have 2 different variables: alternateTextColor and canvasColor, and you could make sure that wherever background color is used, it goes to canvasColor. Would you like to submit a PR for this? You would have to change:
I tried to customize darkTheme to change the text and icon of AppBar, Button, etc from black to white. But if I change alternateTextColor, it will also affect the background of Paper, LeftNav, etc. I think we should have 2 different variables in this case as the text of AppBar or Button can be black or white (according to Google Design guidelines).
The text was updated successfully, but these errors were encountered: