Skip to content

Commit

Permalink
chip color
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Apr 11, 2024
1 parent 7139aaa commit 43d4262
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/trip-tick/web/src/components/weather/WeatherForecast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,20 @@ function Forecast({
return (
<CollapsibleRoot>
<CollapsibleTrigger className="bg-transparent border-none flex flex-row items-center gap-1 flex-wrap p-2 w-full">
<Chip aria-label="High temperature">
<Chip aria-label="High temperature" className="text-black">
<Icon name="arrowUp" className="text-attention-dark" />
<span>
{Math.round(data.weatherForecast.high)}
<TempUnit unit={data.weatherForecast.temperatureUnit} />
</span>
</Chip>
<Chip aria-label="Low temperature">
<Chip aria-label="Low temperature" className="text-black">
<Icon name="arrowDown" className="text-primary-dark" />
{Math.round(data.weatherForecast.low)}
<TempUnit unit={data.weatherForecast.temperatureUnit} />
</Chip>
{data.weatherForecast.willRain && (
<Chip>
<Chip className="text-black">
<Raindrop /> Rain
</Chip>
)}
Expand Down

0 comments on commit 43d4262

Please sign in to comment.