Skip to content

Commit

Permalink
Adds -webkit-backdrop-filter property for Safari
Browse files Browse the repository at this point in the history
This PR adds support for backdrop-filter property on Safari. According to [this document](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter), backdrop-filter property is not compatible with Safari. It requires a vendor prefix `-webkit-backdrop-filter`
  • Loading branch information
gaejabong authored Jan 16, 2022
1 parent 66c2c9c commit 324946f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/base-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const baseStyles = css`
background: var(--ninja-overflow-background);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-backdrop-filter: var(--ninja-backdrop-filter);
backdrop-filter: var(--ninja-backdrop-filter);
text-align: left;
color: var(--ninja-text-color);
Expand Down

0 comments on commit 324946f

Please sign in to comment.