Skip to content

Elevation token does not work for dark mode #4125

Open
@andre-bartak

Description

@andre-bartak

Which generators are impacted?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

The --db-elevation tokens (like e.g. --db-elevation-md) seems to have a fixed dark color for the shadow.
In dark mode this shadow is not visible and the elevation does not work.

Compare to e.g. the shadow defined for .db-drawer .db-drawer-container:
https://design-system.deutschebahn.com/core-web/version/v2.0.4/components/layout/drawer/overview

Expected Behaviour

The elevation effect should be available in dark mode

Screenshots

No response

Browser version

None

Add any other context about the problem here.

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions