🌐 AI搜索 & 代理 主页
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Updated to use mixins
  • Loading branch information
SilasMarvin committed Oct 10, 2023
commit ba480d7d22b16e31069ad44c0c0ed07771d620b0
38 changes: 13 additions & 25 deletions pgml-dashboard/static/css/scss/base/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,41 +32,29 @@
.text-white {
color: #{$gray-100} !important;
}
.text-gradient-blue {
background: #{$gradient-blue};
.text-soft-white {
color: #{$gray-200} !important;
}

@mixin text-gradient($gradient) {
background: #{$gradient};
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
}
.text-gradient-blue {
@include text-gradient($gradient-blue);
}
.text-gradient-green {
background: #{$gradient-green};
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
@include text-gradient($gradient-green);
}
.text-gradient-orange {
background: #{$gradient-orange};
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
@include text-gradient($gradient-orange);
}
.text-gradient-pink {
background: #{$gradient-pink};
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
@include text-gradient($gradient-pink);
}
.text-gradient-purple {
background: #{$gradient-purple};
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
}
.text-soft-white {
color: #{$gray-200} !important;
@include text-gradient($gradient-purple);
}