Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/src/components/settings/HydrationCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export function HydrationCard() {
top: 'calc(100% + 6px)',
left: 0,
right: 0,
background: 'var(--glass-2)',
background: 'var(--glass-popover)',
border: '1px solid var(--glass-edge)',
borderRadius: 12,
backdropFilter: 'blur(16px)',
Expand Down Expand Up @@ -340,7 +340,7 @@ export function HydrationCard() {
top: 'calc(100% + 6px)',
left: 0,
right: 0,
background: 'var(--glass-2)',
background: 'var(--glass-popover)',
border: '1px solid var(--glass-edge)',
borderRadius: 12,
backdropFilter: 'blur(16px)',
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/components/today/NutritionCalculatorCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ export function NutritionCalculatorCard({
overflowY: 'auto',
borderRadius: 10,
border: '1px solid var(--glass-edge)',
background: 'var(--glass-popover)',
}}
>
{favMatches.map((fav) => {
Expand Down Expand Up @@ -818,6 +819,7 @@ export function NutritionCalculatorCard({
color: 'var(--fg-quiet)',
borderRadius: 10,
border: '1px solid var(--glass-edge)',
background: 'var(--glass-popover)',
}}
>
No results found.
Expand Down Expand Up @@ -878,7 +880,7 @@ export function NutritionCalculatorCard({
overflowY: 'auto',
borderRadius: 12,
border: '1px solid var(--glass-edge)',
background: 'var(--glass-2)',
background: 'var(--glass-popover)',
backdropFilter: 'blur(16px)',
WebkitBackdropFilter: 'blur(16px)',
boxShadow: '0 8px 32px rgba(0,0,0,0.4)',
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ layer(base);
--glass-3: rgba(255, 255, 255, 0.09);
--glass-edge: rgba(255, 255, 255, 0.12);
--glass-edge-strong: rgba(255, 255, 255, 0.18);
/* Floating menus/popovers: opaque enough to mask content scrolling behind,
still frosted under backdrop-filter (bg-2 tint over near-solid base) */
--glass-popover: rgba(16, 24, 44, 0.94);

/* Motion — chart/ring entry (BRAND-GUIDE §12) */
--ease-ring: cubic-bezier(0.2, 0.7, 0.2, 1);
Expand Down Expand Up @@ -199,6 +202,7 @@ layer(base);
--glass-3: rgba(255, 255, 255, 0.88);
--glass-edge: rgba(15, 23, 42, 0.08);
--glass-edge-strong: rgba(15, 23, 42, 0.14);
--glass-popover: rgba(255, 255, 255, 0.96);

--fg-primary: #0c1426;
--fg-secondary: rgba(12, 20, 38, 0.78);
Expand Down
Loading