Skip to content

Commit c3b4ef2

Browse files
committed
update colour token
1 parent 3e2c463 commit c3b4ef2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/pages/certification.astro

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ const formattedContentTitle = `Courses | Chainlink Certifications`
526526
}
527527

528528
.course-card_h {
529-
color: #1a2b6b;
529+
color: var(--biscay);
530530
width: 325.33px;
531531
margin-top: 0;
532532
margin-bottom: 10px;
@@ -536,7 +536,7 @@ const formattedContentTitle = `Courses | Chainlink Certifications`
536536
}
537537

538538
.course-card__details {
539-
color: #0c162c;
539+
color: var(--mirage);
540540
flex-flow: wrap;
541541
justify-content: flex-start;
542542
align-items: center;
@@ -923,9 +923,10 @@ const formattedContentTitle = `Courses | Chainlink Certifications`
923923
item.addEventListener("click", function () {
924924
// Apply z-index and transform based on the clicked index
925925
absoluteItems.forEach((el, i) => {
926+
const htmlEl = el as HTMLElement
926927
const newIndex = (i - index + absoluteItems.length) % absoluteItems.length
927-
el.style.zIndex = zIndexValues[newIndex]
928-
el.style.transform = transformValues[newIndex]
928+
htmlEl.style.zIndex = zIndexValues[newIndex].toString()
929+
htmlEl.style.transform = transformValues[newIndex]
929930
})
930931
})
931932
})

0 commit comments

Comments
 (0)