Foundations
Colour
Two layers. The palette holds raw OKLCH values on a 50โ950 scale and is never used by components directly. Role tokens point into the palette, so a new palette only changes the role mapping, not the components.
- 50
- 100
- 200
- 300
- 400
- 500
- 600
- 700
- 800
- 900
- 950
- 50
- 100
- 200
- 300
- 400
- 500
- 600
- 700
- 800
- 900
- 950
- 200
- 600
- 800
- 900
- 950
- 50
- 100
- 200
- 300
- 400
- 500
- 700
- 800
- 100
- 300
- 400
- 500
- 600
- 700
- 800
- 900
- 100
- 300
- 500
- 700
- 900
- 100
- 300
- 400
- 700
- 900
- 100
- 300
- 400
- 500
- 600
- 700
- 900
- 100
- 300
- 500
- 700
- 900
--backgroundcream-100 ยท dark night-900--surfacecream-50 ยท dark night-700--surface-2cream-200 ยท dark night-600--mutedcream-400 ยท dark night-500--bordercream-500 ยท dark night-400--border-strongcream-800 ยท dark night-200
--foregroundink-900 ยท dark cream-300--foreground-2ink-600 ยท dark cream-700--muted-foregroundcream-950 ยท dark night-50
--primaryink-800 ยท dark ink-200--hero-bgink-800 ยท dark night-800--plumplum-700 ยท dark plum-400--plum-softplum-100 ยท dark plum-800--goldgold-400 ยท dark gold-300--gold-softgold-100 ยท dark gold-800
--successsage-500 ยท dark sage-300--success-softsage-100 ยท dark sage-900--warningamber-400 ยท dark amber-300--warning-softamber-100 ยท dark amber-900--destructiveterracotta-500 ยท dark terracotta-400--destructive-softterracotta-100 ยท dark terracotta-900--infoblue-500 ยท dark blue-300--info-softblue-100 ยท dark blue-900
Typography
Plus Jakarta Sans for everything, with tabular numbers for ticket IDs, dates and money. Headings balance their lines; paragraphs avoid orphans. Sentence case everywhere except proper names.
Radius & shadow
Small radii and thin borders keep things quiet. Nested corners subtract the padding: a 12px box with 3px padding holds a 9px inner corner. Shadows are tinted with the primary ink, never pure black.
Motion
Motion explains a change, it doesn't decorate it. Everything sits inside prefers-reduced-motion: no-preference; with reduced motion, changes are instant.
| Pattern | Timing | Used in |
|---|---|---|
| Open and close | 250ms ยท cubic-bezier(0.2, 0, 0, 1) | Disclosure, Collapse, theme toggle icon |
| Segment slide | 200ms ยท cubic-bezier(0.2, 0, 0, 1) | Segmented control indicator |
| Page enter | 260ms ยท fade + 8px rise | Admin pages; fade only below lg |
| Stagger | 40ms per item | Dashboard cards, Handbook blocks |
| Reveal | 600ms ยท fade + 24px rise | Landing sections as they scroll in |
Music glyphs
Noto Music glyphs stand in for icons only where the musical meaning fits. They are always aria-hidden and always sit next to a text label. Inline glyphs scale with the text around them; display glyphs keep explicit sizes.
- Reverse final barlineOpens a score. Brand mark, opens every landing heading. Gold.
- Final barlineCloses a score. Closes landing headings, end of a returned loan. Gold.
- Left repeatStart of a repeated passage. Loan active, the step an extension loops back to. Gold.
- Right repeatGo back and play again. Extension badge. Text colour.
- FermataHold longer. Ongoing loans carried into a new term. Plum on neutral surfaces, text colour inside badges.
- Quarter restSilence. Every empty state. Tone of the empty state.
Components
Notice
One component for every notice box. Gold means it's your turn to act, plum means the staff are on it, and a plain card is just information. The compact version carries short form errors and Handbook warnings.
Due 30/06/2027
Field
Label on top, hint or error underneath, wired to the input with aria-describedby and aria-invalid. Mark what's optional instead of starring what's required. Forms skip browser validation so every message is BATON's own.
Kode akses status akan dikirim ke email ini.
Angkatan harus 4 digit angka
Badges
Status badges always carry a text label, never colour alone. Glyph badges are the only badges with notation: soft on neutral surfaces, outline on a ticket hero.
Ticket
The ticket shape is reserved for things that stand for a loan ticket, so anything with a Ticket ID. Notches, the curved outline and perforations all come from one token, --ticket-notch. The two halves never share a tone.
- Pengajuan dikirim
- 2Lengkapi data & dokumen
- 3Ambil & isi addendum
- 4Sedang dipinjam
- Pengajuan dikirim
- 2Lengkapi data & dokumen
- 3Ambil & isi addendum
- 4Sedang dipinjam
Progress
One vocabulary: done is primary with a check, current is gold with a ring, upcoming is an outline. Rejected, cancelled and overdue are not steps, they replace the stepper with a Notice. A bar's colour has to mean something; if it only shows position, it's primary.
- Pengajuan dikirim
- Lengkapi data & dokumen
- 3Ambil & isi addendum
- 4Sedang dipinjam
- Pengajuan dikirim
- Lengkapi data & dokumen
- 3Ambil & isi addendum
- 4Sedang dipinjam
Disclosure & collapse
Disclosure is a native details element for page content; its chevron flips from down to up. Collapse is a button with a grid-row panel for structural groups; its chevron turns from right to down, and a closed panel is inert so the keyboard skips it.
Email berisi Ticket ID dan kode akses tidak masuk?
Cek folder Spam di email kamu dan tandai sebagai "Bukan spam".
- Violin
- Viola
- Cello
Confirmation
How hard an action asks for confirmation depends on what it does, named after dynamics. The level names live only here, never in the UI.
| Level | Effect | Pattern |
|---|---|---|
| p | Can be undone | Runs straight away, then a toast |
| mf | Emails the borrower | No dialog, one line under the button saying what gets sent |
| f | Can't be undone | Alert dialog that names the consequence, with a specific verb |
| sfz | Removes access | Alert dialog plus a hold-to-confirm button |
Emails the borrower to fill in contract details.
Press and hold.
Empty state
A quarter rest for anything that's empty. Gold when a search or filter found nothing, plain when there's simply nothing yet.
No instruments yet
Instruments added by admin will appear here.
No matching instruments
Try a different search term.
Toast
One sentence. Admin errors start with Couldn't, public errors end with the next step. Error toasts stay until they're closed.
Segmented control
Two or three options with a sliding indicator. The indicator's corner is the outer corner minus the padding.
Cards
Below the table breakpoint, and whenever a table wouldn't fit, lists turn into cards grouped by what makes sense for the data. Tables never scroll sideways.
Guidelines
Writing
Three voices, one set of terms. The contract PDF stays formal; everything else follows the voice of the page it lives on.
- Public pages and borrower emails ยท Casual Indonesian, kamuKode aksesnya belum cocok. Cek lagi email konfirmasi kamu.
- Admin ยท Plain EnglishCouldn't assign the instrument. Try again.
- Handbook ยท Zenka's own voice, on purposeSEHARUSNYA instrumennya udah disiapin di Sekre.
- DoUse sentence case for buttons, headings, labels and statuses. Proper names keep their capitals: BATON, OSUI Mahawaditra, LINE, KTP, Ticket ID, Ketua.
- DoSay what happened and what to do next. Use belum when the borrower can fix it.
- Don'tUse internal terms like Tahap 2, assign or Stage in public copy.
- Don'tBlame the reader, or use emoji anywhere in the interface.
| Public | Admin |
|---|---|
| peminjam | borrower |
| tiket | ticket |
| kode akses | access code |
| addendum | addendum |
| deposit | deposit |
| jatuh tempo | due date |
| perpanjangan | extension |
| pengembalian | return |
Accessibility
The floor every screen has to clear before it ships.
- DoKeep text contrast at 4.5:1 for body copy and 3:1 for large headings and UI.
- DoAlways show a visible focus ring. Never remove an outline without replacing it.
- DoGive every icon-only button an aria-label.
- DoPair every status colour with a text label, and every music glyph with a word.
- DoTie form errors to their field with aria-describedby and aria-invalid, and move focus to the first one.
- DoRespect reduced motion: anything that moves has an instant fallback.