Skip to content

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

Closed

Description

@mlaursen

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions