naive-ui/styles/themes/light/components/Progress.scss

15 lines
533 B
SCSS
Raw Normal View History

2019-10-18 16:45:40 +08:00
@mixin setup-light-progress {
2020-02-19 13:36:29 +08:00
$--progress-rail-color: $--n-divider-color !global;
2019-10-18 16:45:40 +08:00
$--progress-fill-color: (
2020-02-19 21:08:31 +08:00
'default': $--n-info-color,
'info': $--n-info-color,
'error': $--n-error-color,
'warning': $--n-warning-color,
'success': $--n-success-color
2019-10-18 16:45:40 +08:00
) !global;
$--progress-indicator-color: (
'outside': $--n-secondary-text-color,
'inside': white
) !global;
2019-12-09 15:12:53 +08:00
$--progress-line-processing-background-image: linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%) !global;
2019-10-18 16:45:40 +08:00
}