fix #16: add dark icons and handle main menu svg filters
This commit is contained in:
parent
281e7e8de1
commit
12abd19936
7 changed files with 727 additions and 25 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue