chore(website): maintain platform coloring despite reordering

This commit is contained in:
Elian Doran 2025-09-30 21:21:26 +03:00
parent ce0763f03d
commit 9e5bded4cf
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View File

@ -94,9 +94,9 @@
transform: scale(1);
}
&:first-of-type { --accent-color: var(--brand-1); }
&:nth-of-type(2) { --accent-color: var(--brand-2); }
&:last-of-type { --accent-color: var(--brand-3); }
&.windows { --accent-color: var(--brand-1); }
&.linux { --accent-color: var(--brand-2); }
&.macos { --accent-color: var(--brand-3); }
}
.download-footer {

View File

@ -90,7 +90,7 @@ export function DownloadCard({ app, arch, entry: [ platform, entry ], isRecommen
)}
</>
}
className={`download-card ${isRecommended ? "recommended" : ""}`}
className={`download-card ${platform} ${isRecommended ? "recommended" : ""}`}
>
{unwrapText(entry.description)}