Skip to content

Branch Colors & Visual Badge Highlighting

Purpose

This guide details how administrators configure visual color coding for shops and regional branches under Org Settings (/org-settings) in Cashy-Hub.


1. The Branch Colors Console

In /org-settings, select the Branch Colors tab: - Header: Title "Branch Colors", subtitle "Configure badge highlight colors assigned to shops and branches.", and a secondary Reset All button (with reset icon).


2. Swatch Palette & Interactive Controls

The table renders every active store branch with an interactive 8-color palette selector:

graph LR
    subgraph SwatchPalette ["Curated 8-Color Highlighting Swatches"]
        C1["#D1FAE5 (Emerald)"]
        C2["#FEF08A (Yellow)"]
        C3["#FEE2E2 (Rose)"]
        C4["#DBEAFE (Sky Blue)"]
        C5["#E0E7FF (Indigo)"]
        C6["#FCE7F3 (Pink)"]
        C7["#BFDBFE (Royal Blue)"]
        C8["#CCFBF1 (Teal)"]
    end

Table Columns:

  1. SHOP / BRANCH: Displays branch name (e.g. Vienna, Berlin, Munich) and assigned region (Austria Region, Germany Region).
  2. BADGE PREVIEW: Shows the live rendered badge pill with the selected background color and dark text (e.g. AT / Vienna, DE / Munich).
  3. CUSTOMIZE HIGHLIGHT COLOR:
  4. Operators click on any of the 8 color swatches.
  5. The selected color displays a white checkmark ().
  6. The badge in the BADGE PREVIEW column updates instantly.
  7. ACTIONS:
  8. Reset Button: Reverts the individual branch back to its default palette color.
  9. Reset All (Header): Reverts all branches organization-wide to standard theme tokens.