chore: update

This commit is contained in:
2026-03-08 22:06:57 +01:00
parent bda2a1d31a
commit 20e9918941
4 changed files with 138 additions and 15 deletions
-10
View File
@@ -34,13 +34,3 @@ export const getStatusColors = (colors: Colors): Record<string, string> => ({
offline: colors.textMuted,
});
export const getCategoryColor = (category: string, colors: Colors): string => {
const map: Record<string, string> = {
"weed&hash": colors.categoryWeedHash,
tous: colors.categoryTous,
"zipette&co": colors.categoryZipette,
"gros&semi": colors.categoryGros,
};
const key = category?.toLowerCase().trim();
return map[key] || colors.accent;
};