Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bordered Card has an inconsistent background color when using the raising dark mode elevation feature #1053

mlaursen opened this issue Jan 22, 2021 · 0 comments


Copy link

Light Theme

Screen Shot 2021-01-22 at 9 30 51 AM

Dark Theme

Screen Shot 2021-01-22 at 9 30 38 AM

This issue happens since the raising dark mode elevation has different "surface" value than the dark elevation for the current box shadow. I think to fix this I will:

  • add a new $rmd-card-bordered-background-color variable that is used just for this use case (might rename)
  • this variable will default to the same value as the box-shadowed cards
@mlaursen mlaursen added this to the v2.5.4 milestone Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant