2019-06-04 16:01:34 +08:00
|
|
|
@import './mixins/mixins.scss';
|
2019-09-17 19:21:07 +08:00
|
|
|
@import './themes/vars.scss';
|
2019-06-04 16:01:34 +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;
|
2019-12-23 16:48:49 +08:00
|
|
|
font-weight: 500;
|
2019-10-16 23:20:40 +08:00
|
|
|
font-size: inherit;
|
|
|
|
background-clip: text;
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
@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
|
|
|
}
|