Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blur Behind #1998

Open
danirabbit opened this issue Jul 25, 2024 · 1 comment
Open

Blur Behind #1998

danirabbit opened this issue Jul 25, 2024 · 1 comment
Labels
Needs Design Waiting for input from the UX team Priority: Wishlist An enhancement or new feature

Comments

@danirabbit
Copy link
Member

Problem

Shell elements are transparent or semi-transparent so that they blend into the desktop itself, but this sometimes creates issues with contrast: elementary/dock#259

Proposal

A way to blur behind the Dock and Panel (when it has a background)

Prior Art (Optional)

Windows:
b8AefxSmxXELW9BKkNo6vW-3702192291

macOS:
macos-sequoia-recopie-iphone-3938195366

Chrome OS:
MeetChromeOS_Intro

@danirabbit danirabbit added Needs Design Waiting for input from the UX team Priority: Wishlist An enhancement or new feature labels Jul 25, 2024
@seifeldinio
Copy link

I propose adding a light background color with 10% opacity and a backdrop filter with a 9px blur effect. This enhances visibility and maintains the aesthetic blending of shell elements with the desktop.

dock {
    background: rgba(255, 255, 255, 0.1); /* 👈 Light background with 10% opacity */
    border-radius: 9px;
    box-shadow:
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15),
        inset 1px 0 0 0 rgba(255, 255, 255, 0.035),
        inset -1px 0 0 0 rgba(255, 255, 255, 0.035),
        0 0 0 1px rgba(0, 0, 0, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.1),
        0 3px 9px rgba(0, 0, 0, 0.15);
    margin: 9px;
    margin-top: 0;
    backdrop-filter: blur(9px); /* 👈 Blur effect */
}

Mockups

To demonstrate the effectiveness of this solution, I have created four mockups showcasing the Dock over different backgrounds and text:

  1. Text Background:
Above text
  1. Light Background:
Above light
  1. Mid Background:
Above mid
  1. Dark Background:
Above dark

These mockups show that the Dock is now clearly visible and provides sufficient contrast against various backgrounds.

I'd love to hear your feedback or comments!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Design Waiting for input from the UX team Priority: Wishlist An enhancement or new feature
Projects
None yet
Development

No branches or pull requests

2 participants