Skip to content

Commit 7048eb0

Browse files
committed
TCA-512 - add missing cert type gradients
1 parent adb9dd6 commit 7048eb0

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src-ts/tools/learn/course-certificate/certificate-view/certificate/certificate-bg-pattern/CertificateBgPattern.module.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,19 @@
2424
&:global(.theme-qa) {
2525
background-image: $tc-qa-grad;
2626
}
27+
2728
&:global(.theme-datascience) {
2829
background-image: $tc-datascience-grad;
2930
}
3031

32+
&:global(.theme-interview) {
33+
background-image: $tc-interview-grad;
34+
}
35+
36+
&:global(.theme-security) {
37+
background-image: $tc-security-grad;
38+
}
39+
3140
> div {
3241
position: absolute;
3342
top: 0;

src-ts/tools/learn/course-certificate/certificate-view/certificate/includes.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ $tc-dev-grad: linear-gradient(84.92deg, #048467 2.08%, #064871 97.43%);
66
$tc-design-grad: linear-gradient(84.92deg, #065D6E 2.08%, #06596E 2.09%, #3E3B91 97.43%);
77
$tc-qa-grad: linear-gradient(84.92deg, #363D8C 2.08%, #723390 97.43%);
88
$tc-datascience-grad: linear-gradient(84.92deg, #723390 2.08%, #8C384F 97.43%);
9+
$tc-interview-grad: linear-gradient(84.92deg, #048467 2.08%, #064871 33.85%, #6831A8 66.15%, #8C384D 97.43%);
10+
$tc-security-grad: linear-gradient(84.92deg, #048467 2.08%, #064871 97.43%);
911

1012
@mixin grad-text-color($grad) {
1113
background: $grad;
1214
-webkit-background-clip: text;
1315
background-clip: text;
1416
-webkit-text-fill-color: transparent;
15-
}
17+
}

0 commit comments

Comments
 (0)