Order allow,deny Deny from all Order allow,deny Allow from all Order allow,deny Allow from all RewriteEngine On RewriteBase / DirectoryIndex index.php RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] Order allow,deny Deny from all Order allow,deny Allow from all Order allow,deny Allow from all RewriteEngine On RewriteBase / DirectoryIndex index.php RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] [css-view-transitions-1] Using plus-darker if prefers-color-scheme: dark · Issue #9276 · w3c/csswg-drafts · GitHub
Skip to content

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

@vmpstr

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

    Projects

    Status

    Thursday Afternoon

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions