theme.json is now read if present

This commit is contained in:
booploops 2022-02-11 19:46:12 -08:00
parent eb6053ee04
commit a6abb536e4
2 changed files with 34 additions and 3 deletions

View file

@ -130,7 +130,7 @@
<select class="md-select" @change="$root.setTheme($root.cfg.visual.theme)" v-model="$root.cfg.visual.theme">
<option value="default.less">{{$root.getLz('settings.option.visual.theme.default')}}</option>
<option value="dark.less">{{$root.getLz('settings.option.visual.theme.dark')}}</option>
<option v-for="theme in themes" :value="theme">{{ theme.replace(".less", "") }}</option>
<option v-for="theme in themes" :value="theme.file">{{ theme.name }}</option>
</select>
<button class="md-btn md-btn-small md-btn-block" @click="installTheme()" style="margin-top: 8px">Install from GitHub URL</button>
</div>