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
+3 -3
View File
@@ -30,15 +30,15 @@ const route = useRoute();
const playlistStore = usePlaylistStore();
onMounted(() => {
document.getElementById("modal-playlist-name-input").focus();
(document.getElementById("modal-playlist-name-input") as HTMLElement).focus();
});
const emit = defineEmits<{
(e: "title", title: string): void;
(e: "setTitle", title: string): void;
(e: "hideModal"): void;
}>();
emit("title", "New Playlist");
emit("setTitle", "New Playlist");
/**
* Create a new playlist. If this modal is called with a track,
+3 -3
View File
@@ -65,15 +65,15 @@ const props = defineProps<{
}>();
onMounted(() => {
document.getElementById("modal-playlist-name-input").focus();
(document.getElementById("modal-playlist-name-input") as HTMLElement).focus();
});
const emit = defineEmits<{
(e: "title", title: string): void;
(e: "setTitle", title: string): void;
(e: "hideModal"): void;
}>();
emit("title", "Update Playlist");
emit("setTitle", "Update Playlist");
function selectFiles() {
const input = document.getElementById(