Skip to content

Added a custom Option type and extended the select and added a few new classes for typography #1060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 10, 2023
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);
}