refactor: remove category colors from units app

This commit is contained in:
2026-02-25 18:24:15 +01:00
parent f28a2d1eab
commit 317a80dbad
5 changed files with 5 additions and 126 deletions

View File

@@ -10,8 +10,6 @@ import {
getUnitsForMeasure,
getUnitInfo,
formatMeasureName,
getCategoryColor,
getCategoryColorHex,
type Measure,
type UnitInfo,
} from '@/lib/units/units';
@@ -157,12 +155,6 @@ export default function SearchUnits({ onSelectUnit, className }: SearchUnitsProp
<span className="truncate">{formatMeasureName(result.measure)}</span>
</div>
</div>
<div
className="w-3 h-3 rounded-full flex-shrink-0"
style={{
backgroundColor: getCategoryColorHex(result.measure),
}}
/>
</button>
))}
</div>