Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify CSS on the Desktop app #2220

Open
andrebastosdias opened this issue Feb 2, 2024 · 0 comments
Open

Modify CSS on the Desktop app #2220

andrebastosdias opened this issue Feb 2, 2024 · 0 comments

Comments

@andrebastosdias
Copy link

Is there a way to change the CSS of the desktop app?

I've already tried adding these snippets to the index.html, but without success.

win.on('loaded', function() {
    var code = `var style = document.createElement('style');
    style.innerHTML = '...';
    document.head.appendChild(style);`;
    win.eval(null, code);
});
document.addEventListener('DOMContentLoaded', function() {
	var elements = document.querySelectorAll('...');
	...
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant