import { UniwindRuntime, UniwindStore } from '../../core/native' import type { UniwindContextType } from '../../core/types' export const getVariableValue = (name: string, uniwindContext: UniwindContextType) => { const vars = UniwindStore.vars[uniwindContext.scopedTheme ?? UniwindRuntime.currentThemeName] return vars?.[name]?.(vars) }