mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-03-27 15:55:55 +00:00
WIP
This commit is contained in:
parent
f9b870b75a
commit
27897db568
@ -55,7 +55,7 @@
|
|||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: background: var(--plugback);
|
background: var(--plugback);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -66,6 +66,13 @@
|
|||||||
|
|
||||||
|
|
||||||
<script>
|
<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 memory = new WebAssembly.Memory({ initial: 256, maximum: 256 });
|
||||||
const heap = new Uint8Array(memory.buffer);
|
const heap = new Uint8Array(memory.buffer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user