Skip to content

Commit

Permalink
Inverted social icons in night theme (#2209)
Browse files Browse the repository at this point in the history
  • Loading branch information
Glennmen authored and benhalpern committed Mar 26, 2019
1 parent a936aff commit cfd61b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/assets/stylesheets/articles.scss
Expand Up @@ -1348,6 +1348,8 @@
border: none;
padding-left: 12px;
margin-right: 3px;
filter: invert(0);
filter: var(--theme-social-icon-invert, invert(0));
}
.row {
position: relative;
Expand Down
3 changes: 2 additions & 1 deletion app/views/layouts/application.html.erb
Expand Up @@ -101,7 +101,8 @@
--theme-gradient-background: linear-gradient(to right, #293d56 8%, #282833 18%, #293d56 33%);\
--theme-container-color: #fff;\
--theme-container-box-shadow: none;\
--theme-container-border: 1px solid #141d26;</style>'
--theme-container-border: 1px solid #141d26;\
--theme-social-icon-invert: invert(100)</style>'
}
} catch(e) {
console.log(e)
Expand Down

0 comments on commit cfd61b3

Please sign in to comment.