naive-ui/styles/themes/dark/components/Badge.scss
2020-02-19 21:08:31 +08:00

17 lines
599 B
SCSS

@mixin setup-dark-badge {
$--badge-background-color: (
"default": $--n-error-hs-color,
"info": $--n-info-hs-color,
"success": $--n-success-hs-color,
"error": $--n-error-hs-color,
"warning": $--n-warning-hs-color
) !global;
$--badge-rippling-color: (
"default": mix($--n-error-hs-color, white, 75%),
"info": mix($--n-info-hs-color, white, 75%),
"success": mix($--n-success-hs-color, white, 75%),
"error": mix($--n-error-hs-color, white, 75%),
"warning": mix($--n-warning-hs-color, white, 75%)
) !global;
$--badge-rippling-start-opacity: .6 !global;
}