Align trip tags and desktop UI with CI contracts

This commit is contained in:
Maurice
2026-12-05 12:24:04 +01:00
parent 3cd22b91ff
commit 53198b4d58
47 changed files with 685 additions and 515 deletions
+13 -5
View File
@@ -1,10 +1,18 @@
import { Plus } from 'lucide-react'
import { Plus } from 'lucide-react';
export function AddRouteStop({ onClick, label, mobile = false }: { onClick: () => void; label: string; mobile?: boolean }) {
export function AddRouteStop({
onClick,
label,
mobile = false,
}: {
onClick: () => void;
label: string;
mobile?: boolean;
}) {
const button = mobile
? 'border-m-rowbr bg-m-sheetop text-control text-m-ink active:bg-m-ic'
: 'border-edge bg-surface-input text-body text-content hover:bg-surface-hover'
const tile = mobile ? 'bg-m-ic text-m-muted' : 'bg-surface-secondary text-content-muted'
: 'border-edge bg-surface-input text-body text-content hover:bg-surface-hover';
const tile = mobile ? 'bg-m-ic text-m-muted' : 'bg-surface-secondary text-content-muted';
return (
<button
@@ -17,5 +25,5 @@ export function AddRouteStop({ onClick, label, mobile = false }: { onClick: () =
</span>
{label}
</button>
)
);
}