fix: color options were not displaying correctly

This commit is contained in:
Hakadao
2023-03-31 14:53:23 +08:00
parent 5f3a5d1f7e
commit 06a63d87a2

View File

@@ -171,8 +171,8 @@ function changeThemeColor(color: string) {
<div
v-for="item in themeColorOptions" :key="item.value"
w-20px h-20px rounded-8 cursor-pointer transition duration-300
:bg="item.value"
:style="{
background: item.value,
transform: item.value === settings.themeColor ? 'scale(1.2)' : 'scale(1)',
border: item.value === settings.themeColor ? '2px solid var(--bew-text-1)' : 'none',
}"