From 747c579b15c54dc5dbc50482d3361761853e007a Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Wed, 19 Nov 2025 22:34:07 +0100 Subject: feat: Refactor layout and styles for StopList and related components; add ThemeColorManager for dynamic theme support --- src/frontend/app/components/StopItem.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'src/frontend/app/components/StopItem.tsx') diff --git a/src/frontend/app/components/StopItem.tsx b/src/frontend/app/components/StopItem.tsx index ae51df8..de51576 100644 --- a/src/frontend/app/components/StopItem.tsx +++ b/src/frontend/app/components/StopItem.tsx @@ -1,8 +1,8 @@ import React from "react"; import { Link } from "react-router"; +import { useApp } from "../AppContext"; import StopDataProvider, { type Stop } from "../data/StopDataProvider"; import LineIcon from "./LineIcon"; -import { useApp } from "../AppContext"; interface StopItemProps { stop: Stop; @@ -14,9 +14,16 @@ const StopItem: React.FC = ({ stop }) => { return (
  • - {stop.favourite && } ( - {stop.stopId}) {StopDataProvider.getDisplayName(region, stop)} -
    +
    + + {stop.favourite && } + {StopDataProvider.getDisplayName(region, stop)} + + + ({stop.stopId}) + +
    +
    {stop.lines?.map((line) => ( ))} -- cgit v1.3