add darkmode switch

This commit is contained in:
zoronjiermin committed 2026-04-28 21:57:39 +02:00
1 parent c1345eaca7
commit 2cb39f0c55
16 files changed
+501 -323

No files matched your search

+28 -27
View File
@@ -1,6 +1,6 @@
.discovery-page {
min-height: 100vh;
color: #1f1f1f;
color: var(--theme-text);
padding: 26px 38px 38px;
background:
linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1)),
@@ -8,8 +8,8 @@
}
.discovery-shell {
background: #f5f5f5;
border: 1px solid #d9d9d9;
background: var(--theme-surface);
border: 1px solid var(--theme-border);
padding: 0 38px 38px;
}
@@ -26,7 +26,7 @@
padding: 0;
font-size: 13px;
cursor: pointer;
color: #1f1f1f;
color: var(--theme-text);
letter-spacing: 0.01em;
transition: opacity 0.2s ease, transform 0.2s ease;
}
@@ -47,7 +47,7 @@
display: block;
font-size: 10px;
letter-spacing: 0.22em;
color: #666;
color: var(--theme-text-muted);
}
.discovery-hero {
@@ -64,7 +64,7 @@
line-height: 0.94;
font-weight: 300;
letter-spacing: -0.05em;
color: #131313;
color: var(--theme-text);
}
.discovery-intro {
@@ -72,7 +72,7 @@
margin: 0;
font-size: 18px;
line-height: 1.55;
color: #3f3f3f;
color: var(--theme-text-muted);
}
.discovery-benefits {
@@ -92,7 +92,7 @@
.discovery-benefit-icon {
font-size: 24px;
line-height: 1;
color: #1f1f1f;
color: var(--theme-text);
}
.discovery-benefit strong {
@@ -100,14 +100,14 @@
margin-bottom: 4px;
font-size: 18px;
font-weight: 400;
color: #131313;
color: var(--theme-text);
}
.discovery-benefit p {
margin: 0;
font-size: 14px;
line-height: 1.55;
color: #5a5a5a;
color: var(--theme-text-muted);
}
.discovery-hero-actions {
@@ -137,7 +137,7 @@
margin: 12px 0 0;
text-align: center;
font-size: 13px;
color: #555;
color: var(--theme-text-muted);
}
.discovery-mood-grid {
@@ -149,7 +149,7 @@
.discovery-mood-tile {
aspect-ratio: 1 / 1;
overflow: hidden;
background: #eaeaea;
background: var(--theme-surface-soft);
}
.discovery-mood-tile img {
@@ -175,7 +175,7 @@
line-height: 0.98;
font-weight: 300;
letter-spacing: -0.04em;
color: #131313;
color: var(--theme-text);
}
.discovery-section-heading p {
@@ -183,7 +183,7 @@
margin: 18px 0 0;
font-size: 16px;
line-height: 1.65;
color: #4f4f4f;
color: var(--theme-text-muted);
}
.discovery-section-heading--center {
@@ -211,7 +211,7 @@
.discovery-product-image {
aspect-ratio: 1 / 1;
overflow: hidden;
background: #ececec;
background: var(--theme-surface-soft);
}
.discovery-product-image img {
@@ -225,14 +225,14 @@
margin: 0 0 6px;
font-size: 20px;
font-weight: 400;
color: #131313;
color: var(--theme-text);
}
.discovery-product-copy p {
margin: 0;
font-size: 15px;
line-height: 1.5;
color: #4f4f4f;
color: var(--theme-text-muted);
}
.discovery-product-tags {
@@ -247,9 +247,9 @@
align-items: center;
min-height: 32px;
padding: 7px 12px;
background: #e4e4e4;
background: var(--theme-surface-soft);
font-size: 12px;
color: #1f1f1f;
color: var(--theme-text);
}
/* Steps */
@@ -290,8 +290,8 @@
display: flex;
align-items: center;
justify-content: center;
background: #f1f1f1;
color: #111;
background: var(--theme-surface-soft);
color: var(--theme-text);
font-size: 24px;
font-weight: 300;
}
@@ -320,8 +320,8 @@
.discovery-comparison-card {
padding: 28px;
border: 1px solid #d9d9d9;
background: #efefef;
border: 1px solid var(--theme-border);
background: var(--theme-bg);
}
.discovery-comparison-card--highlight {
@@ -343,21 +343,21 @@
.discovery-comparison-icon {
font-size: 28px;
line-height: 1;
color: #1f1f1f;
color: var(--theme-text);
}
.discovery-comparison-head h3 {
margin: 0;
font-size: 28px;
font-weight: 400;
color: #131313;
color: var(--theme-text);
}
.discovery-comparison-card p {
margin: 0;
font-size: 16px;
line-height: 1.65;
color: #4f4f4f;
color: var(--theme-text-muted);
}
.discovery-bottom-cta {
@@ -446,4 +446,5 @@
.discovery-comparison-head h3 {
font-size: 22px;
}
}
}