"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.semanticColorsMethod = exports.semanticColors = exports.basicColors = exports.generateHexWithAlphaInLightMode = void 0;
const hexPrefixOpacity = {
    '0%': '00',
    '5%': '0C',
    '10%': '19',
    '15%': '26',
    '20%': '33',
    '25%': '3F',
    '30%': '4C',
    '35%': '59',
    '40%': '66',
    '45%': '72',
    '50%': '7F',
    '55%': '8C',
    '60%': '99',
    '65%': 'A5',
    '70%': 'B2',
    '75%': 'BF',
    '80%': 'CC',
    '85%': 'D8',
    '90%': 'E5',
    '95%': 'F2',
    '100%': 'FF',
};
// https://pfcoworkspace.slack.com/archives/C04ETT1DJHJ/p1671612778867049
const generateHexWithAlphaInLightMode = (hexColor, alpha) => `${hexColor}${hexPrefixOpacity[alpha]}`;
exports.generateHexWithAlphaInLightMode = generateHexWithAlphaInLightMode;
const basicColors = {
    white: '#ffffff',
    black: '#000000',
    darkGray: '#262626',
    deepDarkGray: '#1B1B1B',
    pink5: '#FFFAFD',
    pink25: '#fff4fa',
    pink50: '#ffeaf5',
    pink100: '#ffc6e3',
    pink200: '#fe99ce',
    pink300: '#fe67b5',
    pink400: '#fe2c99',
    pink500: '#eb1584',
    pink600: '#de0475',
    pink700: '#ca036a',
    pink800: '#b2005c',
    pink900: '#970051',
    blue5: '#F9FCFF',
    blue25: '#f1f9ff',
    blue50: '#e3f4ff',
    blue100: '#bbe2ff',
    blue200: '#8dd0ff',
    blue300: '#48afff',
    blue400: '#007dff',
    blue500: '#1269ec',
    blue600: '#0c5cd3',
    blue700: '#114bbd',
    blue800: '#073ca4',
    blue900: '#00308d',
    gray5: '#FAFBFC',
    gray25: '#f5f6f7',
    gray50: '#eceff1',
    gray100: '#d0d8dc',
    gray200: '#b0bec5',
    gray300: '#90a4af',
    gray400: '#78909d',
    gray500: '#617d8b',
    gray600: '#556e7b',
    gray700: '#455a65',
    gray800: '#37474f',
    gray900: '#263238',
    purple5: '#FCFBFF',
    purple25: '#F9F4FF',
    purple50: '#f4eefe',
    purple100: '#d4befb',
    purple200: '#b48ef8',
    purple300: '#955dff',
    purple400: '#732ff1',
    purple500: '#602fe4',
    purple600: '#521ddf',
    purple700: '#491ac6',
    purple800: '#3e16a8',
    purple900: '#33128a',
    red5: '#FFFBFC',
    red25: '#FFF6F9',
    red50: '#ffeff2',
    red100: '#ffb7c4',
    red200: '#ff738c',
    red300: '#ff5170',
    red400: '#ff2f54',
    red500: '#ff0d38',
    red600: '#ea002a',
    red700: '#c80024',
    red800: '#a6001e',
    red900: '#840018',
    green5: '#F8FFFA',
    green25: '#F0FFF6',
    green50: '#dcf9e8',
    green100: '#a7ebbe',
    green200: '#57db84',
    green300: '#1fcc5a',
    green400: '#19b14d',
    green500: '#159340',
    green600: '#117533',
    green700: '#0d5826',
    green800: '#0a4920',
    green900: '#083a19',
    yellow5: '#FFFDF4',
    yellow25: '#FFFBE6',
    yellow50: '#fff7e0',
    yellow100: '#ffe59c',
    yellow200: '#ffd55e',
    yellow300: '#ffcd4b',
    yellow400: '#FFB712',
    yellow500: '#EFA600',
    yellow600: '#CD8E00',
    yellow700: '#AB7700',
    yellow800: '#895F00',
    yellow900: '#745000',
    lime5: '#F9FEF9',
    lime25: '#F3FDF3',
    lime50: '#E7FCE8',
    lime100: '#BFF4C1',
    lime200: '#7EEE87',
    lime300: '#60DF6A',
    lime400: '#37C94D',
    lime500: '#16B234',
    lime600: '#139D2D',
    lime700: '#0D8323',
    lime800: '#0E6C1F',
    lime900: '#045613',
    mint5: '#F4FEFD',
    mint25: '#ECFCFB',
    mint50: '#E0F8F7',
    mint100: '#B4F6EE',
    mint200: '#76EBE6',
    mint300: '#3DE2DA',
    mint400: '#02D1C8',
    mint500: '#02B8AE',
    mint600: '#029F94',
    mint700: '#02867A',
    mint800: '#026D60',
    mint900: '#015447',
    skyblue5: '#F5FEFF',
    skyblue25: '#EBFCFF',
    skyblue50: '#E6FBFF',
    skyblue100: '#CBEFFF',
    skyblue200: '#9DE1FF',
    skyblue300: '#70D3FF',
    skyblue400: '#2EBFFF',
    skyblue500: '#02B2FF',
    skyblue600: '#00A5ED',
    skyblue700: '#0092D3',
    skyblue800: '#007CB2',
    skyblue900: '#005F89',
    indigo5: '#FAFAFF',
    indigo25: '#F2F2FF',
    indigo50: '#ECECFF',
    indigo100: '#C0C4FF',
    indigo200: '#8D99FF',
    indigo300: '#606FFF',
    indigo400: '#3F52FF',
    indigo500: '#3948EC',
    indigo600: '#2D3CDC',
    indigo700: '#2835BE',
    indigo800: '#202BA4',
    indigo900: '#162191',
    orange5: '#FFFAF7',
    orange25: '#FFF5EF',
    orange50: '#FFF0E5',
    orange100: '#FFCCAD',
    orange200: '#FFA168',
    orange300: '#FF8B44',
    orange400: '#FF7B2B',
    orange500: '#FF6B10',
    orange600: '#F55D00',
    orange700: '#D85200',
    orange800: '#BA4700',
    orange900: '#983A00',
};
exports.basicColors = basicColors;
// TODO: darkmode 적용할때 점검 필요
const semanticColors = {
    backgroundBasic: basicColors.white,
    backgroundDeep: basicColors.gray25,
    buttonGrayMainAbledText: basicColors.white,
    buttonMainDisabledText: basicColors.white,
    toastMessageContainer: `${generateHexWithAlphaInLightMode(basicColors.gray900, '80%')}`,
    toastMessageMiniButtonEnabledContainer: basicColors.gray800,
    toastMessageMiniButtonHoverContainer: basicColors.gray700,
    toastMessageMiniButtonFocusContainer: basicColors.gray600,
    controlGraySwitchEnabledOnContainer: basicColors.gray900,
    controlSwitchEnabledOffInnerCircle: basicColors.white,
    controlSwitchDisabledOnInnerCircle: basicColors.white,
    controlSwitchDisabledOffInnerCircle: basicColors.white,
    dividerM: basicColors.gray25,
    card: basicColors.white,
    segmentControlContainer: basicColors.gray50,
    segmentControlSegment: basicColors.white,
    datepickerDayFocusTextInGray: basicColors.white,
    datepickerTodayFocusDotInGray: basicColors.white,
    chipDefaultText: basicColors.gray700, // TODO: rename only gray
};
exports.semanticColors = semanticColors;
const semanticColorsMethod = {
    buttonSubDisabledText: (colorType) => basicColors[`${colorType}100`],
};
exports.semanticColorsMethod = semanticColorsMethod;
