Skip to content

Commit c579a9d

Browse files
fix: text visibility for dark text variables and hero caption background in dark mode
1 parent 0eeca52 commit c579a9d

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

‎frontend/css/landing.css‎

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ body.landing-page .landing-shell {
848848
}
849849

850850
.about-floating-chip i {
851-
color: var(--landing-wood);
851+
color: var(--landing-text-strong);
852852
}
853853

854854
.about-mini,
@@ -903,7 +903,7 @@ body.landing-page .landing-shell {
903903
.about-mood-pill:nth-child(3) i { color: #6e8b74; }
904904

905905
.about-mood-pill i {
906-
color: var(--landing-wood);
906+
color: var(--landing-text-strong);
907907
}
908908

909909
.mini-feature-card {
@@ -926,7 +926,7 @@ body.landing-page .landing-shell {
926926
display: grid;
927927
place-items: center;
928928
background: rgba(212, 175, 55, 0.12);
929-
color: var(--landing-wood);
929+
color: var(--landing-text-strong);
930930
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
931931
}
932932

@@ -976,7 +976,7 @@ body.landing-page .landing-shell {
976976
.feature-card i,
977977
.workflow-step span,
978978
.quote-card i {
979-
color: var(--landing-wood);
979+
color: var(--landing-text-strong);
980980
}
981981

982982
.about-mood-pill strong,
@@ -1067,7 +1067,7 @@ body.landing-page .landing-shell {
10671067
display: grid;
10681068
place-items: center;
10691069
background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(212,175,55,0.06));
1070-
color: var(--landing-wood);
1070+
color: var(--landing-text-strong);
10711071
font-size: 1.08rem;
10721072
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
10731073
transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
@@ -1311,7 +1311,7 @@ body.landing-page .landing-shell {
13111311
padding: 0.35rem 0.65rem;
13121312
border-radius: 999px;
13131313
background: rgba(212,175,55,0.12);
1314-
color: var(--landing-wood);
1314+
color: var(--landing-text-strong);
13151315
font-size: 0.85rem;
13161316
font-weight: 600;
13171317
}
@@ -1431,7 +1431,7 @@ body.landing-page .landing-shell {
14311431

14321432
.footer-bottom a:hover,
14331433
.footer-bottom a:focus-visible {
1434-
color: var(--landing-wood);
1434+
color: var(--landing-text-strong);
14351435
outline: none;
14361436
}
14371437

@@ -1864,6 +1864,7 @@ body.is-leaving {
18641864

18651865
/* Dark Theme Overrides */
18661866
html[data-theme='night'] {
1867+
--landing-text-strong: var(--landing-ink);
18671868
--landing-bg: #1a1512;
18681869
--landing-surface: rgba(44, 36, 32, 0.72);
18691870
--landing-surface-strong: rgba(44, 36, 32, 0.86);
@@ -1937,3 +1938,9 @@ html[data-theme='night'] .blossom-toggle:hover,
19371938
html[data-theme='night'] .secondary-about-btn:hover {
19381939
background: rgba(255, 255, 255, 0.15);
19391940
}
1941+
1942+
html[data-theme='night'] .hero-caption,
1943+
html[data-theme='night'] .hero-book-stack::before {
1944+
background: rgba(255, 255, 255, 0.05);
1945+
border-color: rgba(255, 255, 255, 0.1);
1946+
}

0 commit comments

Comments
 (0)