Add a dark theme, default, with a switch in the top bar
Deploy to GitHub Pages / build (push) Canceled after 0s
Deploy to GitHub Pages / deploy (push) Canceled after 0s

Colours move into theme tokens (light values in :root, dark in
[data-theme=dark]); the closing contact band inverts on each theme. The
choice is stored in localStorage and applied by a head script before the
first paint. Voxel covers and image shadows follow the theme.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XtcZtnG4GQA1d6mW5PNrS9
This commit is contained in:
Emil
2026-09-20 22:51:13 +03:00
co-authored by Claude Sonnet 5
parent 0c95e0c5d0
commit 15d36d6437
11 changed files with 206 additions and 38 deletions
+9 -9
View File
@@ -36,7 +36,7 @@
.skill p {
max-width: 52ch;
color: rgba(21, 24, 29, 0.82);
color: var(--ink-2);
}
.tags {
@@ -49,7 +49,7 @@
.tags li {
padding: 3px 11px;
border-radius: 999px;
background: rgba(21, 24, 29, 0.06);
background: var(--chip);
font-size: 13.5px;
line-height: 1.5;
}
@@ -136,8 +136,8 @@
.contact {
margin-top: var(--section);
padding: clamp(72px, 9vw, 128px) 0 40px;
background: var(--ink);
color: var(--paper);
background: var(--band-bg);
color: var(--band-ink);
}
.contactTitle {
@@ -147,7 +147,7 @@
.contactLead {
margin-top: 16px;
color: rgba(244, 246, 248, 0.7);
color: var(--band-2);
}
.mail {
@@ -177,19 +177,19 @@
flex-direction: column;
gap: 2px;
padding: 18px 0;
border-top: 1px solid rgba(244, 246, 248, 0.2);
border-top: 1px solid var(--band-line);
}
.contacts span {
font-size: 14px;
color: rgba(244, 246, 248, 0.6);
color: var(--band-3);
}
.contacts a {
text-decoration: underline;
text-decoration-thickness: 1.5px;
text-underline-offset: 4px;
text-decoration-color: rgba(244, 246, 248, 0.35);
text-decoration-color: var(--band-underline);
overflow-wrap: anywhere;
}
@@ -200,7 +200,7 @@
.legal {
margin-top: clamp(48px, 6vw, 80px);
font-size: 14px;
color: rgba(244, 246, 248, 0.55);
color: var(--band-3);
}
@media (max-width: 900px) {