/**
 * 项目统一的颜色配置
 * 集中管理所有颜色值，避免重复定义
 */ // 主要颜色
export var COLORS = {
    // 蓝色系
    blue: {
        primary: '#1677ff',
        light: '#D6EEFF',
        border: '#E6ECF4',
        dark: '#19213D',
        contrast: '#FFFFFF'
    },
    // 灰色系
    gray: {
        text: '#343A45',
        light: '#FBFCFD',
        border: '#E6ECF4',
        background: '#f0f0f0',
        card: '#FFFFFF'
    },
    // 红色系
    red: {
        error: '#FF4141',
        light: '#FFEDEC',
        border: '#f97583',
        background: '#ffeaea'
    },
    // 绿色系
    green: {
        success: '#52c41a',
        light: '#f6ffed',
        dark: '#00B341'
    },
    // 橙色系
    orange: {
        warning: '#faad14',
        light: '#fff7e6',
        border: '#ffd591'
    },
    // 状态颜色
    status: {
        info: '#1890ff',
        success: '#52c41a',
        warning: '#faad14',
        error: '#ff4d4f',
        processing: '#1890ff'
    },
    // 边框颜色
    border: {
        light: '#E6ECF4',
        default: '#d9d9d9',
        dark: '#bfbfbf'
    },
    // 背景颜色
    background: {
        light: '#FBFCFD',
        default: '#FFFFFF',
        dark: '#f5f5f5',
        error: '#FFEDEC',
        success: '#f6ffed',
        warning: '#fff7e6'
    }
};
// 导出常用颜色的别名，保持向后兼容
export var blue = COLORS.blue, gray = COLORS.gray, red = COLORS.red, green = COLORS.green, orange = COLORS.orange, status = COLORS.status, border = COLORS.border, background = COLORS.background;
// 导出单个颜色值，方便直接使用
export var PRIMARY_COLOR = blue.primary, LIGHT_BLUE = blue.light, BORDER_COLOR = blue.border, DARK_BLUE = blue.dark, CONTRAST_COLOR = blue.contrast;
export var TEXT_COLOR = gray.text, LIGHT_GRAY = gray.light, CARD_COLOR = gray.card;
export var ERROR_COLOR = red.error, ERROR_LIGHT = red.light;
export var SUCCESS_COLOR = green.success, SUCCESS_LIGHT = green.light;
export var WARNING_COLOR = orange.warning, WARNING_LIGHT = orange.light;
