naive-ui/styles/themes/light/components/GradientText.scss
songwanli2025@163.com f5737f3df7 merge
2020-02-21 15:26:51 +08:00

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;
}