mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-17 13:30:00 -04:00
Changed Eruda default theming
This commit is contained in:
parent
cb934dba31
commit
ec5aa81092
1 changed files with 6 additions and 1 deletions
|
@ -97,7 +97,12 @@ export function IframeHeader(props: { url: string }) {
|
|||
script.src = "https://cdn.jsdelivr.net/npm/eruda";
|
||||
script.onload = function () {
|
||||
if (!proxyWindow) return;
|
||||
proxyWindow.eruda.init();
|
||||
proxyWindow.eruda.init({
|
||||
defaults: {
|
||||
displaySize: 45,
|
||||
theme: 'Material Palenight'
|
||||
}
|
||||
});
|
||||
proxyWindow.eruda.show();
|
||||
};
|
||||
proxyDocument.head.appendChild(script);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue