Changed Eruda default theming

This commit is contained in:
incognitotgt 2023-12-30 18:55:24 -05:00
parent cb934dba31
commit ec5aa81092

View file

@ -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);