Skip to content

[css-view-transitions-1] Using plus-darker if prefers-color-scheme: dark #9276

Description

@vmpstr

In view transitions, we currently use mix-blend-mode: plus-lighter for blending/cross-fading two images. However, this may produce lighter-than-expected results, which stands out particularly in dark color scheme mode.

Perhaps we can consider using plus-darker in these situations, which I believe favors darker colors. I don't know if there's a better check than prefers-color-scheme: dark, but that seems like a good check to flip plus-lighter to plus-darker and back.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Thursday Afternoon

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions