Skip to content

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

Closed
@mlaursen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions