
import { localize } from '../../../../nls.js';
import { registerColor } from '../colorUtils.js';
import { contrastBorder, activeContrastBorder } from './baseColors.js';
import { selectForeground, selectBackground } from './inputColors.js';
import { listActiveSelectionForeground, listActiveSelectionBackground } from './listColors.js';

const menuBorder = registerColor("menu.border", {
    dark: null,
    light: null,
    hcDark: contrastBorder,
    hcLight: contrastBorder
}, ( localize(2367, "Border color of menus.")));
const menuForeground = registerColor("menu.foreground", selectForeground, ( localize(2368, "Foreground color of menu items.")));
const menuBackground = registerColor("menu.background", selectBackground, ( localize(2369, "Background color of menu items.")));
registerColor("menu.selectionForeground", listActiveSelectionForeground, ( localize(2370, "Foreground color of the selected menu item in menus.")));
registerColor("menu.selectionBackground", listActiveSelectionBackground, ( localize(2371, "Background color of the selected menu item in menus.")));
const menuSelectionBorder = registerColor("menu.selectionBorder", {
    dark: null,
    light: null,
    hcDark: activeContrastBorder,
    hcLight: activeContrastBorder
}, ( localize(2372, "Border color of the selected menu item in menus.")));
const menuSeparatorBackground = registerColor("menu.separatorBackground", {
    dark: "#606060",
    light: "#D4D4D4",
    hcDark: contrastBorder,
    hcLight: contrastBorder
}, ( localize(2373, "Color of a separator menu item in menus.")));

export { menuBackground, menuBorder, menuForeground, menuSelectionBorder, menuSeparatorBackground };
