mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
Update appearance component to include custom color picker
This commit is contained in:
@@ -105,6 +105,21 @@ function changeWallpaper(url: string) {
|
||||
}"
|
||||
@click="changeThemeColor(color)"
|
||||
/>
|
||||
<div
|
||||
w-20px h-20px rounded-8 cursor-pointer transition
|
||||
overflow-hidden
|
||||
flex items-center justify-center
|
||||
>
|
||||
<input
|
||||
:value="settings.themeColor"
|
||||
min-w-30px
|
||||
h-30px
|
||||
padding-0
|
||||
block
|
||||
type="color"
|
||||
@input="(e) => changeThemeColor((e.target as HTMLInputElement)?.value)"
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</SettingsItem>
|
||||
</SettingsItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user