/* (c) Copyright Frontify Ltd., all rights reserved. */

module.exports = {
    button: {
        // Default Style
        'background-color': { value: '{box.neutral-color.value}', attributes: { category: 'color' } },
        'background-color-hover': { value: '{box.neutral-color-hover.value}', attributes: { category: 'color' } },
        'background-color-pressed': { value: '{box.neutral-color-pressed.value}', attributes: { category: 'color' } },
        'text-color': { value: '{text.color.value}', attributes: { category: 'color' } },
        'icon-color': { value: '{text.color.value}', attributes: { category: 'color' } },
        'border-color': { value: '{line.color-weak.value}', attributes: { category: 'color' } },

        'negative-background-color': { value: '{button.background-color.value}', attributes: { category: 'color' } },
        'negative-background-color-hover': {
            value: '{button.background-color-hover.value}',
            attributes: { category: 'color' },
        },
        'negative-background-color-pressed': {
            value: '{button.background-color-pressed.value}',
            attributes: { category: 'color' },
        },
        'negative-text-color': { value: '{button.text-color.value}', attributes: { category: 'color' } },
        'negative-icon-color': { value: '{text.color-negative.value}', attributes: { category: 'color' } },
        'negative-border-color': { value: '{line.color-weak.value}', attributes: { category: 'color' } },

        'positive-background-color': { value: '{button.background-color.value}', attributes: { category: 'color' } },
        'positive-background-color-hover': {
            value: '{button.background-color-hover.value}',
            attributes: { category: 'color' },
        },
        'positive-background-color-pressed': {
            value: '{button.background-color-pressed.value}',
            attributes: { category: 'color' },
        },
        'positive-text-color': { value: '{button.text-color.value}', attributes: { category: 'color' } },
        'positive-icon-color': { value: '{text.color-positive.value}', attributes: { category: 'color' } },
        'positive-border-color': { value: '{line.color-weak.value}', attributes: { category: 'color' } },

        // Strong Style
        'strong-background-color': { value: '{box.neutral-strong-color.value}', attributes: { category: 'color' } },
        'strong-background-color-hover': {
            value: '{box.neutral-strong-color-hover.value}',
            attributes: { category: 'color' },
        },
        'strong-background-color-pressed': {
            value: '{box.neutral-strong-color-pressed.value}',
            attributes: { category: 'color' },
        },
        'strong-text-color': { value: '{box.neutral-strong-inverse-color.value}', attributes: { category: 'color' } },
        'strong-icon-color': { value: '{box.neutral-strong-inverse-color.value}', attributes: { category: 'color' } },
        'strong-border-color': { value: '{line.color-weak.value}', attributes: { category: 'color' } },

        'strong-negative-background-color': {
            value: '{button.strong-background-color.value}',
            attributes: { category: 'color' },
        },
        'strong-negative-background-color-hover': {
            value: '{button.strong-background-color-hover.value}',
            attributes: { category: 'color' },
        },
        'strong-negative-background-color-pressed': {
            value: '{button.strong-background-color-pressed.value}',
            attributes: { category: 'color' },
        },
        'strong-negative-text-color': { value: '{button.strong-text-color.value}', attributes: { category: 'color' } },
        'strong-negative-icon-color': { value: '{color.red.40.value}', attributes: { category: 'color' } },
        'strong-negative-border-color': { value: '{line.color-weak.value}', attributes: { category: 'color' } },

        'strong-positive-background-color': {
            value: '{button.strong-background-color.value}',
            attributes: { category: 'color' },
        },
        'strong-positive-background-color-hover': {
            value: '{button.strong-background-color-hover.value}',
            attributes: { category: 'color' },
        },
        'strong-positive-background-color-pressed': {
            value: '{button.strong-background-color-pressed.value}',
            attributes: { category: 'color' },
        },
        'strong-positive-text-color': { value: '{button.strong-text-color.value}', attributes: { category: 'color' } },
        'strong-positive-icon-color': { value: '{color.green.50.value}', attributes: { category: 'color' } },
        'strong-positive-border-color': { value: '{line.color-weak.value}', attributes: { category: 'color' } },

        // Danger Style
        'danger-background-color': { value: '{color.red.80.value}', attributes: { category: 'color' } },
        'danger-background-color-hover': { value: '{color.red.90.value}', attributes: { category: 'color' } },
        'danger-background-color-pressed': { value: '{color.red.100.value}', attributes: { category: 'color' } },
        'danger-text-color': { value: '{color.grey.0.value}', attributes: { category: 'color' } },
        'danger-icon-color': { value: '{color.grey.0.value}', attributes: { category: 'color' } },
        'danger-border-color': { value: '{line.color-weak.value}', attributes: { category: 'color' } },
    },
};
