fix #16: add dark icons and handle main menu svg filters
This commit is contained in:
+4
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user