mirror of
https://akkoma.dev/lamp/akkoma-fe.git
synced 2025-04-14 11:44:04 -04:00
fix theme tab
This commit is contained in:
parent
dfb376cbd4
commit
ecefbac4ec
src/components/settings_modal/tabs/theme_tab
@ -757,9 +757,6 @@ export default {
|
||||
},
|
||||
selectedTheme () {
|
||||
this.dismissWarning()
|
||||
if (Object.prototype.toString.call(this.selected) === '[object String]') {
|
||||
this.selected = JSON.parse(this.selected)
|
||||
}
|
||||
if (this.selectedVersion === 1) {
|
||||
if (!this.keepRoundness) {
|
||||
this.clearRoundness()
|
||||
|
@ -63,7 +63,7 @@
|
||||
<option
|
||||
v-for="style in availableStyles"
|
||||
:key="style.name"
|
||||
:value="JSON.stringify(style)"
|
||||
:value="style.name || style[0]"
|
||||
:style="{
|
||||
backgroundColor: style[1] || (style.theme || style.source).colors.bg,
|
||||
color: style[3] || (style.theme || style.source).colors.text
|
||||
|
Loading…
x
Reference in New Issue
Block a user