|
|
@ -161,8 +161,8 @@ export class LandingPage extends BaseApi { |
|
|
|
globalRegistry.get('verticalicon').api.select('fileExplorers') |
|
|
|
globalRegistry.get('verticalicon').api.select('fileExplorers') |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
globalRegistry.get('themeModule').api.events.on('themeChanged', (type) => { |
|
|
|
globalRegistry.get('themeModule').api.events.on('themeChanged', (theme) => { |
|
|
|
const invert = type === 'dark' ? 1 : 0 |
|
|
|
const invert = theme.quality === 'dark' ? 1 : 0 |
|
|
|
const img = document.getElementById('remixLogo') |
|
|
|
const img = document.getElementById('remixLogo') |
|
|
|
if (img) { |
|
|
|
if (img) { |
|
|
|
img.style.filter = `invert(${invert})` |
|
|
|
img.style.filter = `invert(${invert})` |
|
|
|