(theme: ARGBTheme)
| 48 | }; |
| 49 | |
| 50 | const argbThemeToHexTheme = (theme: ARGBTheme) => { |
| 51 | return Object.fromEntries( |
| 52 | //@ts-ignore |
| 53 | Object.entries(theme).map(([key, value]) => [key, Color(value).hex()]) |
| 54 | ) as CSSTheme; |
| 55 | }; |
| 56 | |
| 57 | const argbThemeToRgbTheme = (theme: ARGBTheme) => { |
| 58 | return Object.fromEntries( |
no outgoing calls
no test coverage detected
searching dependent graphs…