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

15 lines
608 B
SCSS
Raw Normal View History

2019-10-18 16:45:40 +08:00
@mixin setup-light-progress {
2020-02-19 22:37:20 +08:00
$--progress-rail-color: change-color($--n-rail-color, $alpha: alpha($--n-rail-color) * 0.6) !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;
2020-02-22 18:08:53 +08:00
$--progress-indicator-text-color: (
2019-10-18 16:45:40 +08:00
'outside': $--n-secondary-text-color,
2020-02-22 18:08:53 +08:00
'inside': $--n-base-background-color
2019-10-18 16:45:40 +08:00
) !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
}