| b55e0d00 Andy McCall ↶ | 1 | // A splash of colour: icons tinted with the Oxygen palette (the colours |
| 2 | // package.json contributes, so themes can override them). |
|
| 3 | ||
| 4 | import * as vscode from "vscode"; |
|
| 5 | ||
| 6 | /** A codicon, tinted with a contributed or theme colour. */ |
|
| 7 | export function icon(id: string, color?: string): vscode.ThemeIcon { |
|
| 8 | return new vscode.ThemeIcon(id, color ? new vscode.ThemeColor(color) : undefined); |
|
| 9 | } |
|
| 10 | ||
| 11 | export { operationLook, type OperationLook } from "./looks"; |