Create your package using @sveltejs/package and preview/showcase your work with SvelteKit
3 |Visit kit.svelte.dev to read the documentation
4 | -------------------------------------------------------------------------------- /packages/theme/src/global/duration.ts: -------------------------------------------------------------------------------- 1 | export const durations = { 2 | 'ultra-fast': '50ms', 3 | 'faster': '100ms', 4 | 'fast': '150ms', 5 | 'normal': '200ms', 6 | 'slow': '300ms', 7 | 'slower': '400ms', 8 | 'ultra-slow': '500ms', 9 | } 10 | -------------------------------------------------------------------------------- /packages/core/src/lib/dialog/types.ts: -------------------------------------------------------------------------------- 1 | import type { HTMLAttributes } from 'svelte/elements'; 2 | 3 | export type DialogType = 'modal' | 'non-modal' | 'alert'; 4 | 5 | export type DialogProps = HTMLAttributesHello World ! Svelte is more than a Framework !
75 |before slot.
63 | after slot.
73 | before slot and another presentational value in the after slot.
84 |