mirror of
https://github.com/janishutz/MusicPlayer.git
synced 2026-09-10 14:25:24 +02:00
feat: playlist loading
This commit is contained in:
+24
-1
@@ -1,4 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
Notifications
|
||||
} from '@kyvg/vue3-notification';
|
||||
import {
|
||||
RouterView
|
||||
} from 'vue-router';
|
||||
@@ -35,6 +38,14 @@
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<notifications
|
||||
position="top center"
|
||||
:duration="5000"
|
||||
class="notifications"
|
||||
style="top: 20px;"
|
||||
width="400px"
|
||||
:max="3"
|
||||
/>
|
||||
<button id="themeSelector" title="Toggle between light and dark mode" @click="changeTheme();">
|
||||
<i :class="['fa-solid', 'fa-' + theme]"></i>
|
||||
</button>
|
||||
@@ -46,11 +57,23 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
<style lang="scss">
|
||||
body {
|
||||
background-color: var( --background-color );
|
||||
}
|
||||
|
||||
.notifications {
|
||||
.vue-notification {
|
||||
padding: 20px;
|
||||
.notification-title {
|
||||
font-size: 1rem;
|
||||
}
|
||||
.notification-text {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:root, :root.light {
|
||||
--primary-color: #0a1520;
|
||||
--secondary-color: white;
|
||||
|
||||
Reference in New Issue
Block a user