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

💄 background-blur for legibility #42

Merged
merged 2 commits into from
Jan 28, 2022
Merged

💄 background-blur for legibility #42

merged 2 commits into from
Jan 28, 2022

Conversation

mikeldking
Copy link
Collaborator

With transparent severity styles, it was hard to see things when the alerts and notifications were layered. This adds a frosted-glass effect. @theandylu approved.
Screen Shot 2022-01-27 at 7 53 47 PM

@github-actions
Copy link

github-actions bot commented Jan 28, 2022

size-limit report 📦

Path Size
dist/components.cjs.production.min.js 96.22 KB (+0.08% 🔺)
dist/components.esm.js 76.74 KB (+0.08% 🔺)

background-color: ${transparentize(0.85, theme.colors.statusWarning)};
color: ${theme.colors.statusWarning};
export const baseSeverityCSS = css`
backdrop-filter: blur(4px);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woah I've never used backdrop-filter before 😮

Copy link
Contributor

@eunicekokor eunicekokor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikeldking mikeldking merged commit 99b2691 into main Jan 28, 2022
@mikeldking mikeldking deleted the frosted-glass branch January 28, 2022 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants