(css: string)
| 28 | } |
| 29 | |
| 30 | function applyStyleSheet(css: string) { |
| 31 | if (custom) { |
| 32 | custom.theme = {...custom.theme, ...{stylesheet: css}}; |
| 33 | actions.changeSettings({customThemes: data.settings.customThemes}); |
| 34 | } else { |
| 35 | actions.setTheme({stylesheet: css}); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | function showDialog() { |
| 40 | context.store.isDialogVisible = true; |
no test coverage detected