Skip to content

Dark mode elevation: Make white overlay configurable in theme? #29643

@Brodzko

Description

@Brodzko

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Summary 💡

It would be nice to have an idiomatic way to customise the way white overlay is applied over Paper with elevation in dark mode. Currently, I haven't found any except for turning the background-image filter off globally and adding class based overrides to Paper.

Since customising box-shadow is enabled via a theme, would it also be possible to customise the white overlay opacity? Perhaps by changing the theme shadows into a full-on elevation that would contain both the shadow and overlayOpacity configuration?

If there already is a simple way of doing this that I just hadn't found, I'll be happy for pointers 🙂

Examples 🌈

No response

Motivation 🔦

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: PaperThis is the name of the generic UI component, not the React module!new featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions