Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
feat(themes): add x-ray theme
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Sep 26, 2016
1 parent 73ffd14 commit b199892
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions assets/css/themes/_filters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@ body.inverted-theme {
-o-filter: invert(100%);
filter: invert(100%);
}

body.x-ray {
-webkit-filter: grayscale(100%) invert(100%);
-moz-filter: grayscale(100%) invert(100%);
-ms-filter: grayscale(100%) invert(100%);
-o-filter: grayscale(100%) invert(100%);
filter: grayscale(100%) invert(100%);
}
5 changes: 5 additions & 0 deletions assets/js/services/theme.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ function theme () {
'name': 'inverted',
'class': 'inverted-theme',
'display-name': 'Invert Colors'
},
{
'name': 'x-ray',
'class': 'x-ray',
'display-name': 'X-Ray'
}
];

Expand Down

0 comments on commit b199892

Please sign in to comment.