@import '../../style/themes/index.less';


@button-prefix-cls: ~'@{pxx-prefix}-button';

@button-font-weight: 400;
@button-border-radius-base: @border-radius-base;
@button-border-radius-sm: @border-radius-base;
@button-border-width: @border-width-base;
@button-border-style: @border-style-base;
@button-shadow: 0 2* @hd 0 rgba(0, 0, 0, 0.015);
@button-primary-shadow: 0 2* @hd 0 rgba(0, 0, 0, 0.045);
@button-text-shadow: 0 -1* @hd 0 rgba(0, 0, 0, 0.12);

@button-primary-color: #fff;
@button-primary-bg: @primary-color;

@button-blue-color: @text-color;
@button-blue-bg: #E4EFFF;

@button-gray-color: #1E58F0;
@button-gray-bg: #F1F2F7;

@button-default-color: @text-color;
@button-default-bg: @component-background;
@button-default-border: @border-color-base;

@button-danger-color: #fff;
@button-danger-bg: @error-color;
@button-danger-border: @error-color;

@button-disable-color: @disabled-color;
@button-disable-bg: @disabled-bg;
@button-disable-border: @border-color-base;

@button-default-ghost-color: @component-background;
@button-default-ghost-bg: transparent;
@button-default-ghost-border: @component-background;

@button-font-size-lg: @font-size-lg;
@button-font-size-sm: @font-size-base;
@button-padding-horizontal-base: @padding-md - 1 * @hd;
@button-padding-horizontal-lg: @button-padding-horizontal-base;
@button-padding-horizontal-sm: @padding-xs - 1 * @hd;

@button-height-base: @height-base;
@button-height-lg: @height-lg;
@button-height-sm: @height-sm;

@button-line-height: @line-height-base;

@button-circle-size: @button-height-base;
@button-circle-size-lg: @button-height-lg;
@button-circle-size-sm: @button-height-sm;

@button-square-size: @button-height-base;
@button-square-size-lg: @button-height-lg;
@button-square-size-sm: @button-height-sm;
@button-square-only-icon-size: @font-size-base + 2*@hd;
@button-square-only-icon-size-sm: @font-size-base;
@button-square-only-icon-size-lg: @button-font-size-lg + 2*@hd;

@button-group-border: @primary-5;

@button-link-hover-bg: transparent;
@button-text-hover-bg: rgba(0, 0, 0, 0.018);

// for compatible
@button-ghost-color: @text-color;
@button-ghost-bg: transparent;
@button-ghost-border: @border-color-base;
