(themeData: Theme['data'])
| 80 | } |
| 81 | |
| 82 | formatCSSVariables(themeData: Theme['data']) { |
| 83 | return Object.keys(themeData).map( |
| 84 | cssVar => ('--' + cssVar + ':' + themeData[cssVar]) |
| 85 | ).join(';'); |
| 86 | } |
| 87 | |
| 88 | applyTheme(theme: Theme) { |
| 89 | if (typeof window === 'undefined' || typeof document === 'undefined') { |
no outgoing calls
no test coverage detected