mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
24 lines
728 B
SCSS
24 lines
728 B
SCSS
@mixin setup-light-message {
|
|
$--message-text-color: (
|
|
"info": white,
|
|
"success": white,
|
|
"error": white,
|
|
"warning": white,
|
|
"loading": $--n-secondary-text-color
|
|
) !global;
|
|
$--message-icon-color: rgba(255, 255, 255, .45) !global;
|
|
$--message-background-color: (
|
|
"info": $--info-6,
|
|
"success": $--success-6,
|
|
"error": $--error-6,
|
|
"warning": $--warning-6,
|
|
"loading": $--n-popover-color
|
|
) !global;
|
|
$--message-box-shadow: (
|
|
"info": 0px 2px 20px 0px rgba(0, 0, 0, .3),
|
|
"success": 0px 2px 20px 0px rgba(0, 0, 0, .3),
|
|
"error": 0px 2px 20px 0px rgba(0, 0, 0, .3),
|
|
"warning": 0px 2px 20px 0px rgba(0, 0, 0, .3),
|
|
"loading": 0px 2px 20px 0px rgba(0, 0, 0, .3)
|
|
) !global;
|
|
} |