import { localize } from '../../../../nls.js';
import { registerColor, transparent } from '../colorUtils.js';
import { foreground } from './baseColors.js';
import { editorErrorForeground, editorInfoForeground, editorWarningForeground } from './editorColors.js';
import { minimapFindMatch } from './minimapColors.js';

/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/
registerColor('charts.foreground', foreground, localize(1809, "The foreground color used in charts."));
registerColor('charts.lines', transparent(foreground, .5), localize(1810, "The color used for horizontal lines in charts."));
registerColor('charts.red', editorErrorForeground, localize(1811, "The red color used in chart visualizations."));
registerColor('charts.blue', editorInfoForeground, localize(1812, "The blue color used in chart visualizations."));
registerColor('charts.yellow', editorWarningForeground, localize(1813, "The yellow color used in chart visualizations."));
registerColor('charts.orange', minimapFindMatch, localize(1814, "The orange color used in chart visualizations."));
registerColor('charts.green', { dark: '#89D185', light: '#388A34', hcDark: '#89D185', hcLight: '#374e06' }, localize(1815, "The green color used in chart visualizations."));
registerColor('charts.purple', { dark: '#B180D7', light: '#652D90', hcDark: '#B180D7', hcLight: '#652D90' }, localize(1816, "The purple color used in chart visualizations."));
