(keys: string[], theme: 'd' | 'l')
| 91 | }); |
| 92 | |
| 93 | const themeMap = (keys: string[], theme: 'd' | 'l'): StyleMap => |
| 94 | Object.fromEntries( |
| 95 | keys.map((key) => [ |
| 96 | `${varPrefix}-${key}`, |
| 97 | `var(${sourcePrefix}-${theme}-${key})`, |
| 98 | ]), |
| 99 | ); |
| 100 | |
| 101 | const themes: Record<string, NestedRule> = {}; |
| 102 | groups.forEach((group) => { |