chore(website): improve contrast on buttons on light theme

This commit is contained in:
Elian Doran 2025-09-27 11:22:56 +03:00
parent 14a2794d15
commit 86b14a5763
No known key found for this signature in database
3 changed files with 7 additions and 4 deletions

View File

@ -14,7 +14,7 @@ section.donate ul a {
background: var(--brand-1);
padding: 0.5em 1em;
border-radius: 6px;
color: var(--foreground-color);
color: var(--brand-foreground-color);
text-decoration: none;
text-align: center;
text-align: center;
}

View File

@ -16,7 +16,7 @@
background: var(--accent-color);
padding: 0.5em 1em;
border-radius: calc(infinity * 1px);
color: var(--foreground-color);
color: var(--brand-foreground-color);
margin: 1em 0;
text-decoration: none;
text-align: center;
@ -34,6 +34,8 @@
.download-desktop .download-card:last-of-type { --accent-color: var(--brand-3); }
.download-server .download-card:first-of-type { --accent-color: var(--brand-1); }
.download-server .download-card:last-of-type { --accent-color: var(--brand-3); }
.download-server {
width: 75%;
margin: auto;
@ -64,5 +66,5 @@
.architecture-switch a.active {
background-color: var(--brand-1);
color: inherit;
color: var(--brand-foreground-color);
}

View File

@ -8,6 +8,7 @@
--brand-1: #e47b19;
--brand-2: #4fa52b;
--brand-3: #e33f3b;
--brand-foreground-color: white;
}
@media (prefers-color-scheme: dark) {