diff --git a/apps/next/src/components/ui/dishes-info.tsx b/apps/next/src/components/ui/dishes-info.tsx
index 2d62bb9e..45916240 100644
--- a/apps/next/src/components/ui/dishes-info.tsx
+++ b/apps/next/src/components/ui/dishes-info.tsx
@@ -64,7 +64,7 @@ export default function DishesInfo({
return (
diff --git a/apps/next/src/components/ui/edit-preferences-content.tsx b/apps/next/src/components/ui/edit-preferences-content.tsx
index 78e3de80..a33aceae 100644
--- a/apps/next/src/components/ui/edit-preferences-content.tsx
+++ b/apps/next/src/components/ui/edit-preferences-content.tsx
@@ -168,11 +168,12 @@ export default function EditPreferencesContent({
]);
posthog.capture("preferences_updated", {
- allergies: [...formData.allergies, ...customAllergies],
+ allergies: [...formData.allergies /*, ...customAllergies */],
preferences: formData.preferences,
- allergies_count: formData.allergies.length + customAllergies.length,
+ allergies_count:
+ formData.allergies.length /*+ customAllergies.length */,
preferences_count: formData.preferences.length,
- custom_allergies_count: customAllergies.length,
+ /*custom_allergies_count: customAllergies.length,*/
});
if (onSaved) {
diff --git a/apps/next/src/components/ui/onboarding.tsx b/apps/next/src/components/ui/onboarding.tsx
index bd900ee0..5821a5f7 100644
--- a/apps/next/src/components/ui/onboarding.tsx
+++ b/apps/next/src/components/ui/onboarding.tsx
@@ -356,17 +356,14 @@ const OnboardingContent = React.forwardRef<
sx={{
height: "45px",
width: "80px",
- bgcolor: "#0069A8",
+ bgcolor: "var(--button-primary-bg)",
+ color: "var(--button-primary-fg)",
"&:hover": {
filter: "brightness(0.85)",
},
- ".dark &": {
- bgcolor: "#93C5FD",
- color: "#111827",
- },
- ".dark &.Mui-disabled": {
- backgroundColor: "#3F3F47",
- color: "#71717A",
+ "&.Mui-disabled": {
+ backgroundColor: "var(--button-disabled-bg)",
+ color: "var(--button-disabled-fg)",
},
}}
>
@@ -381,17 +378,14 @@ const OnboardingContent = React.forwardRef<
sx={{
height: "45px",
width: "80px",
- bgcolor: "#0069A8",
+ bgcolor: "var(--button-primary-bg)",
+ color: "var(--button-primary-fg)",
"&:hover": {
filter: "brightness(0.85)",
},
- ".dark &": {
- bgcolor: "#93C5FD",
- color: "#111827",
- },
- ".dark &.Mui-disabled": {
- backgroundColor: "#3F3F47",
- color: "#71717A",
+ "&.Mui-disabled": {
+ backgroundColor: "var(--button-disabled-bg)",
+ color: "var(--button-disabled-fg)",
},
}}
>
@@ -408,17 +402,14 @@ const OnboardingContent = React.forwardRef<
sx={{
height: "45px",
width: "80px",
- bgcolor: "#0069A8",
+ bgcolor: "var(--button-primary-bg)",
+ color: "var(--button-primary-fg)",
"&:hover": {
filter: "brightness(0.85)",
},
- ".dark &": {
- bgcolor: "#93C5FD",
- color: "#111827",
- },
- ".dark &.Mui-disabled": {
- backgroundColor: "#3F3F47",
- color: "#71717A",
+ "&.Mui-disabled": {
+ backgroundColor: "var(--button-disabled-bg)",
+ color: "var(--button-disabled-fg)",
},
}}
>
@@ -460,7 +451,7 @@ export default function OnboardingDialog(): React.JSX.Element {
border: "3px solid",
borderColor: "var(--mui-palette-divider)",
backgroundImage: "none",
- backgroundColor: "#303035",
+ backgroundColor: "var(--surface-modal)",
},
},
},
@@ -493,7 +484,7 @@ export default function OnboardingDialog(): React.JSX.Element {
},
".dark & .MuiDrawer-paper": {
backgroundImage: "none",
- backgroundColor: "#303035",
+ backgroundColor: "var(--surface-modal)",
},
}}
>
diff --git a/apps/next/src/components/ui/restaurant/dishes-view.tsx b/apps/next/src/components/ui/restaurant/dishes-view.tsx
index 7196f867..e98b0fd2 100644
--- a/apps/next/src/components/ui/restaurant/dishes-view.tsx
+++ b/apps/next/src/components/ui/restaurant/dishes-view.tsx
@@ -91,12 +91,13 @@ export function DishesView({
: // Normal View: Render active station logic
activeStation && (
-
+
{toTitleCase(activeStation.name)}
diff --git a/apps/next/src/components/ui/restaurant/header/desktop-tabs.tsx b/apps/next/src/components/ui/restaurant/header/desktop-tabs.tsx
index 8770b63e..afaa532c 100644
--- a/apps/next/src/components/ui/restaurant/header/desktop-tabs.tsx
+++ b/apps/next/src/components/ui/restaurant/header/desktop-tabs.tsx
@@ -45,7 +45,7 @@ export function DesktopTabs({
setSelectedStation(val);
}
}}
- className="flex w-full overflow-x-auto no-scrollbar !bg-sky-700/40 dark:!bg-[#46566a] !rounded-lg !p-2 [&_.MuiTabs-flexContainer]:justify-between [&_.MuiTabs-flexContainer]:gap-2 [&_.MuiTabs-indicator]:hidden"
+ className="flex w-full overflow-x-auto no-scrollbar bg-primary-accent dark:!bg-[#46566a] !rounded-lg !p-2 [&_.MuiTabs-flexContainer]:justify-between [&_.MuiTabs-flexContainer]:gap-2 [&_.MuiTabs-indicator]:hidden"
variant="scrollable"
scrollButtons={false}
>
diff --git a/apps/next/src/components/ui/restaurant/restaurant-controls.tsx b/apps/next/src/components/ui/restaurant/restaurant-controls.tsx
index c4c75d92..15fc3a10 100644
--- a/apps/next/src/components/ui/restaurant/restaurant-controls.tsx
+++ b/apps/next/src/components/ui/restaurant/restaurant-controls.tsx
@@ -70,16 +70,12 @@ export function RestaurantControls({
<>
{/* Desktop title & status (Header) */}
-
-
-
- {/* Desktop Status - now next to selectors */}
- {isDesktop && (
-
-
-
- )}
+
+
+ {isDesktop && }
+
+
{/* Meal & date selectors (Filters) */}
{/* Mobile Header Overlay */}
@@ -207,20 +212,7 @@ export function RestaurantPage({
>
{hall === HallEnum.ANTEATERY ? "Anteatery" : "Brandywine"}
-
- {openTime && closeTime ? (
- <>
-
-
- {derivedHallStatus === HallStatusEnum.OPEN
- ? "Open"
- : "Closed"}
-
- >
- ) : null}
-
+
-
+
void;
@@ -62,11 +63,16 @@ export default function SidebarContent({
return (
{/* Header */}
-
+
{/* Content */}
-
+
{/* Dietary Preferences */}
@@ -115,12 +121,7 @@ export default function SidebarContent({
{preferences?.length ? (
preferences.map((pref) => (
-
- {formatDietaryKey(pref)}
-
+
))
) : (
None
@@ -139,12 +140,7 @@ export default function SidebarContent({
{allergies?.length ? (
allergies.map((allergy) => (
-
- {formatDietaryKey(allergy)}
-
+
))
) : (
None
@@ -158,7 +154,11 @@ export default function SidebarContent({
Appearance
-
+
setTheme("light")}
@@ -191,7 +191,11 @@ export default function SidebarContent({
onClose();
onEditPreferencesClick();
}}
- className="w-full flex items-center gap-3 rounded-lg px-4 py-2 text-sm text-gray-900 dark:text-white hover:bg-gray-100 dark:hover:bg-gray-800 disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:bg-transparent disabled:dark:hover:bg-transparent"
+ className={`w-full flex items-center gap-3 rounded-lg px-4 py-2
+ text-sm text-gray-900 dark:text-white hover:bg-gray-100
+ dark:hover:bg-gray-700 disabled:opacity-50
+ disabled:cursor-not-allowed disabled:hover:bg-transparent
+ disabled:dark:hover:bg-transparent`}
>
@@ -227,12 +231,14 @@ export default function SidebarContent({
{/* Sign out */}
-
+
{user ? (