Files
Lazuli/src/lib/stores.ts
2024-04-15 22:26:38 -04:00

12 lines
530 B
TypeScript

import { writable, type Writable } from 'svelte/store'
import type { AlertType } from '$lib/components/util/alert.svelte'
export const pageWidth: Writable<number> = writable()
export const newestAlert: Writable<[AlertType, string]> = writable()
export const queue: Writable<Song[]> = writable()
const youtubeMusicBackground: string = 'https://www.gstatic.com/youtube/media/ytm/images/sbg/wsbg@4000x2250.png' // Default Youtube music background
export const backgroundImage: Writable<string> = writable(youtubeMusicBackground)