mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
9 lines
643 B
SCSS
9 lines
643 B
SCSS
@mixin setup-light-gradient-text {
|
|
$--gradient-text-background-image: (
|
|
"default": linear-gradient(252deg, change-color($--n-primary-color, $alpha: .6) 0%, $--n-primary-color 100%),
|
|
"success": linear-gradient(252deg, change-color($--n-success-color, $alpha: .6) 0%, $--n-success-color 100%),
|
|
"warning": linear-gradient(252deg, change-color($--n-warning-color, $alpha: .6) 0%, $--n-warning-color 100%),
|
|
"error": linear-gradient(252deg, change-color($--n-error-color, $alpha: .6) 0%, $--n-error-color 100%),
|
|
"info": linear-gradient(252deg, change-color($--n-info-color, $alpha: .6) 0%, $--n-info-color 100%),
|
|
) !global;
|
|
} |