2025-08-02 02:08:59 +02:00
|
|
|
import { atom } from 'jotai';
|
|
|
|
import { NowPlayingData } from '../mocks';
|
2025-08-02 06:15:42 +02:00
|
|
|
import { QueueItem } from '../models';
|
2025-08-02 02:08:59 +02:00
|
|
|
|
|
|
|
export const themeAtom = atom<'light' | 'dark' | 'red'>('light');
|
|
|
|
export const currentTrackAtom = atom<NowPlayingData>()
|
2025-08-02 06:15:42 +02:00
|
|
|
export const codaRecordsAtom = atom<QueueItem[]>([]);
|