src/vs/workbench/contrib/comments/browser/commentColors.ts/getCommentThreadStateColor
export function getCommentThreadStateColor(state: languages.CommentThreadState | undefined, theme: IColorTheme): Color | undefined {
	const colorId = (state !== undefined) ? commentThreadStateColors.get(state) : undefined;
	return (colorId !== undefined) ? theme.getColor(colorId) : undefined;
}