Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Customize the color of the chip icons separately from the text label #2484

Closed
lynnmercier opened this issue Mar 28, 2018 · 1 comment
Closed
Labels

Comments

@lynnmercier
Copy link
Contributor

Still deciding if --leading-icon and --trailing-icon should be the same color...or if we should also allow clients to customize them separately

@mgr34
Copy link
Contributor

mgr34 commented Apr 13, 2018

Perhaps a separate issue, but I believe the SASS mixin mdc-chip-fill-color-accessible should decorate the --[leading|trailing]-icon. For example if you were to call mdc-chip-fill-color-accessible(navy) the chip text color will appropriately become var(--mdc-theme-text-primary-on-dark,white) But the icons will not be accessible. Their color contrast is to low.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants