@import "color-palette.less";
@import "spacing.less";
@import "typography.less";

// This file collects all deprecated styles, together with the release they were
// marked as deprecated in.


// --- DEPRECATED IN 3.0.0 --- //

@fineprintColor: @color-light-copy;


// FONTS //

// Font sizes: we do not use separate font sizes for the different platforms
// anymore
@palmFontSizeXS:       @fontSizeXS;
@palmFontSizeS:        @fontSizeS;
@palmFontSizeStandard: @fontSizeStandard;
@palmFontSizeM:        @fontSizeM;
@palmFontSizeL:        @fontSizeL;
@palmFontSizeXL:       @fontSizeXL;
@palmFontSizeXXL:      @fontSizeXXL;
@palmFontSizeXXXL:     @fontSizeXXXL;

@lapAndUpFontSizeXS:       @fontSizeXS;
@lapAndUpFontSizeS:        @fontSizeS;
@lapAndUpFontSizeStandard: @fontSizeStandard;
@lapAndUpFontSizeM:        @fontSizeM;
@lapAndUpFontSizeL:        @fontSizeL;
@lapAndUpFontSizeXL:       @fontSizeXL;
@lapAndUpFontSizeXXL:      @fontSizeXXL;
@lapAndUpFontSizeXXXL:     @fontSizeXXXL;

@fontSizeFineprintPalm:     @palmFontSizeS;
@fontSizeFineprintLapAndUp: @lapAndUpFontSizeS;

@lineHeightXS: @lineHeightS;

// Deprecated because we do not use these values anymore
@headlineColor: @textColorStandard;
@linkInHeadlineColor: @blue2;
@lineHeightFinePrint: @lineHeightS;
@lineHeightHeadline: 1.33;

// backgrounds
@boxBackgroundColorPrimary:   @blue9;
@boxBackgroundColorSecondary: @gray9;

// signal colors
@signalColorErrorDark:    @color-validation-error-theme-core;
@signalColorErrorLight:   @color-validation-error-light-theme-core;
@signalColorWarningDark:  @color-validation-warning-theme-core;
@signalColorWarningLight: @color-validation-warning-light-theme-core;
@signalColorConfirmDark:  @color-validation-positive-theme-core;
@signalColorConfirmLight: @color-validation-positive-light-theme-core;
@signalColorInfoDark:     @color-validation-info-theme-core;
@signalColorInfoLight:    @color-validation-info-light-theme-core;

// -- Gutter specific standard spacing size

@palmGutterSpacingStandard: @palmSpacingL;
@lapAndUpGutterSpacingStandard: @lapAndUpSpacingL;

// forms
@formSpacingPalm:     @palmSpacingM;
@formSpacingLapAndUp: @lapAndUpSpacingM;

// form themes
@formLabelColor: @gray4;
@formElementPadding: 0.7142em;
@formThemeWhiteBackgroundColor:      @white;
@formThemeWhiteFieldsetBorderColor1: @borderColorStandard;
@formThemeWhiteFieldsetBorderColor2: @blue9;
@formThemeBlueBackgroundColor:      @gray9;
@formThemeBlueFieldsetBorderColor1: @borderColorStandard;
@formThemeBlueFieldsetBorderColor2: @white;
//buttons
@relativeButtonHeight:       unit(2.5 / @fontSizeS, em);
@buttonDisabledOpacity:      0.35;
@stickyButtonAreaZIndex:     100;

// --- Colors/Themes ---
// note: these differ from the official set of colors in some places;

@buttonTextColor:            @white;
// --- Primary Button
@buttonPrimaryBorder:          @color-primary-theme-core;
@buttonPrimaryBackground:      @color-primary-theme-core;
@buttonPrimaryHoverBorder:     @color-primary-hover-theme-core;
@buttonPrimaryHoverBackground: @color-primary-hover-theme-core;

// --- Secondary Button
@buttonSecondaryBorder:      @color-border-button-secondary-theme-core;
@buttonSecondaryBackground:  @color-secondary-theme-core;
@buttonSecondaryHoverBase:   @color-secondary-hover-theme-core;

// --- ghost button
@buttonGhostBorder:          @color-ghost-theme-core;
@buttonGhostBackground:      @white;
@buttonGhostTextColor:       @color-ghost-theme-core;
