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

Setting theme colors for a light text on a dark background cause mdc-card to be unreadable #930

Closed
lynnmercier opened this issue Jul 11, 2017 · 0 comments
Labels

Comments

@lynnmercier
Copy link
Contributor

What MDC-Web Version are you using?

Version 0.14.0

What are the steps to reproduce the bug?

https://codepen.io/ZhugeSong/pen/WOyoBz

What is the expected behavior?

Card should be readable

What is the actual behavior?

Card uses the light text on a white background, making it illegible.

Any other information you believe would be useful?

Discussion about theming leads us to believe mdc-card should use text-primary-on-light instead of text-primary-on-background, since background can be light or dark.

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

1 participant