major redesign: move to rounded and extra spaceous UI

+ fix `play next` bug
+ add new folder banner image
+ add new now playing component
+ move to gray4 for accent color
+ increase image sizes, for clean UI
This commit is contained in:
geoffrey45
2022-08-18 02:55:46 +03:00
parent a7dc2fa6bd
commit 5476575d10
40 changed files with 339 additions and 328 deletions
+7 -22
View File
@@ -1,15 +1,15 @@
<template>
<div
class="playbtnrect rounded"
<button
class="playbtnrect"
@click="usePlayFrom(source, useQStore, store)"
:style="{
backgroundColor: background.color,
background: background?.color,
}"
:class="{ playbtnrectdark: background.isDark }"
:class="{ playbtnrectdark: background?.isDark }"
>
<playBtnSvg />
<div class="text">Play</div>
</div>
</button>
</template>
<script setup lang="ts">
@@ -40,24 +40,9 @@ defineProps<{
width: 6rem;
display: flex;
align-items: center;
height: 2.5rem;
padding-left: 0.75rem;
cursor: pointer;
user-select: none;
color: $white;
justify-content: center;
transition: all 0.5s ease-in-out;
.icon {
height: 2rem;
width: 2rem;
background-image: url("../../assets/icons/play.svg");
}
&:hover {
.icon {
transform: rotate(120deg);
}
}
color: $white;
}
.playbtnrectdark {