mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
24 lines
824 B
SCSS
24 lines
824 B
SCSS
@mixin setup-light-message {
|
|
$--message-text-color: (
|
|
"info": $--n-base-background-color,
|
|
"success": $--n-base-background-color,
|
|
"error": $--n-base-background-color,
|
|
"warning": $--n-base-background-color,
|
|
"loading": $--n-secondary-text-color
|
|
) !global;
|
|
$--message-icon-color: rgba(255, 255, 255, .45) !global;
|
|
$--message-background-color: (
|
|
"info": $--n-info-color,
|
|
"success": $--n-success-color,
|
|
"error": $--n-error-color,
|
|
"warning": $--n-warning-color,
|
|
"loading": $--n-popover-background-color
|
|
) !global;
|
|
$--message-box-shadow: (
|
|
"info": $--n-message-colored-box-shadow,
|
|
"success": $--n-message-colored-box-shadow,
|
|
"error": $--n-message-colored-box-shadow,
|
|
"warning": $--n-message-colored-box-shadow,
|
|
"loading": $--n-popmenu-box-shadow
|
|
) !global;
|
|
} |