import { getContext, setContext } from 'svelte'; const LucideContext = Symbol('lucide-context'); export interface LucideGlobalContext { color?: string; size?: number | string; strokeWidth?: number | string; /** * @deprecated Use `nonScalingStroke` instead. */ absoluteStrokeWidth?: boolean; nonScalingStroke?: boolean; class?: string; } export const setLucideProps = (globalProps: LucideGlobalContext) => setContext(LucideContext, globalProps); export const getLucideContext = () => getContext(LucideContext);