()
| 34 | } |
| 35 | |
| 36 | function getVscodeThemeClassName() { |
| 37 | const classList = [].slice.apply(document.body.classList) as string[]; |
| 38 | const prefixed = classList.filter(className => className.indexOf('vscode') === 0); |
| 39 | if (prefixed.length) { |
| 40 | return prefixed[0]; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | interface State { |
| 45 | compactUI: boolean; |
no test coverage detected