/*
 * @Author: 焦质晔
 * @Date: 2021-02-09 14:11:02
 * @Last Modified by: 焦质晔
 * @Last Modified time: 2024-11-05 18:45:01
 */
@use './src/themes' as *;

@forward 'element-plus/theme-chalk/src/common/var.scss' with (
  // colors
  $colors:
    (
      'primary': (
        'base': $primary-color,
      ),
      'success': (
        'base': $success-color,
      ),
      'warning': (
        'base': $warning-color,
      ),
      'danger': (
        'base': $error-color,
      ),
      'error': (
        'base': $error-color,
      ),
      'info': (
        'base': $text-color-placeholder,
      )
    ),
  // font
  $text-color: (primary: $text-color-base, regular: $text-color-base, secondary: #808080, placeholder: #afafaf),
  $font-size: (
    'extra-large': $font-size-lg + 2px,
    'large': $font-size-lg,
    'medium': $font-size-base,
    'base': $font-size-base,
    'small': $font-size-base,
    'extra-small': $font-size-sm
  ),
  // border
  $border-color: ('base': $border-color-base, 'light': $border-color-base, 'lighter': $border-color-secondary, 'extra-light': #f0f0f0),
  $border-radius: ('base': $border-radius-base, 'small': $border-radius-base),
  // input
  $input: ('hover-border': $primary-color),
  $input-disabled: ('text-color': $text-color-placeholder),
  // select
  $select: ('border-color-hover': $primary-color),
  // button
  $button-border-radius: ('small': $border-radius-base),
  // dialog
  $dialog: ('margin-top': 10vh),
  // popup
  $popup: ('modal-opacity': 0.4),
  // other
  $border-color-hover: $primary-color
);
