mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
22 lines
704 B
SCSS
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;
|
|
} |