fix #16: add dark icons and handle main menu svg filters

This commit is contained in:
Simon Vieille 2020-05-09 14:00:11 +02:00
commit 12abd19936
Signed by: deblan
GPG key ID: 03383D15A1D31745
7 changed files with 727 additions and 25 deletions

View file

@ -55,7 +55,10 @@ export default {
if (href !== '#') {
let svg = element.querySelector('svg').outerHTML
svg = svg.replace(/(height|width)="20"/, '')
svg = svg
.replace(/(height|width)="20"/, '')
.replace('id="invertMenuMain', 'id="invertSideMenu')
.replace('url(#invertMenuMain', 'url(#invertSideMenu')
this.apps.push({
href: href,