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 19:58:39 +08:00
'default': $--info-default,
'info': $--info-default,
'error': $--error-default,
'warning': $--warning-default,
'success': $--success-default
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
}