mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
17 lines
599 B
SCSS
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;
|
|
} |