(name: string, fallback: string)
| 246 | const defineTheme = (m: typeof monacoInstance) => { |
| 247 | const css = getComputedStyle(document.documentElement) |
| 248 | const val = (name: string, fallback: string) => |
| 249 | css.getPropertyValue(name).trim() || fallback |
| 250 | const bg = val('--vscode-bg', '#0a0a0a') |
| 251 | const panel = val('--vscode-panel', '#0f0f0f') |
| 252 | const border = val('--vscode-panel-border', '#1a1a1a') |
no outgoing calls
no test coverage detected