Dark mode improvements and FarmaClic rebranding #27

Merged
Ichitux merged 1 commits from dark-mode-rebrand-updates into main 2026-07-10 08:03:28 +00:00
20 changed files with 86 additions and 14 deletions
Showing only changes of commit 8b9b7e8444 - Show all commits
Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

@@ -175,6 +175,41 @@
to { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 1; transform: translateY(0) scale(1); }
} }
/* Dark mode adaptations */
[data-theme="dark"] .saved-notifications-item {
background: var(--surface-container);
border-color: var(--border);
}
[data-theme="dark"] .saved-notifications-item-name {
color: #b0d4b8;
}
[data-theme="dark"] .saved-notifications-chip {
background: rgba(96, 165, 250, 0.15);
color: #93c5fd;
}
[data-theme="dark"] .saved-notifications-chip--pharmacy {
background: rgba(142, 212, 160, 0.15);
color: #8ed4a0;
}
[data-theme="dark"] .saved-notifications-address {
color: #9ca3af;
}
[data-theme="dark"] .saved-notifications-remove {
border-color: var(--border);
color: var(--text-muted);
}
[data-theme="dark"] .saved-notifications-remove:hover:not(:disabled) {
background: rgba(239, 68, 68, 0.12);
color: #fca5a5;
border-color: #f87171;
}
@media (max-width: 540px) { @media (max-width: 540px) {
.saved-notifications-backdrop { .saved-notifications-backdrop {
padding: 2vh 0.5rem; padding: 2vh 0.5rem;
+15 -14
View File
@@ -103,14 +103,14 @@
--on-tertiary: #3b2a5a; --on-tertiary: #3b2a5a;
--tertiary-container: #524070; --tertiary-container: #524070;
--on-tertiary-container: #efe7ff; --on-tertiary-container: #efe7ff;
--surface: #111417; --surface: #1e2024;
--on-surface: #e1e3e4; --on-surface: #e1e3e4;
--on-surface-variant: #c0c9bb; --on-surface-variant: #c0c9bb;
--surface-container-lowest: #0c0e10; --surface-container-lowest: #171a1d;
--surface-container-low: #191c1d; --surface-container-low: #252830;
--surface-container: #1e2122; --surface-container: #2c3038;
--surface-container-high: #282b2c; --surface-container-high: #383c44;
--surface-container-highest: #333637; --surface-container-highest: #444850;
--error: #ffb4ab; --error: #ffb4ab;
--on-error: #690005; --on-error: #690005;
--error-container: #93000a; --error-container: #93000a;
@@ -122,8 +122,8 @@
--inverse-on-surface: #2e3132; --inverse-on-surface: #2e3132;
--inverse-primary: #2e7d32; --inverse-primary: #2e7d32;
--surface-tint: #8ed4a0; --surface-tint: #8ed4a0;
--surface-dim: #111417; --surface-dim: #1e2024;
--surface-bright: #373a3b; --surface-bright: #4a4e56;
--surface-variant: #41493e; --surface-variant: #41493e;
--primary-fixed: #acf4a4; --primary-fixed: #acf4a4;
--primary-fixed-dim: #91d78a; --primary-fixed-dim: #91d78a;
@@ -155,10 +155,10 @@
--fab-shadow: rgba(91, 139, 213, 0.35); --fab-shadow: rgba(91, 139, 213, 0.35);
--warning: #f59e0b; --warning: #f59e0b;
--warning-container: rgba(245, 158, 11, 0.15); --warning-container: rgba(245, 158, 11, 0.15);
--suggestion-1: #1e2122; --suggestion-1: #2c3038;
--suggestion-2: #1a2332; --suggestion-2: #252d40;
--suggestion-3: #1a2a3a; --suggestion-3: #25334a;
--suggestion-4: #1a3040; --suggestion-4: #253a55;
--suggestion-border-1: #333637; --suggestion-border-1: #333637;
--suggestion-border-2: #2a4080; --suggestion-border-2: #2a4080;
--suggestion-border-3: #2a4a8a; --suggestion-border-3: #2a4a8a;
@@ -221,11 +221,12 @@ body::after {
} }
[data-theme="dark"] body::before { [data-theme="dark"] body::before {
opacity: 0.15; background-image: url('./assets/bg_dark.png');
opacity: 0.55;
} }
[data-theme="dark"] body::after { [data-theme="dark"] body::after {
background-color: rgba(0, 0, 0, 0.55); background-color: rgba(0, 0, 0, 0.25);
} }
#root { #root {
+36
View File
@@ -130,6 +130,42 @@
background: var(--surface-container-high); background: var(--surface-container-high);
} }
/* Dark mode adaptations */
[data-theme="dark"] .alert-card {
background: var(--surface-container);
}
[data-theme="dark"] .alert-badge--primary {
background: rgba(239, 68, 68, 0.2);
color: #fca5a5;
}
[data-theme="dark"] .alert-badge--tertiary {
background: rgba(167, 139, 250, 0.2);
color: #c4b5fd;
}
[data-theme="dark"] .alert-icon--primary {
background: rgba(142, 212, 160, 0.15);
color: #8ed4a0;
}
[data-theme="dark"] .alert-icon--tertiary {
background: rgba(167, 139, 250, 0.15);
color: #a78bfa;
}
[data-theme="dark"] .alert-delete {
border-color: var(--border);
color: var(--text-muted);
}
[data-theme="dark"] .alert-delete:hover {
background: rgba(239, 68, 68, 0.12);
color: #fca5a5;
border-color: #f87171;
}
@media (max-width: 400px) { @media (max-width: 400px) {
.alerts-title { .alerts-title {
font-size: 1.5rem; font-size: 1.5rem;