2024-01-25 03:05:13 -05:00
|
|
|
import { writable, type Writable } from 'svelte/store'
|
|
|
|
|
import type { AlertType } from '$lib/components/util/alert.svelte'
|
2024-01-21 23:51:15 -05:00
|
|
|
|
2024-01-27 01:38:04 -05:00
|
|
|
export const pageWidth: Writable<number> = writable()
|
2024-01-21 23:51:15 -05:00
|
|
|
|
2024-01-27 01:38:04 -05:00
|
|
|
export const newestAlert: Writable<[AlertType, string]> = writable()
|
2024-01-21 23:51:15 -05:00
|
|
|
|
2024-04-05 02:00:17 -04:00
|
|
|
export const currentlyPlaying: Writable<Song | null> = writable()
|
2024-01-21 23:51:15 -05:00
|
|
|
|
|
|
|
|
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)
|