Skip to content

[card] Card looks like a paragraph when using white app background with Aura #10544

@sissbruecker

Description

@sissbruecker

Description

When using a white app background in the Aura theme, then a card looks just like a paragraph of text:

Image

In comparison, this is how it looks with the default background:

Image

Expected outcome

I would expect a card to be recognizable as a card.

Minimal reproducible example

Use the Card dev page and add this style:

html {
  --aura-background-color-light: white;
}

Steps to reproduce

See above

Environment

Vaadin version(s): 25

Browsers

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions