2019-06-04 16:01:34 +08:00
|
|
|
@import './mixins/mixins.scss';
|
2020-02-11 14:44:29 +08:00
|
|
|
|
2019-10-16 23:20:40 +08:00
|
|
|
@mixin gradient-text-type-mixin ($type) {
|
|
|
|
@include m($type + '-type') {
|
|
|
|
background-image: map-get($--gradient-text-background-image, $type);
|
2019-06-28 16:56:57 +08:00
|
|
|
}
|
2019-10-16 23:20:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@include themes-mixin {
|
|
|
|
@include b(gradient-text) {
|
|
|
|
@include once {
|
2019-12-21 22:06:06 +08:00
|
|
|
display: inline-block;
|
2020-02-27 23:02:58 +08:00
|
|
|
font-weight: $--n-strong-weight;
|
2019-10-16 23:20:40 +08:00
|
|
|
font-size: inherit;
|
|
|
|
background-clip: text;
|
|
|
|
color: transparent;
|
2020-03-12 21:32:47 +08:00
|
|
|
white-space: nowrap;
|
2019-10-16 23:20:40 +08:00
|
|
|
}
|
|
|
|
@include gradient-text-type-mixin(default);
|
|
|
|
@include gradient-text-type-mixin(success);
|
|
|
|
@include gradient-text-type-mixin(warning);
|
|
|
|
@include gradient-text-type-mixin(error);
|
|
|
|
@include gradient-text-type-mixin(info);
|
2019-06-04 16:01:34 +08:00
|
|
|
}
|
2019-10-16 23:20:40 +08:00
|
|
|
}
|