{"version":3,"file":"from-theme.mjs","sources":["../../src/lib/from-theme.ts"],"sourcesContent":["import { ThemeGetter, ThemeObject } from './types'\n\nexport function fromTheme(key: string): ThemeGetter {\n    const themeGetter = (theme: ThemeObject) => theme[key] || []\n\n    themeGetter.isThemeGetter = true as const\n\n    return themeGetter\n}\n"],"names":["fromTheme","key","themeGetter","theme","isThemeGetter"],"mappings":"AAEM,SAAUA,SAAV,CAAoBC,GAApB,EAA+B;AACjC,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAc,CAACC,KAAD,EAAA;AAAA,IAAA,OAAwBA,KAAK,CAACF,GAAD,CAAL,IAAc,EAAtC,CAAA;GAApB,CAAA;;EAEAC,WAAW,CAACE,aAAZ,GAA4B,IAA5B,CAAA;AAEA,EAAA,OAAOF,WAAP,CAAA;AACH;;;;"}