2024-02-01 20:18:03 +01:00
|
|
|
import { writable } from 'svelte/store';
|
|
|
|
|
|
|
|
|
|
export const globalStore = writable<{
|
|
|
|
|
isDark: boolean;
|
|
|
|
|
isOrgSite: boolean;
|
|
|
|
|
orgSiteName: string;
|
|
|
|
|
isStudent?: boolean;
|
|
|
|
|
}>({
|
|
|
|
|
isDark: false,
|
|
|
|
|
isOrgSite: false,
|
|
|
|
|
orgSiteName: '',
|
|
|
|
|
isStudent: undefined
|
|
|
|
|
});
|