2
0
mirror of https://github.com/tusen-ai/naive-ui.git synced 2025-01-24 12:45:18 +08:00
naive-ui/styles/themes/dark/components/GradientText.scss
songwanli2025@163.com f5737f3df7 merge
2020-02-21 15:26:51 +08:00

10 lines
528 B
SCSS

@mixin setup-dark-gradient-text {
$--gradient-text-background-image: (
"default": linear-gradient(252deg, $--n-primary-color 0%, $--n-primary-hs-color 100%),
"success": linear-gradient(252deg, $--n-success-color 0%, $--n-success-hs-color 100%),
"warning": linear-gradient(252deg, $--n-warning-color 0%, $--n-warning-hs-color 100%),
"error": linear-gradient(252deg, $--n-error-color 0%, $--n-error-hs-color 100%),
"info": linear-gradient(252deg, $--n-info-color 0%, $--n-info-hs-color 100%),
) !global;
}