Spaces:
Sleeping
Sleeping
setting the colros right
Browse files
frontend/src/components/layout/AppShell.css
CHANGED
|
@@ -38,6 +38,7 @@
|
|
| 38 |
background: var(--primary-gradient);
|
| 39 |
-webkit-background-clip: text;
|
| 40 |
background-clip: text;
|
|
|
|
| 41 |
-webkit-text-fill-color: transparent;
|
| 42 |
}
|
| 43 |
|
|
|
|
| 38 |
background: var(--primary-gradient);
|
| 39 |
-webkit-background-clip: text;
|
| 40 |
background-clip: text;
|
| 41 |
+
color: var(--primary); /* Fallback for browsers that don't support clip-text */
|
| 42 |
-webkit-text-fill-color: transparent;
|
| 43 |
}
|
| 44 |
|
frontend/src/pages/HomePage.module.css
CHANGED
|
@@ -10,24 +10,36 @@
|
|
| 10 |
|
| 11 |
.home-logo {
|
| 12 |
margin-bottom: 16px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
}
|
| 14 |
|
| 15 |
.home-left h1 {
|
| 16 |
font-size: 1.5rem;
|
| 17 |
margin-bottom: 12px;
|
|
|
|
| 18 |
}
|
| 19 |
|
| 20 |
.home-left h2 {
|
| 21 |
font-size: 1.1rem;
|
| 22 |
margin-top: 20px;
|
| 23 |
margin-bottom: 8px;
|
| 24 |
-
color: var(--text);
|
| 25 |
}
|
| 26 |
|
| 27 |
.home-left h3 {
|
| 28 |
font-size: 0.95rem;
|
| 29 |
margin-top: 16px;
|
| 30 |
margin-bottom: 6px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
}
|
| 32 |
|
| 33 |
.home-info-row {
|
|
@@ -42,7 +54,9 @@
|
|
| 42 |
transition: transform 0.3s ease;
|
| 43 |
max-width: 100%;
|
| 44 |
height: auto;
|
|
|
|
| 45 |
}
|
|
|
|
| 46 |
.home-project-img:hover {
|
| 47 |
transform: scale(1.03);
|
| 48 |
}
|
|
@@ -57,10 +71,13 @@
|
|
| 57 |
.qr-item {
|
| 58 |
text-align: center;
|
| 59 |
}
|
|
|
|
| 60 |
.qr-item img {
|
| 61 |
border: 1px solid var(--border);
|
| 62 |
border-radius: 4px;
|
|
|
|
| 63 |
}
|
|
|
|
| 64 |
.qr-label {
|
| 65 |
display: block;
|
| 66 |
font-size: 9px;
|
|
@@ -71,15 +88,18 @@
|
|
| 71 |
.home-about-link {
|
| 72 |
color: var(--primary);
|
| 73 |
margin-bottom: 8px;
|
|
|
|
| 74 |
}
|
| 75 |
|
| 76 |
.home-instructions {
|
| 77 |
padding-left: 20px;
|
| 78 |
margin-bottom: 12px;
|
| 79 |
}
|
|
|
|
| 80 |
.home-instructions li {
|
| 81 |
margin-bottom: 4px;
|
| 82 |
font-size: 12px;
|
|
|
|
| 83 |
}
|
| 84 |
|
| 85 |
.home-error {
|
|
|
|
| 10 |
|
| 11 |
.home-logo {
|
| 12 |
margin-bottom: 16px;
|
| 13 |
+
transition: filter 0.3s ease;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
:global(.dark) .home-logo {
|
| 17 |
+
/* This mathematical flip turns black -> white while rotating red/blue back to their original brand values */
|
| 18 |
+
filter: invert(1) hue-rotate(180deg) saturate(1.4);
|
| 19 |
}
|
| 20 |
|
| 21 |
.home-left h1 {
|
| 22 |
font-size: 1.5rem;
|
| 23 |
margin-bottom: 12px;
|
| 24 |
+
color: var(--text-main);
|
| 25 |
}
|
| 26 |
|
| 27 |
.home-left h2 {
|
| 28 |
font-size: 1.1rem;
|
| 29 |
margin-top: 20px;
|
| 30 |
margin-bottom: 8px;
|
| 31 |
+
color: var(--text-main);
|
| 32 |
}
|
| 33 |
|
| 34 |
.home-left h3 {
|
| 35 |
font-size: 0.95rem;
|
| 36 |
margin-top: 16px;
|
| 37 |
margin-bottom: 6px;
|
| 38 |
+
color: var(--text-main);
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.home-left p {
|
| 42 |
+
color: var(--text-main);
|
| 43 |
}
|
| 44 |
|
| 45 |
.home-info-row {
|
|
|
|
| 54 |
transition: transform 0.3s ease;
|
| 55 |
max-width: 100%;
|
| 56 |
height: auto;
|
| 57 |
+
border: 1px solid var(--border);
|
| 58 |
}
|
| 59 |
+
|
| 60 |
.home-project-img:hover {
|
| 61 |
transform: scale(1.03);
|
| 62 |
}
|
|
|
|
| 71 |
.qr-item {
|
| 72 |
text-align: center;
|
| 73 |
}
|
| 74 |
+
|
| 75 |
.qr-item img {
|
| 76 |
border: 1px solid var(--border);
|
| 77 |
border-radius: 4px;
|
| 78 |
+
background: white; /* Keep QR code backgrounds white for scanning */
|
| 79 |
}
|
| 80 |
+
|
| 81 |
.qr-label {
|
| 82 |
display: block;
|
| 83 |
font-size: 9px;
|
|
|
|
| 88 |
.home-about-link {
|
| 89 |
color: var(--primary);
|
| 90 |
margin-bottom: 8px;
|
| 91 |
+
font-weight: 600;
|
| 92 |
}
|
| 93 |
|
| 94 |
.home-instructions {
|
| 95 |
padding-left: 20px;
|
| 96 |
margin-bottom: 12px;
|
| 97 |
}
|
| 98 |
+
|
| 99 |
.home-instructions li {
|
| 100 |
margin-bottom: 4px;
|
| 101 |
font-size: 12px;
|
| 102 |
+
color: var(--text-main);
|
| 103 |
}
|
| 104 |
|
| 105 |
.home-error {
|
frontend/src/pages/PotentialAnalysisPage.css
CHANGED
|
@@ -482,7 +482,25 @@
|
|
| 482 |
}
|
| 483 |
|
| 484 |
/* ---------- Dark mode overrides ---------- */
|
| 485 |
-
.dark .pa-
|
| 486 |
-
|
| 487 |
-
|
| 488 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 482 |
}
|
| 483 |
|
| 484 |
/* ---------- Dark mode overrides ---------- */
|
| 485 |
+
.dark .pa-title, .dark .pa-panel-title, .dark .pa-section h3 {
|
| 486 |
+
color: #ffffff;
|
| 487 |
+
}
|
| 488 |
+
|
| 489 |
+
.dark .pa-metric-label {
|
| 490 |
+
color: #ffffff;
|
| 491 |
+
opacity: 0.9;
|
| 492 |
+
}
|
| 493 |
+
|
| 494 |
+
.dark .pa-hp-section-label {
|
| 495 |
+
color: #ffffff;
|
| 496 |
+
font-weight: 800;
|
| 497 |
+
}
|
| 498 |
+
|
| 499 |
+
.dark .pa-stream-info, .dark .pa-muted, .dark .pa-excluded-reason {
|
| 500 |
+
color: #cbd5e1; /* Light slate/gray-white */
|
| 501 |
+
}
|
| 502 |
+
|
| 503 |
+
.dark .pa-metric-hot { border-color: #ef4444 !important; background: rgba(239, 68, 68, 0.15) !important; }
|
| 504 |
+
.dark .pa-metric-cold { border-color: #3b82f6 !important; background: rgba(59, 130, 246, 0.15) !important; }
|
| 505 |
+
.dark .pa-metric-pinch { border-color: #a855f7 !important; background: rgba(168, 85, 247, 0.15) !important; }
|
| 506 |
+
.dark .pa-metric-recovery { border-color: #22c55e !important; background: rgba(34, 197, 94, 0.15) !important; }
|
frontend/src/store/uiStore.ts
CHANGED
|
@@ -46,7 +46,7 @@ interface UIStore {
|
|
| 46 |
}
|
| 47 |
|
| 48 |
export const useUIStore = create<UIStore>((set) => ({
|
| 49 |
-
theme: '
|
| 50 |
sidebarCollapsed: false,
|
| 51 |
activePage: 'home',
|
| 52 |
placementMode: false,
|
|
|
|
| 46 |
}
|
| 47 |
|
| 48 |
export const useUIStore = create<UIStore>((set) => ({
|
| 49 |
+
theme: 'dark',
|
| 50 |
sidebarCollapsed: false,
|
| 51 |
activePage: 'home',
|
| 52 |
placementMode: false,
|