Browse Source

WIP

digibyte
AlphaX-Projects 3 years ago committed by GitHub
parent
commit
27897db568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      qortal-ui-core/public/index.html

9
qortal-ui-core/public/index.html

@ -55,7 +55,7 @@
body {
margin: 0;
padding: 0;
background: background: var(--plugback);
background: var(--plugback);
overflow: hidden;
}
</style>
@ -66,6 +66,13 @@
<script>
const checkTheme = localStorage.getItem('qortalTheme')
if (checkTheme === 'dark') {
newtheme = 'dark';
} else {
newtheme = 'light';
}
document.querySelector('html').setAttribute('theme', newtheme);
const memory = new WebAssembly.Memory({ initial: 256, maximum: 256 });
const heap = new Uint8Array(memory.buffer);

Loading…
Cancel
Save