naive-ui/styles/themes/light/components/Upload.scss
2020-02-21 11:25:01 +08:00

22 lines
704 B
SCSS

@mixin setup-light-upload {
$--upload-file-item-background-color: (
'hover': change-color($--n-primary-color, $alpha: .1),
'error-hover': change-color($--n-error-color, $alpha: .1)
) !global;
$--upload-dragger-border-color: (
'default': $--n-border-color,
'hover': $--n-primary-color
) !global;
$--upload-dragger-background-color: (
'default': $--n-action-background-color
) !global;
$--upload-info-text-color: (
'default': $--n-secondary-text-color,
'error': $--n-error-color,
'success': $--n-success-color
) !global;
$--upload-info-icon-color: (
'default': $--n-icon-color
) !global;
$--upload-disabled-opacity: $--n-disabled-opacity !global;
}