Skip to content
Ritesh FirodiyaGet in touch

Work / Aakalan / Wiki / Entities

categories

Entitycanonicalverified 2026-09-23

CATEGORY.SET

Summary

Seven expense categories, each owning one hue and one lucide icon everywhere it appears.

Canonical values

Key Icon Hue token Last changed
CATEGORY.FOOD utensils --cat-food #f97316 2026-09-23
CATEGORY.TRAVEL plane --cat-travel #0091ff 2026-09-23
CATEGORY.STAY bed-double --cat-stay #8b5cf6 2026-09-23
CATEGORY.HOME house --cat-home #92400e 2026-09-23
CATEGORY.FUN party-popper --cat-fun #ec4899 2026-09-23
CATEGORY.SHOP shopping-bag --cat-shop #f5a524 2026-09-23
CATEGORY.UTIL zap --cat-util #64748b 2026-09-23

A category is never picked. An expense's is guessed from its description (KEYWORDS in (tabs)/add.tsx, a different list in recurring/new.tsx), and a group's from its NAME (categoryForName) — which is also what chooses its cover gradient. The group Type picker this replaced admitted in its own help text that it did "nothing else", which is a decision asked of somebody who came to split a trip, in exchange for a colour.

home is brown rather than green. It was #12a150 — the literal value of --pos — so the Home puck was the money green in a list whose right-hand column is money. See reserved-money-direction.

Related

Sources

  • src/theme/tokens.ts
  • src/components/ui/category-icon.tsx
  • src/lib/group-category.ts

Every project of mine is written down like this.

Read the résumé