Merge branch 'main' into GUI-polish
This commit is contained in:
commit
edaf1aa726
1 changed files with 9 additions and 1 deletions
10
app.vue
10
app.vue
|
@ -1,6 +1,5 @@
|
|||
<template>
|
||||
<div>
|
||||
<link :href="'/themes/' + currentTheme + '.css'" rel="stylesheet" type="text/css"></link>
|
||||
<Banner v-if="banner" />
|
||||
<NuxtPage :keepalive="true" />
|
||||
</div>
|
||||
|
@ -15,6 +14,15 @@ const savedTheme = localStorage.getItem("selectedTheme");
|
|||
if (savedTheme) {
|
||||
currentTheme = savedTheme;
|
||||
}
|
||||
|
||||
useHead({
|
||||
link: [
|
||||
{
|
||||
rel: "stylesheet",
|
||||
href: `/themes/${currentTheme}.css`
|
||||
}
|
||||
]
|
||||
})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue