Skip to content

Commit 79d2bbe

Browse files
Fix Get In Touch section to respond to light/dark theme toggle
Section previously had hardcoded black background/white text regardless of theme; now defaults to light styling and switches via body.dark like every other section.
1 parent 34567e1 commit 79d2bbe

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

styles.css

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ section { padding: 6rem 5%; }
566566
.team-card p { font-size: 0.825rem; color: var(--gray-600); line-height: 1.6; }
567567

568568
/* ── CONTACT ── */
569-
#contact { background: var(--black); color: var(--white); }
569+
#contact { background: var(--white); color: var(--black); }
570570

571571
.contact-grid {
572572
display: grid;
@@ -575,24 +575,20 @@ section { padding: 6rem 5%; }
575575
align-items: start;
576576
}
577577

578-
#contact .section-tag { color: var(--gray-400); }
579-
#contact .section-title { color: var(--white); }
580-
#contact .section-subtitle { color: #aaaaaa; }
581-
582578
.contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
583579
.contact-item { display: flex; align-items: center; gap: 1rem; }
584580
.contact-item-icon {
585581
width: 44px; height: 44px;
586-
border: 1.5px solid #333;
582+
border: 1.5px solid var(--gray-200);
587583
border-radius: 8px;
588584
display: flex; align-items: center; justify-content: center;
589585
font-size: 1.1rem;
590586
flex-shrink: 0;
591587
}
592588
.contact-item-body {}
593589
.contact-item-label { font-size: 0.7rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
594-
.contact-item-value { font-size: 0.95rem; color: var(--white); font-weight: 500; }
595-
.contact-item-value a { color: var(--white); text-decoration: none; }
590+
.contact-item-value { font-size: 0.95rem; color: var(--black); font-weight: 500; }
591+
.contact-item-value a { color: var(--black); text-decoration: none; }
596592
.contact-item-value a:hover { text-decoration: underline; }
597593

598594
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
@@ -737,6 +733,12 @@ body.dark .team-card { background: #111; border-color: #2a2a2a; }
737733
body.dark .team-card:hover { transform: translateY(-12px); box-shadow: 0 24px 48px rgba(255,255,255,0.08); }
738734
body.dark .team-card p { color: #888; }
739735

736+
body.dark #contact { background: var(--black); color: var(--white); }
737+
body.dark #contact .section-subtitle { color: #aaaaaa; }
738+
body.dark .contact-item-icon { border-color: #333; }
739+
body.dark .contact-item-value,
740+
body.dark .contact-item-value a { color: var(--white); }
741+
740742
body.dark #contact iframe {
741743
filter: invert(1) hue-rotate(180deg);
742744
border-radius: 8px;

0 commit comments

Comments
 (0)