
import { localize } from '../../../../nls.js';
import { Color } from '../../../../base/common/color.js';
import { registerColor, transparent } from '../colorUtils.js';

const foreground = registerColor("foreground", {
    dark: "#CCCCCC",
    light: "#616161",
    hcDark: "#FFFFFF",
    hcLight: "#292929"
}, ( localize(
    2233,
    "Overall foreground color. This color is only used if not overridden by a component."
)));
registerColor("strongForeground", {
    dark: "#FFFFFF",
    light: "#000000",
    hcDark: "#FFFFFF",
    hcLight: "#000000"
}, ( localize(
    2234,
    "Highest-contrast foreground color, intended for text or icons that need maximum legibility across various backgrounds. This color is only used if not overridden by a component."
)));
const disabledForeground = registerColor("disabledForeground", {
    dark: "#CCCCCC80",
    light: "#61616180",
    hcDark: "#A5A5A5",
    hcLight: "#7F7F7F"
}, ( localize(
    2235,
    "Overall foreground for disabled elements. This color is only used if not overridden by a component."
)));
const errorForeground = registerColor("errorForeground", {
    dark: "#F48771",
    light: "#A1260D",
    hcDark: "#F48771",
    hcLight: "#B5200D"
}, ( localize(
    2236,
    "Overall foreground color for error messages. This color is only used if not overridden by a component."
)));
const descriptionForeground = registerColor("descriptionForeground", {
    light: "#717171",
    dark: ( transparent(foreground, 0.7)),
    hcDark: ( transparent(foreground, 0.7)),
    hcLight: ( transparent(foreground, 0.7))
}, ( localize(
    2237,
    "Foreground color for description text providing additional information, for example for a label."
)));
const iconForeground = registerColor("icon.foreground", {
    dark: "#C5C5C5",
    light: "#424242",
    hcDark: "#FFFFFF",
    hcLight: "#292929"
}, ( localize(2238, "The default color for icons in the workbench.")));
const focusBorder = registerColor("focusBorder", {
    dark: "#007FD4",
    light: "#0090F1",
    hcDark: "#F38518",
    hcLight: "#006BBD"
}, ( localize(
    2239,
    "Overall border color for focused elements. This color is only used if not overridden by a component."
)));
const contrastBorder = registerColor("contrastBorder", {
    light: null,
    dark: null,
    hcDark: "#6FC3DF",
    hcLight: "#0F4A85"
}, ( localize(
    2240,
    "An extra border around elements to separate them from others for greater contrast."
)));
const activeContrastBorder = registerColor("contrastActiveBorder", {
    light: null,
    dark: null,
    hcDark: focusBorder,
    hcLight: focusBorder
}, ( localize(
    2241,
    "An extra border around active elements to separate them from others for greater contrast."
)));
const selectionBackground = registerColor("selection.background", null, ( localize(
    2242,
    "The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."
)));
const textLinkForeground = registerColor("textLink.foreground", {
    light: "#006AB1",
    dark: "#3794FF",
    hcDark: "#21A6FF",
    hcLight: "#0F4A85"
}, ( localize(2243, "Foreground color for links in text.")));
const textLinkActiveForeground = registerColor("textLink.activeForeground", {
    light: "#006AB1",
    dark: "#3794FF",
    hcDark: "#21A6FF",
    hcLight: "#0F4A85"
}, ( localize(
    2244,
    "Foreground color for links in text when clicked on and on mouse hover."
)));
registerColor("textSeparator.foreground", {
    light: "#0000002e",
    dark: "#ffffff2e",
    hcDark: Color.black,
    hcLight: "#292929"
}, ( localize(2245, "Color for text separators.")));
registerColor("textPreformat.foreground", {
    light: "#A31515",
    dark: "#D7BA7D",
    hcDark: "#FFFFFF",
    hcLight: "#FFFFFF"
}, ( localize(2246, "Foreground color for preformatted text segments.")));
registerColor("textPreformat.background", {
    light: "#0000001A",
    dark: "#FFFFFF1A",
    hcDark: null,
    hcLight: "#09345f"
}, ( localize(2247, "Background color for preformatted text segments.")));
registerColor("textPreformat.border", {
    light: null,
    dark: null,
    hcDark: contrastBorder,
    hcLight: null
}, ( localize(2248, "Border color for preformatted text segments.")));
registerColor("textBlockQuote.background", {
    light: "#f2f2f2",
    dark: "#222222",
    hcDark: null,
    hcLight: "#F2F2F2"
}, ( localize(2249, "Background color for block quotes in text.")));
registerColor("textBlockQuote.border", {
    light: "#007acc80",
    dark: "#007acc80",
    hcDark: Color.white,
    hcLight: "#292929"
}, ( localize(2250, "Border color for block quotes in text.")));
registerColor("textCodeBlock.background", {
    light: "#dcdcdc66",
    dark: "#0a0a0a66",
    hcDark: Color.black,
    hcLight: "#F2F2F2"
}, ( localize(2251, "Background color for code blocks in text.")));

export { activeContrastBorder, contrastBorder, descriptionForeground, disabledForeground, errorForeground, focusBorder, foreground, iconForeground, selectionBackground, textLinkActiveForeground, textLinkForeground };
