forked from AkkomaGang/akkoma-fe
Show current theme in theme selector.
This commit is contained in:
parent
cdc90f8edc
commit
cd0925747d
1 changed files with 6 additions and 4 deletions
|
@ -1,8 +1,10 @@
|
||||||
export default {
|
export default {
|
||||||
data: () => ({
|
data () {
|
||||||
|
return {
|
||||||
availableStyles: [],
|
availableStyles: [],
|
||||||
selected: false
|
selected: this.$store.state.config.theme
|
||||||
}),
|
}
|
||||||
|
},
|
||||||
created () {
|
created () {
|
||||||
const self = this
|
const self = this
|
||||||
window.fetch('/static/css/themes.json')
|
window.fetch('/static/css/themes.json')
|
||||||
|
|
Loading…
Reference in a new issue