mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-08 04:21:21 +00:00
breaking: Refactor global stores for Modal, Toast, and Drawer (#1831)
Co-authored-by: endigo9740 <gundamx9740@gmail.com>
This commit is contained in:
@@ -11,14 +11,16 @@
|
||||
import DocsIcon from '$lib/components/DocsIcon/DocsIcon.svelte';
|
||||
|
||||
// Components & Utilities
|
||||
import { AppBar, LightSwitch, popup, modalStore } from '@skeletonlabs/skeleton';
|
||||
import { AppBar, LightSwitch, popup, getModalStore } from '@skeletonlabs/skeleton';
|
||||
|
||||
// Stores
|
||||
import { drawerStore } from '@skeletonlabs/skeleton';
|
||||
import { getDrawerStore } from '@skeletonlabs/skeleton';
|
||||
import { storeTheme } from '$lib/stores/stores';
|
||||
const drawerStore = getDrawerStore();
|
||||
|
||||
// Local
|
||||
let isOsMac = false;
|
||||
const modalStore = getModalStore();
|
||||
|
||||
// Set Search Keyboard Shortcut
|
||||
if (browser) {
|
||||
|
||||
Reference in New Issue
Block a user