Foundations · @jengacore/theme
Scrollbar
The theme draws every scrollbar in the scrollbar-thumb tokens. In Chromium and Safari, native overflow and the ScrollArea component look the same: a 6px rounded thumb in a 10px track, always visible, at least 3:1 on every surface, darker under the pointer and while dragged. On navy sidebars it uses the sidebar greys. Under forced colours (Windows High Contrast) the system draws its own scrollbars.
- tx_01J9ZK4000Settled
- tx_01J9ZK4037Pending
- tx_01J9ZK4074Returned
- tx_01J9ZK4111Settled
- tx_01J9ZK4148Pending
- tx_01J9ZK4185Returned
- tx_01J9ZK4222Settled
- tx_01J9ZK4259Pending
- tx_01J9ZK4296Returned
- tx_01J9ZK4333Settled
- tx_01J9ZK4370Pending
- tx_01J9ZK4407Returned
- tx_01J9ZK4444Settled
- tx_01J9ZK4481Pending
- tx_01J9ZK4518Returned
- tx_01J9ZK4555Settled
- tx_01J9ZK4592Pending
- tx_01J9ZK4629Returned
- tx_01J9ZK4666Settled
- tx_01J9ZK4703Pending
- tx_01J9ZK4740Returned
- tx_01J9ZK4777Settled
- tx_01J9ZK4814Pending
- tx_01J9ZK4851Returned
- tx_01J9ZK4888Settled
- tx_01J9ZK4925Pending
- tx_01J9ZK4962Returned
- tx_01J9ZK4999Settled
- tx_01J9ZK5036Pending
- tx_01J9ZK5073Returned
- tx_01J9ZK5110Settled
- tx_01J9ZK5147Pending
- tx_01J9ZK5184Returned
- tx_01J9ZK5221Settled
- tx_01J9ZK5258Pending
- tx_01J9ZK5295Returned
- tx_01J9ZK5332Settled
- tx_01J9ZK5369Pending
- tx_01J9ZK5406Returned
- tx_01J9ZK5443Settled
const line01 = settle({ window: "W-20261028", currency: "BIF", amount: "1250.00", reference: "INV-9000" })
const line02 = settle({ window: "W-20261029", currency: "BIF", amount: "1363.50", reference: "INV-9001" })
const line03 = settle({ window: "W-20261030", currency: "BIF", amount: "1477.00", reference: "INV-9002" })
const line04 = settle({ window: "W-20261031", currency: "BIF", amount: "1590.50", reference: "INV-9003" })
const line05 = settle({ window: "W-20261032", currency: "BIF", amount: "1704.00", reference: "INV-9004" })
const line06 = settle({ window: "W-20261033", currency: "BIF", amount: "1817.50", reference: "INV-9005" })
const line07 = settle({ window: "W-20261034", currency: "BIF", amount: "1931.00", reference: "INV-9006" })
const line08 = settle({ window: "W-20261035", currency: "BIF", amount: "2044.50", reference: "INV-9007" })
const line09 = settle({ window: "W-20261036", currency: "BIF", amount: "2158.00", reference: "INV-9008" })
const line10 = settle({ window: "W-20261037", currency: "BIF", amount: "2271.50", reference: "INV-9009" })
const line11 = settle({ window: "W-20261038", currency: "BIF", amount: "2385.00", reference: "INV-9010" })
const line12 = settle({ window: "W-20261039", currency: "BIF", amount: "2498.50", reference: "INV-9011" })
const line13 = settle({ window: "W-20261040", currency: "BIF", amount: "2612.00", reference: "INV-9012" })
const line14 = settle({ window: "W-20261041", currency: "BIF", amount: "2725.50", reference: "INV-9013" })
const line15 = settle({ window: "W-20261042", currency: "BIF", amount: "2839.00", reference: "INV-9014" })
const line16 = settle({ window: "W-20261043", currency: "BIF", amount: "2952.50", reference: "INV-9015" })
const line17 = settle({ window: "W-20261044", currency: "BIF", amount: "3066.00", reference: "INV-9016" })
const line18 = settle({ window: "W-20261045", currency: "BIF", amount: "3179.50", reference: "INV-9017" })
const line19 = settle({ window: "W-20261046", currency: "BIF", amount: "3293.00", reference: "INV-9018" })
const line20 = settle({ window: "W-20261047", currency: "BIF", amount: "3406.50", reference: "INV-9019" })
const line21 = settle({ window: "W-20261048", currency: "BIF", amount: "3520.00", reference: "INV-9020" })
const line22 = settle({ window: "W-20261049", currency: "BIF", amount: "3633.50", reference: "INV-9021" })
const line23 = settle({ window: "W-20261050", currency: "BIF", amount: "3747.00", reference: "INV-9022" })
const line24 = settle({ window: "W-20261051", currency: "BIF", amount: "3860.50", reference: "INV-9023" })
const line25 = settle({ window: "W-20261052", currency: "BIF", amount: "3974.00", reference: "INV-9024" })
const line26 = settle({ window: "W-20261053", currency: "BIF", amount: "4087.50", reference: "INV-9025" })
const line27 = settle({ window: "W-20261054", currency: "BIF", amount: "4201.00", reference: "INV-9026" })
const line28 = settle({ window: "W-20261055", currency: "BIF", amount: "4314.50", reference: "INV-9027" })
const line29 = settle({ window: "W-20261056", currency: "BIF", amount: "4428.00", reference: "INV-9028" })
const line30 = settle({ window: "W-20261057", currency: "BIF", amount: "4541.50", reference: "INV-9029" })| Transaction | Status | Amount | Currency | Payer FSP | Payee FSP | Window | Created | Updated | Reference |
|---|---|---|---|---|---|---|---|---|---|
| tx_01J9ZK4000 | Settled | 1250.00 | BIF | bank-a | wallet-b | W-20261028 | 28 Oct 2026 09:10 | 28 Oct 2026 09:20 | INV-9000 |
| tx_01J9ZK4037 | Pending | 1363.50 | BIF | bank-a | wallet-b | W-20261029 | 28 Oct 2026 09:11 | 28 Oct 2026 09:21 | INV-9001 |
| tx_01J9ZK4074 | Returned | 1477.00 | BIF | bank-a | wallet-b | W-20261030 | 28 Oct 2026 09:12 | 28 Oct 2026 09:22 | INV-9002 |
| tx_01J9ZK4111 | Settled | 1590.50 | BIF | bank-a | wallet-b | W-20261031 | 28 Oct 2026 09:13 | 28 Oct 2026 09:23 | INV-9003 |
| tx_01J9ZK4148 | Pending | 1704.00 | BIF | bank-a | wallet-b | W-20261032 | 28 Oct 2026 09:14 | 28 Oct 2026 09:24 | INV-9004 |
| tx_01J9ZK4185 | Returned | 1817.50 | BIF | bank-a | wallet-b | W-20261033 | 28 Oct 2026 09:15 | 28 Oct 2026 09:25 | INV-9005 |
Use
usage
/* Nothing to add: the theme styles every scrollbar. */
<div className="overflow-y-auto">…</div> /* themed */
<div className="scrollbar-none overflow-x-auto">…</div> /* hidden, still scrolls */
<div className="scrollbar-stable overflow-y-auto">…</div> /* gutter reserved, no layout shift */
<ScrollArea className="h-72">…</ScrollArea> /* same thumb, same size */scrollbar-nonehides the bar only: the region still scrolls by wheel, touch and keyboard. Use it where another cue shows there is more (a fade, a count, arrows).scrollbar-stablesetsscrollbar-gutter: stablefor lists whose length changes live.- A scrolling region needs a keyboard way in: focusable content, or
tabIndex=0with a role and a name. The ScrollArea viewport is not a tab stop, as upstream. - ScrollArea keeps its default
type="hover": its bar shows on hover and while scrolling. Native bars cannot tell when scrolling starts without script, so they stay visible. - Firefox takes only
scrollbar-width: thinand the thumb colour: its own thumb shape and size, no hover colour. macOS overlay scrollbars, in any browser, follow the system setting. - ScrollArea hides the viewport's native bar with its own unlayered style, which wins over the theme, so it never shows two bars.
- Nothing animates natively; the ScrollArea thumb's colour change is switched off by reduced motion.
Contrast (WCAG 1.4.11, 3:1)
| Pair | Light | Dark | High contrast |
|---|---|---|---|
| scrollbar-thumb on background / card | 3.45 | 4.08 / 3.75 | 17.40 |
| scrollbar-thumb on canvas | 3.21 | 4.08 | 17.40 |
| scrollbar-thumb on muted / accent | 3.10 / 3.10 | 3.46 / 3.26 | 15.61 / 14.89 |
| scrollbar-thumb on table-stripe | 3.05 | 3.63 | 15.61 |
| scrollbar-thumb-hover on card | 5.33 | 6.77 | 19.68 |
| sidebar-muted thumb on sidebar | 6.05 | 6.27 | 14.23 |