@alis-build/design-system 0.17.0 → 0.18.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/alisx.css +1 -1
- package/components/AppTitleBar.md +1 -1
- package/package.json +1 -1
- package/rules/type.md +5 -5
- package/tokens.json +3 -2
package/alisx.css
CHANGED
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
.mono-xs { font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.4; font-weight: 700; letter-spacing: 0.12em; }
|
|
332
332
|
@media (max-width: 599px) {
|
|
333
333
|
.text-welcome-title { font-size: 32px; line-height: 40px; }
|
|
334
|
-
.text-page-title { font-size:
|
|
334
|
+
.text-page-title { font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: 0; }
|
|
335
335
|
}
|
|
336
336
|
|
|
337
337
|
/* Product base. A marketing page overrides it with <body class="ax-page">. */
|
|
@@ -20,7 +20,7 @@ See [page.md](../rules/page.md).
|
|
|
20
20
|
**On a phone** (below 600px) the bar is one row, 64 tall (`titlebar-height-phone`, Material 3's small app bar), and holds four things and nothing else:
|
|
21
21
|
|
|
22
22
|
1. **Leading**: the menu button (`menu`), which opens the navigation drawer ([AppShell](AppShell.md)); back (`arrow_back`) on a detail route. Nothing on a screen with no navigation (joining an interview, signing in).
|
|
23
|
-
2. **The name**, page-title at its compact step (
|
|
23
|
+
2. **The name**, page-title at its compact step (22/28 at 500, Material 3's Title Large Emphasized), truncating.
|
|
24
24
|
3. **The lead as its glyph alone**, its label the accessible name. A lead whose glyph wouldn't read on its own ("Generate key", "Install block") leaves the bar and leads ⋯ instead; a lead with no glyph above 600 can carry one for the phone (`edit` for "Edit session", `app-compact-only` on the glyph).
|
|
25
25
|
4. **⋯** (`more_vert`), an [AppMenu](AppMenu.md) holding every other verb in the order they had, anything destructive last behind a divider. Left out when there are none. Rename lives here: never a double tap on the name.
|
|
26
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alis-build/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks and rules.",
|
|
5
5
|
"keywords": ["alisx", "design-system", "design-tokens", "css"],
|
|
6
6
|
"homepage": "https://alisx.com",
|
package/rules/type.md
CHANGED
|
@@ -31,10 +31,10 @@ Default when unsure: **body**.
|
|
|
31
31
|
|
|
32
32
|
Three more styles, each with one place:
|
|
33
33
|
|
|
34
|
-
- **`text-page-title` on a phone** is
|
|
35
|
-
|
|
36
|
-
([AppTitleBar](../components/AppTitleBar.md) § On a phone)
|
|
37
|
-
|
|
34
|
+
- **`text-page-title` on a phone** is 22/28 at 500, no tracking (below 600px):
|
|
35
|
+
Material 3's Title Large Emphasized, the title of its 64 small app bar
|
|
36
|
+
([AppTitleBar](../components/AppTitleBar.md) § On a phone). Its size, not its
|
|
37
|
+
weight, puts it over the section-titles under it. There is no second class: the style
|
|
38
38
|
carries it as its `phone` step in tokens.json, and alisx.css applies it below
|
|
39
39
|
600 (`breakpoint-compact`), as it does welcome-title's.
|
|
40
40
|
- **`text-welcome-title`**, 40/48 at 800 (32/40 below 600px): the heading of an
|
|
@@ -155,7 +155,7 @@ marks the selected and commits, 800 greets.** This is M3 Expressive's model: a
|
|
|
155
155
|
quiet baseline, with emphasis spent where it means something.
|
|
156
156
|
|
|
157
157
|
- **800**: welcome-title only, the one hero moment of an entry screen.
|
|
158
|
-
- **700**: page-title, metric-value, the selected state (`.text-selected`), the
|
|
158
|
+
- **700**: page-title (500 on a phone, § Three more styles), metric-value, the selected state (`.text-selected`), the
|
|
159
159
|
filled button, and eyebrow.
|
|
160
160
|
- **600**: section-title, a text or outlined button's label, emphasis in reading text
|
|
161
161
|
(`.text-emphasis`), and `strong` in rendered prose.
|
package/tokens.json
CHANGED
|
@@ -1177,9 +1177,10 @@
|
|
|
1177
1177
|
"fontWeight": 700,
|
|
1178
1178
|
"letterSpacing": "-0.03em",
|
|
1179
1179
|
"phone": {
|
|
1180
|
-
"fontSize": "
|
|
1180
|
+
"fontSize": "22px",
|
|
1181
1181
|
"lineHeight": "28px",
|
|
1182
|
-
"
|
|
1182
|
+
"fontWeight": 500,
|
|
1183
|
+
"letterSpacing": "0"
|
|
1183
1184
|
},
|
|
1184
1185
|
"usage": "Names the whole screen. One per screen, in the title bar."
|
|
1185
1186
|
},
|