@cahyo-dimas/freeday 3.21.0 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +54 -0
- package/COMPONENTS.md +48 -1
- package/README.id.md +2 -2
- package/README.md +2 -2
- package/USAGE.md +47 -11
- package/dist/freeday.bundle.css +418 -1
- package/dist/freeday.css +80 -1
- package/dist/freeday.tokens.css +338 -0
- package/docs/agent-onboarding.md +4 -4
- package/docs/getting-started.md +2 -2
- package/package.json +2 -2
- package/src/components/actionbar.css +68 -0
- package/src/components/bottomnav.css +11 -1
- package/tokens/tokens.json +30 -19
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,60 @@ benar. Perubahan seperti itu ditulis di bawah `### Changed: BREAKING (types)`
|
|
|
9
9
|
lama → tipe baru, dan cara menyempitkannya — bukan di bawah `### Added`, betapapun aditifnya dari
|
|
10
10
|
sisi kit.
|
|
11
11
|
|
|
12
|
+
## [3.22.0] - 2026-11-24
|
|
13
|
+
|
|
14
|
+
**Sebuah app yang dipakai di HP punya tombol berukuran ibu jari, isian primary yang lebih dalam, dan
|
|
15
|
+
bilah aksi yang menempel di atas navigasi bawah.** Tanpa atribut baru, setiap token tetap bernilai
|
|
16
|
+
sama dengan 3.21.0 di terang, gelap, `soft`, `glass`, di bawah semua palet dan netral, selain satu
|
|
17
|
+
token baru, `--primary-700-rgb`, di setiap blok palet (tak ada yang membacanya tanpa
|
|
18
|
+
`data-primary-fill="deep"`). `test/token-snapshot.test.mjs` menjaganya.
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
- **`data-density="touch"`.** Menyetel `--control-h` ke `2.75rem` (44px) dan tidak mengubah yang lain.
|
|
22
|
+
Di dalam region `compact` ia mempertahankan spasi compact.
|
|
23
|
+
- **`data-primary-fill="deep"`.** Isian primary memakai shade 700; hover, active, dan strong memakai 800;
|
|
24
|
+
`--color-primary-rgb` dan cincin fokus memakai 700; label memakai `onDeep`. Hanya tema terang; tema
|
|
25
|
+
gelap tidak berubah. `onDeep` bernilai putih di 18 palet (terukur: terendah lime 4,99:1, di ketiga
|
|
26
|
+
netral slate, grey, dan stone). Setiap blok palet kini juga membawa `--primary-700-rgb`. Region bersarang mengulang `data-theme` dan `data-primary` di elemen yang sama. Wrapper
|
|
27
|
+
polos memakai nilai terang `deep` di semua tema, jadi di bawah tema gelap (milik leluhur atau OS)
|
|
28
|
+
isian dan tinta strong-nya salah.
|
|
29
|
+
- **`.fdy-actionbar`** (`src/components/actionbar.css`, hanya CSS): aksi yang menempel di atas navigasi
|
|
30
|
+
bawah dan tidak pernah menutup baris terakhir. Boleh berada di dalam satu wrapper halaman seperti
|
|
31
|
+
`.fdy-page` yang menjadi anak terakhir `main`. Di HP (720px ke bawah) bar selebar layar, seperti
|
|
32
|
+
navigasi bawah. Bersamanya token `--fdy-bottomnav-h`.
|
|
33
|
+
- **`USAGE.md` §8 Mobile**: HP adalah layout sendiri, bukan desktop yang diperkecil.
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
- **Tinta label palet di bawah pengaturan gelap OS.** Tujuh palet bertinta gelap (orange, amber, lime,
|
|
37
|
+
green, emerald, teal, cyan) menampilkan label putih di isian 500 selama OS gelap, bahkan dengan
|
|
38
|
+
`data-theme="dark"`. Terukur sebelum perbaikan: orange 2,80, amber 2,15, lime 1,98, green 2,28,
|
|
39
|
+
emerald 2,54, teal 2,49, cyan 2,43 :1. Sebabnya: aturan dasar `:root:not([data-theme="light"])` (0,2,0)
|
|
40
|
+
mengalahkan blok palet (0,1,0), dan `buildPrimariesCss` hanya menulis kembaran gelap bila `onDark`
|
|
41
|
+
berbeda dari `on`. Gerbang kontras tidak pernah memodelkan cakupan gelap OS. Kini ada kembaran
|
|
42
|
+
gelap, dan tes kontras serta tes browser menjaganya.
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
- **Tinggi navigasi bawah kini dinyatakan.** `--fdy-bottomnav-h` dideklarasikan di
|
|
46
|
+
`.fdy-app--has-bottomnav` dan navigasi mengambil tingginya dari sana. Tingginya dulu 61,39px karena
|
|
47
|
+
isi satu item (ikon, label) 0,39px lebih tinggi dari 44px; kini tepat 61px. Dengan font app yang lebih
|
|
48
|
+
tinggi, label meluap ke padding bawah dan tidak lagi menambah tinggi bilah.
|
|
49
|
+
- **`.fdy-actionbar` sebagai anak terakhir `.fdy-app__main`** meniadakan padding bawah main dengan margin
|
|
50
|
+
negatif per konteks, sehingga di akhir halaman ia bersandar rata pada navigasi atau tepi viewport.
|
|
51
|
+
- **Docs.** `USAGE.md` §0 kini menyebut "di luar jaminan kit" sebagai ganti "terkunci". Daftar
|
|
52
|
+
`data-density` di README, `docs/getting-started.md`, dan `docs/agent-onboarding.md` memuat `touch`.
|
|
53
|
+
|
|
54
|
+
### Upgrade
|
|
55
|
+
- Ganti `--control-h: 2.75rem` yang disetel tangan dengan `data-density="touch"`.
|
|
56
|
+
- Ganti primary yang lebih dalam yang disetel tangan (`--color-primary: var(--primary-700)` dan
|
|
57
|
+
kawan-kawannya) dengan `data-primary-fill="deep"`.
|
|
58
|
+
- Penyetelan `--color-on-primary` bertinta gelap di bawah `[data-theme='dark']` baru boleh dihapus
|
|
59
|
+
setelah region gelap itu membawa `data-primary` di sebelah `data-theme` (`USAGE.md` §5b). Perbaikan
|
|
60
|
+
kit hanya berlaku di scope yang menaruh keduanya pada elemen yang sama; region gelap bersarang yang
|
|
61
|
+
mewarisi palet dari `<html>` masih butuh aturan itu.
|
|
62
|
+
- `--color-on-primary` yang disetel tangan di bawah `:root[data-primary=…]` kini kalah dari
|
|
63
|
+
`:root:not([data-theme="light"])[data-primary=…]` saat OS gelap. Hapus override itu dan pakai
|
|
64
|
+
`data-primary-fill="deep"` dalam perubahan yang sama.
|
|
65
|
+
|
|
12
66
|
## [3.21.0] - 2026-11-20
|
|
13
67
|
|
|
14
68
|
**Sebuah app memutuskan tampilannya sendiri.** Sebelum rilis ini kit hanya menawarkan palet primary,
|
package/COMPONENTS.md
CHANGED
|
@@ -529,7 +529,7 @@ without a reload.
|
|
|
529
529
|
inks, the chart grid, and the `noir` palette): `slate` (the default, and what you get with no
|
|
530
530
|
attribute), `grey` (no hue) and `stone` (warm). Each shade keeps the lightness of the slate shade
|
|
531
531
|
with the same number, and every option is contrast-gated in both themes and under all 18 palettes.
|
|
532
|
-
Set it on `<html>`; on a region, only together with `data-theme`, because
|
|
532
|
+
Set it on `<html>`; on a region, only together with `data-theme`, because a bare wrapper takes the ink but not the surfaces (`USAGE.md` §5b).
|
|
533
533
|
|
|
534
534
|
```html
|
|
535
535
|
<html data-neutral="stone" data-primary="noir">
|
|
@@ -563,10 +563,23 @@ and `violet` shift one step lighter in dark, because at their mid shade neither
|
|
|
563
563
|
reaches 4.5:1. `noir` is not a hue at all — it re-points the alias ramp at the neutral ramp, so
|
|
564
564
|
"primary" becomes near-black in light and near-white in dark.
|
|
565
565
|
|
|
566
|
+
**Deep fill: `data-primary-fill="deep"`.** For a white label on a darker fill, in the light theme
|
|
567
|
+
only. The fill, hover, active and strong ink move one shade down the palette's ramp (fill 700,
|
|
568
|
+
hover/active/strong 800, focus ring 700), and the label becomes the palette's measured `onDeep` ink,
|
|
569
|
+
which is white for all 18 palettes (lowest: lime, 4.99:1). The soft wash does not change, and the
|
|
570
|
+
dark theme keeps its normal values. Set it beside `data-primary`, on `<html>` or on a region, and on
|
|
571
|
+
a region only together with `data-theme` and `data-primary` on the same element. A bare wrapper
|
|
572
|
+
applies deep's light values in every theme, so under any dark theme (an ancestor's or the OS's) its fill
|
|
573
|
+
and strong ink are wrong. Noir is the odd one: its deep fill (neutral-800) is lighter than its standard
|
|
574
|
+
fill (neutral-900).
|
|
575
|
+
|
|
566
576
|
Density: `data-density="compact"` works on `<html>` **or any wrapper**, because the selector is a bare
|
|
567
577
|
`[data-density="compact"]` over inheriting custom properties, so one screen can be dense while the
|
|
568
578
|
rest of the app is not. `data-density="comfortable"` is a real rule too, so the reverse also works:
|
|
569
579
|
a compact root with one region opted back out (shared chrome that must match a sibling product).
|
|
580
|
+
`data-density="touch"` is the third value: 2.75rem (44px) controls, for an app used standing up or on
|
|
581
|
+
the move. It sets only the control height, so a touch region inside a compact one keeps compact
|
|
582
|
+
spacing; put `touch` on a comfortable ancestor to avoid that. `comfortable` resets it too.
|
|
570
583
|
|
|
571
584
|
---
|
|
572
585
|
|
|
@@ -2138,6 +2151,10 @@ and a row nobody can scroll to is a row nobody knows is there.
|
|
|
2138
2151
|
glyph means. Long labels ellipsis rather than wrap, so the bar keeps one height.
|
|
2139
2152
|
- Bottom padding includes `env(safe-area-inset-bottom)`, so labels do not sit under the home
|
|
2140
2153
|
indicator on a notched phone.
|
|
2154
|
+
- **`--fdy-bottomnav-h`** is the bar's stated height (a 44px item, the vertical padding and the top
|
|
2155
|
+
hairline), declared on `.fdy-app--has-bottomnav`. The bar is drawn at that height, and
|
|
2156
|
+
`.fdy-actionbar` reads it to rest on top of the bar. The trade-off: a taller app font overflows
|
|
2157
|
+
into the bar's padding instead of making the bar taller.
|
|
2141
2158
|
|
|
2142
2159
|
```html
|
|
2143
2160
|
<nav class="fdy-bottomnav" aria-label="Main">
|
|
@@ -2152,6 +2169,36 @@ and a row nobody can scroll to is a row nobody knows is there.
|
|
|
2152
2169
|
</nav>
|
|
2153
2170
|
```
|
|
2154
2171
|
|
|
2172
|
+
## Action bar — `.fdy-actionbar`
|
|
2173
|
+
One to three actions pinned to the bottom of the screen, where a thumb reaches them on a phone: the
|
|
2174
|
+
sign-in button, approve and reject on a document, save at the end of a long form. Put it as the last
|
|
2175
|
+
child of the page content (`.fdy-app__main`), or of one page wrapper such as `.fdy-page` inside it. The
|
|
2176
|
+
wrapper must be the last in-flow content of main and have no bottom padding, border or margin of its own;
|
|
2177
|
+
the fixed bottom nav and closed dialogs may follow it. A bar inside a modal or drawer is not offset.
|
|
2178
|
+
Nested deeper than one wrapper (inside a form, say), the bar still rests on the nav while scrolling but stops short of it at the end of the page. An in-flow block after the wrapper is overlapped at the end of the page.
|
|
2179
|
+
It holds `.fdy-btn` elements. They share the width, and
|
|
2180
|
+
the primary action goes last, nearest the thumb.
|
|
2181
|
+
|
|
2182
|
+
- It is `position: sticky`, so it keeps its place in the flow and never covers the last row above it.
|
|
2183
|
+
- In a shell with `.fdy-app--has-bottomnav`, below 720px it rests on top of the bottom nav, using
|
|
2184
|
+
`--fdy-bottomnav-h` (declared on that shell). Elsewhere it clears the home indicator with
|
|
2185
|
+
`env(safe-area-inset-bottom)`.
|
|
2186
|
+
- Below 720px it runs edge to edge, like the bottom nav, by cancelling main's side padding. The
|
|
2187
|
+
wrapper rule holds here too: a wrapper between main and the bar adds no side padding, border or
|
|
2188
|
+
margin. The bar's own side padding clears a landscape notch.
|
|
2189
|
+
- No ARIA of its own: it is a row of buttons, and each keeps its own name.
|
|
2190
|
+
- CSS only. Vue, React and Blazor use the same markup.
|
|
2191
|
+
|
|
2192
|
+
```html
|
|
2193
|
+
<main class="fdy-app__main">
|
|
2194
|
+
<!-- the screen -->
|
|
2195
|
+
<div class="fdy-actionbar">
|
|
2196
|
+
<button class="fdy-btn fdy-btn--ghost" type="button">Reject</button>
|
|
2197
|
+
<button class="fdy-btn" type="button">Approve</button>
|
|
2198
|
+
</div>
|
|
2199
|
+
</main>
|
|
2200
|
+
```
|
|
2201
|
+
|
|
2155
2202
|
## Nav (menu) — `.fdy-nav`
|
|
2156
2203
|
Navigation links, **vertical by default** (the app shell sidebar), horizontal with `--horizontal`. Items are `<a class="fdy-nav__item">` with
|
|
2157
2204
|
`__icon` / `__label` / `__badge`; the current one gets `aria-current="page"`.
|
package/README.id.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
> **Lebih banyak _free day_ buat dev. UI kit-nya sudah siap pakai.**
|
|
6
6
|
|
|
7
7
|
[](https://cahyo-dimas.github.io/freeday-ui-kit/)
|
|
8
|
-
[](https://github.com/cahyo-dimas/freeday-ui-kit/tree/v3.22.0)
|
|
9
9
|
|
|
10
10
|
UI KIT yang token-driven & framework-agnostic. Satu sumber kebenaran untuk warna, tipografi,
|
|
11
11
|
spasi, dan komponen. Blueprint: `docs/superpowers/specs/2026-07-21-freeday-ui-kit-design.md`.
|
|
@@ -147,7 +147,7 @@ container-nya, bukan scroll sendiri.
|
|
|
147
147
|
- `data-theme="light|dark"` me-redefinisi token semantic (bind ke state tema app-mu).
|
|
148
148
|
Berlaku di **ancestor mana pun**, tak harus root: `<section data-theme="dark">` membalik region itu
|
|
149
149
|
dan semua komponen di dalamnya ikut (lihat [`USAGE.md`](USAGE.md) §5b).
|
|
150
|
-
- `data-density="comfortable|compact"` mengatur tinggi kontrol (`--control-h`) untuk layar padat data.
|
|
150
|
+
- `data-density="comfortable|compact|touch"` mengatur tinggi kontrol (`--control-h`): `compact` untuk layar padat data, `touch` (44px) untuk app yang dipakai di HP.
|
|
151
151
|
Ini auto-apply hanya ke kontrol bawaan Freeday (button, input, combo, dst); komponen
|
|
152
152
|
custom/hand-built harus baca `--control-h` sendiri (mis. `height: var(--control-h)`) supaya ikut
|
|
153
153
|
menyusut/melebar saat `data-density` berubah.
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
> **More free days for devs. The UI kit is ready to use.**
|
|
6
6
|
|
|
7
7
|
[](https://cahyo-dimas.github.io/freeday-ui-kit/)
|
|
8
|
-
[](https://github.com/cahyo-dimas/freeday-ui-kit/tree/v3.22.0)
|
|
9
9
|
|
|
10
10
|
A token-driven, framework-agnostic UI kit. One source of truth for color, typography,
|
|
11
11
|
spacing, and components. Blueprint: `docs/superpowers/specs/2026-07-21-freeday-ui-kit-design.md`.
|
|
@@ -149,7 +149,7 @@ of scrolling.
|
|
|
149
149
|
- `data-theme="light|dark"` redefines the semantic tokens (bind it to your app's theme state).
|
|
150
150
|
Works on **any ancestor**, not just the root: `<section data-theme="dark">` inverts that region
|
|
151
151
|
and every component inside it follows (see [`USAGE.md`](USAGE.md) §5b).
|
|
152
|
-
- `data-density="comfortable|compact"` sets control height (`--control-h`) for data-dense screens.
|
|
152
|
+
- `data-density="comfortable|compact|touch"` sets control height (`--control-h`): `compact` for data-dense screens, `touch` (44px) for apps used on a phone.
|
|
153
153
|
This auto-applies only to Freeday's built-in controls (button, input, combo, etc.);
|
|
154
154
|
custom/hand-built components must read `--control-h` themselves (e.g. `height: var(--control-h)`)
|
|
155
155
|
to shrink or grow when `data-density` changes.
|
package/USAGE.md
CHANGED
|
@@ -29,12 +29,14 @@ The look lives in two places: the `data-*` attributes on `<html>`, and one file,
|
|
|
29
29
|
| Motion: `--dur-*`, `--ease-*` | `app.identity.css` |
|
|
30
30
|
| One component, locally: `--fdy-<component>-<property>` | your own CSS |
|
|
31
31
|
|
|
32
|
-
Everything else
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
Everything else is outside the kit's guarantee. You may override it, and some apps need to, but the
|
|
33
|
+
contrast gate and the kit's own tests no longer cover what you change: check the contrast yourself
|
|
34
|
+
and write down why in `DESIGN.md`. Take a sanctioned route first when one exists. Colour reaches an
|
|
35
|
+
app through the attributes, including `data-primary-fill="deep"` for a white label on a darker fill.
|
|
36
|
+
Control size has `data-density="touch"` for 44px targets. Spacing (`--space-*`) carries density, and
|
|
37
|
+
the type size scale (`--text-*`, `--leading-*`) sets control heights and table density, so a screen
|
|
38
|
+
that wants big type uses `var(--text-xl)` and up in its own content. `--radius-full`, `--bw` and the
|
|
39
|
+
focus ring are accessibility contracts, and no reason in `DESIGN.md` makes overriding them safe.
|
|
38
40
|
|
|
39
41
|
`app.identity.css` is the one file where literal values belong, and only as values of the tokens
|
|
40
42
|
in the table. Shadows need four blocks in this order, because the kit sets dark shadows in three
|
|
@@ -237,14 +239,18 @@ restating colours per element.
|
|
|
237
239
|
The **system** default (`@media (prefers-color-scheme: dark)`) stays root-scoped on purpose: that
|
|
238
240
|
rule is about the document, and un-rooting it would re-darken the children of a light island.
|
|
239
241
|
|
|
240
|
-
`data-primary` and `data-
|
|
242
|
+
`data-primary`, `data-neutral` and `data-primary-fill="deep"` follow the same selectors, with one difference. They re-point
|
|
241
243
|
an alias ramp, and the semantic tokens resolve that ramp where they are declared: on `<html>`, or
|
|
242
244
|
on an element that carries `data-theme`. So put them on `<html>`. To re-brand or re-tint a single
|
|
243
|
-
region, put the axis on that region together with `data-theme`. Never put
|
|
244
|
-
wrapper
|
|
245
|
+
region, put the axis on that region together with `data-theme`. Never put any of them on a bare
|
|
246
|
+
wrapper. A palette moves the label ink (`--color-on-primary`) but not the fill, so
|
|
245
247
|
orange, amber, lime, green, emerald, teal and cyan leave dark ink on the azure fill (2.87:1 for orange); a neutral moves
|
|
246
|
-
the tone inks, borders, stripe and danger border but not the surfaces.
|
|
247
|
-
|
|
248
|
+
the tone inks, borders, stripe and danger border but not the surfaces. A bare `deep` wrapper applies
|
|
249
|
+
its light values in every theme, so under any dark theme (an ancestor's or the OS's) its fill and
|
|
250
|
+
strong ink are wrong: on teal, the 800 strong ink measures about 2.5:1 on the dark surface.
|
|
251
|
+
An inverted island inside an app with a non-default look must repeat `data-primary`, `data-neutral`
|
|
252
|
+
and `data-primary-fill` beside its `data-theme`; a deep island that leaves out `data-primary` inherits
|
|
253
|
+
the page palette's ink, and teal gets white on its 500 fill.
|
|
248
254
|
Otherwise the island keeps the app's fill but takes the default label ink, and white labels on
|
|
249
255
|
those fills drop to between 2:1 and 3.8:1 (lime 1.98:1 and orange 2.80:1 in a dark island).
|
|
250
256
|
|
|
@@ -267,6 +273,14 @@ downhill; without that rule a compact root left every subtree compact and a `com
|
|
|
267
273
|
changed nothing. Do not restate the five values by hand: that copy goes stale the moment the kit
|
|
268
274
|
retunes a step.
|
|
269
275
|
|
|
276
|
+
**`touch` is for apps used on the move.** `data-density="touch"` sets the control height to 2.75rem
|
|
277
|
+
(44px), the smallest target a thumb or a gloved finger hits reliably. It changes only the control
|
|
278
|
+
height, so spacing stays whatever the surrounding density gives. Use it for a whole app used standing
|
|
279
|
+
up (a guard's phone, a warehouse scanner) or for one shell of a mixed app, and avoid `.fdy-btn--sm`
|
|
280
|
+
there: it is 36px under `touch`. A `touch` region nested inside a compact one keeps compact spacing;
|
|
281
|
+
to get touch with comfortable spacing there, put `touch` on a comfortable ancestor (or nest
|
|
282
|
+
`comfortable` first). `comfortable` resets `touch` the way it resets `compact`.
|
|
283
|
+
|
|
270
284
|
## 6b. Navigation: one component, two orientations, and never a tab role
|
|
271
285
|
|
|
272
286
|
A navigation link is an `<a class="fdy-nav__item">` marked **`aria-current="page"`**. That does not
|
|
@@ -358,4 +372,26 @@ Three habits make every app look like the same template, so avoid them:
|
|
|
358
372
|
- **A sidebar for a handful of destinations.** An app with only a few places to go reads better
|
|
359
373
|
with `.fdy-nav.fdy-nav--horizontal` in the app bar (§6b), and gets the width back.
|
|
360
374
|
|
|
375
|
+
## 8. Mobile: the phone is its own layout
|
|
376
|
+
|
|
377
|
+
A phone gets its own layout. Most of these rules already live in COMPONENTS.md; they are collected
|
|
378
|
+
here because apps miss them.
|
|
379
|
+
|
|
380
|
+
- **Navigation.** A bottom nav (`.fdy-bottomnav`) carries three to five destinations, chosen by role.
|
|
381
|
+
Everything else goes behind an account or "More" item. Labels are required.
|
|
382
|
+
- **Lists, not tables.** Below `md`, a table becomes a `.fdy-list` (COMPONENTS.md, List). A row is
|
|
383
|
+
one tap target that opens its detail. Row actions move into a `.fdy-menu` behind a "..." button or
|
|
384
|
+
onto the detail screen; a column of stacked buttons makes one row as tall as the screen.
|
|
385
|
+
- **The primary action stays in reach.** Put it in `.fdy-actionbar`, which stays on screen as
|
|
386
|
+
the page scrolls. A `.fdy-fab--extended` works too, but the app positions it (above `--fdy-bottomnav-h`
|
|
387
|
+
when there is a bottom nav); the kit does not.
|
|
388
|
+
- **One frame.** The page header is not wrapped in a card on a phone, because the screen already is
|
|
389
|
+
the frame.
|
|
390
|
+
- **Drop the views a phone cannot use.** A list/box/grid switch shows only list (and box, if it
|
|
391
|
+
reads) below `md`.
|
|
392
|
+
- **Say where the user is.** A multi-tenant app (several sites, clusters or companies) shows the
|
|
393
|
+
current one as a chip in the topbar, with the switch beside it.
|
|
394
|
+
- **Size targets for the way the app is held.** An app used standing up or on the move sets
|
|
395
|
+
`data-density="touch"` (§6), per app or per shell.
|
|
396
|
+
|
|
361
397
|
---
|