Skip to content

Commit

Permalink
mixin to do all filters at once
Browse files Browse the repository at this point in the history
  • Loading branch information
theme1256 committed Aug 17, 2021
1 parent aa2703d commit 8771ecf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chrome-extension/themes/websites/all-websites.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
// Common styling that is applied to ALL websites, before any other styling
//----------------------------------------------------------------------------------------------------------------------------------------------------

@mixin filter($args...) {
filter: $args !important;
-webkit-filter: $args !important;
-ms-filter: $args !important;
}

html {
// Set the HTML background. Since only the BODY is inverted, we need to invert the background here manually
background-color: invert($theme-background) !important;
Expand Down

0 comments on commit 8771ecf

Please sign in to comment.