mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
17 lines
519 B
SCSS
17 lines
519 B
SCSS
@mixin setup-dark-badge {
|
|
$--badge-background-color: (
|
|
"default": $--error-hs,
|
|
"info": $--info-hs,
|
|
"success": $--success-hs,
|
|
"error": $--error-hs,
|
|
"warning": $--warning-hs
|
|
) !global;
|
|
$--badge-rippling-color: (
|
|
"default": mix($--error-hs, white, 75%),
|
|
"info": mix($--info-hs, white, 75%),
|
|
"success": mix($--success-hs, white, 75%),
|
|
"error": mix($--error-hs, white, 75%),
|
|
"warning": mix($--warning-hs, white, 75%)
|
|
) !global;
|
|
$--badge-rippling-start-opacity: .6 !global;
|
|
} |