@alis-build/design-system 0.56.0 → 0.58.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/README.md +1 -1
- package/alisx.css +50 -7
- package/classes.json +23 -3
- package/components/AppGlassLine.md +2 -2
- package/components/AppGlassPeek.md +3 -3
- package/components/AppGlassView.md +2 -2
- package/components/CapabilityMark.md +11 -11
- package/components/README.md +1 -1
- package/marks.json +29 -7
- package/package.json +1 -1
- package/rules/anti-patterns.md +4 -2
- package/rules/glass.md +4 -3
- package/rules/icons.md +44 -5
- package/rules/motion.md +6 -2
- package/stylelint.mjs +8 -0
- package/tokens.css +4 -0
- package/tokens.json +22 -2
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ export default {
|
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
- **A file that keeps one part of a rule picks that part by name**:
|
|
88
|
-
`refused.literalColour`, `refused.blend`, `refused.motion`, `refused.glass`, `refused.glassMotion`,
|
|
88
|
+
`refused.literalColour`, `refused.blend`, `refused.motion`, `refused.glass`, `refused.glassMotion`, `refused.markMotion`,
|
|
89
89
|
`refused.spacing`, `allowed.radius`, `allowed.shadow`. Never by its message or its place in a list. A name a
|
|
90
90
|
release changes then stops the check instead of thinning the rule.
|
|
91
91
|
|
package/alisx.css
CHANGED
|
@@ -182,6 +182,10 @@
|
|
|
182
182
|
--loop-breathe: 3.2s ease-in-out infinite alternate;
|
|
183
183
|
--loop-orbit: 3.2s linear infinite;
|
|
184
184
|
--loop-flow: 4s linear infinite;
|
|
185
|
+
--loop-look: 5s ease-in-out infinite;
|
|
186
|
+
--loop-speak: 1.3s ease-in-out infinite;
|
|
187
|
+
--loop-trace: 2.2s linear infinite;
|
|
188
|
+
--loop-tick: 1.8s ease-in-out infinite;
|
|
185
189
|
--loop-blink: 1.1s steps(1) infinite;
|
|
186
190
|
--state-hover: 0.04;
|
|
187
191
|
--state-focus: 0.04;
|
|
@@ -1523,13 +1527,7 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
|
|
|
1523
1527
|
}
|
|
1524
1528
|
@keyframes app-glass-flow{0%{offset-distance:0%;opacity:0}12%{opacity:1}88%{opacity:1}100%{offset-distance:100%;opacity:0}}
|
|
1525
1529
|
@keyframes app-glass-pulse{from{transform:translate(-50%,-50%) scale(1);opacity:.9}to{transform:translate(-50%,-50%) scale(3);opacity:0}}
|
|
1526
|
-
/* The Glass mark
|
|
1527
|
-
.app-glass-mark__glint,.app-glass-mark__live{transform-box:view-box;transform-origin:12px 12px;transition:transform var(--spring-default-spatial)}
|
|
1528
|
-
@media (prefers-reduced-motion:no-preference){
|
|
1529
|
-
:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible) .app-glass-mark__glint{transform:rotate(40deg)}
|
|
1530
|
-
:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible) .app-glass-mark__live{transform:rotate(-28deg)}
|
|
1531
|
-
.app-glass-mark.is-live .app-glass-mark__live{animation:app-spin var(--loop-orbit)}
|
|
1532
|
-
}
|
|
1530
|
+
/* The Glass mark moves as every capability mark does: the Capability marks block, below */
|
|
1533
1531
|
/* The way in: a peek from the Glass view button, and one Glass line when something inside is worth a look */
|
|
1534
1532
|
.app-glass-peek{position:fixed;z-index:40;box-sizing:border-box;width:min(400px,calc(100vw - var(--space-32)));padding:var(--space-16);border-radius:var(--radius-lg);background:var(--surface-container-high);color:var(--on-surface);box-shadow:var(--elevation-2);display:flex;flex-direction:column;gap:var(--space-12)}
|
|
1535
1533
|
.app-glass-peek[hidden]{display:none}
|
|
@@ -1552,6 +1550,51 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
|
|
|
1552
1550
|
/* ── Drop target, while something is dragged over it ── */
|
|
1553
1551
|
.drop-target{outline:2px dashed var(--primary);outline-offset:-2px;background-color:color-mix(in srgb,var(--primary) calc(var(--state-dragged) * 100%),transparent)}
|
|
1554
1552
|
|
|
1553
|
+
/* ── Capability marks · how a mark moves (rules/icons.md § How a mark moves). Reach: one move, then still, while the button,
|
|
1554
|
+
link, menu row or navigation row holding the mark is hovered or focused. Live: a loop, only while the product marks the
|
|
1555
|
+
mark is-live, and never on Projects or Artifacts, which have nothing that runs. All of it is drawn here, from the classes
|
|
1556
|
+
marks.json names; a site never animates a mark. Under reduced motion nothing moves ── */
|
|
1557
|
+
.app-mark :is(.app-mark__glint,.app-mark__arc,.app-mark__line,.app-mark__cloud,.app-mark__prompt,.app-mark__boom,.app-mark__dot){transform-box:view-box;transform-origin:12px 12px;transition:transform var(--spring-default-spatial)}
|
|
1558
|
+
.app-mark .app-mark__piece{transform-box:fill-box;transform-origin:center;transition:transform var(--spring-default-spatial)}
|
|
1559
|
+
.app-mark .app-mark__piece~.app-mark__piece,.app-mark--environments .app-mark__dot{transition-delay:60ms}
|
|
1560
|
+
.app-mark--interviews .app-mark__line{transform-origin:8.8px 6.8px}
|
|
1561
|
+
/* The Support mic swings from the ear cup it hangs off */
|
|
1562
|
+
.app-mark--support :is(.app-mark__boom,.app-mark__dot){transform-origin:19.4px 16px}
|
|
1563
|
+
.app-mark--activity .app-mark__dot{transform-box:fill-box;transform-origin:center}
|
|
1564
|
+
@media (prefers-reduced-motion:no-preference){
|
|
1565
|
+
/* The Skill store's dot runs its loop: a path from where it sits, round both lobes and back, so it starts and ends in place */
|
|
1566
|
+
.app-mark--skills .app-mark__dot{transform-box:fill-box;transform-origin:center;offset-anchor:center;offset-rotate:0deg;offset-path:path('M15.16 14.52C16.4 15.66 17.6 16.5 18.5 16.5A4.5 4.5 0 0 0 18.5 7.5C15.5 7.5 8.5 16.5 5.5 16.5A4.5 4.5 0 0 1 5.5 7.5C6.55 7.5 8.09 8.6 9.78 10.04L15.16 14.52')}
|
|
1567
|
+
:is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--glass .app-mark__glint{transform:rotate(40deg)}
|
|
1568
|
+
:is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--glass .app-mark__dot{transform:rotate(-28deg)}
|
|
1569
|
+
:is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--projects .app-mark__arc{transform:rotate(60deg)}
|
|
1570
|
+
:is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--interviews .app-mark__dot{transform:translate(1.4px,5.2px)}
|
|
1571
|
+
:is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--artifacts .app-mark__piece{transform:rotate(90deg)}
|
|
1572
|
+
:is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--skills .app-mark__dot{animation:app-mark-round calc(var(--spring-default-spatial-duration) * 2) var(--spring-slow-spatial-easing) both}
|
|
1573
|
+
:is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--environments :is(.app-mark__cloud,.app-mark__dot){transform:translateY(-1.6px)}
|
|
1574
|
+
:is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--workstations .app-mark__prompt{transform:translateX(1.5px)}
|
|
1575
|
+
:is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--activity .app-mark__trace{animation:app-mark-redraw calc(var(--spring-default-spatial-duration) * 2) var(--spring-slow-spatial-easing) both}
|
|
1576
|
+
:is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--activity .app-mark__dot{animation:app-mark-land calc(var(--spring-default-spatial-duration) * 2) var(--spring-slow-spatial-easing) both}
|
|
1577
|
+
:is(:is(button,a,[role="button"],[role="menuitem"]):is(:hover,:focus-visible),.app-row:is(:hover,:has(:focus-visible))) .app-mark--support :is(.app-mark__boom,.app-mark__dot){transform:rotate(9deg)}
|
|
1578
|
+
.app-mark--glass.is-live .app-mark__dot{animation:app-mark-look var(--loop-look)}
|
|
1579
|
+
.app-mark--interviews.is-live .app-mark__line{animation:app-mark-speak var(--loop-speak)}
|
|
1580
|
+
.app-mark--skills.is-live .app-mark__dot{animation:app-mark-round var(--loop-orbit)}
|
|
1581
|
+
.app-mark--environments.is-live .app-mark__cloud{stroke-dasharray:44.63 5;animation:app-mark-trace var(--loop-trace)}
|
|
1582
|
+
.app-mark--workstations.is-live .app-mark__dot{animation:app-dot var(--loop-blink)}
|
|
1583
|
+
.app-mark--activity.is-live .app-mark__dot{animation:app-mark-tick var(--loop-tick)}
|
|
1584
|
+
.app-mark--support.is-live .app-mark__dot{animation:app-mark-mic var(--loop-speak)}
|
|
1585
|
+
}
|
|
1586
|
+
@keyframes app-mark-round{from{offset-distance:0%}to{offset-distance:100%}}
|
|
1587
|
+
@keyframes app-mark-look{0%,100%{transform:translate(0,0)}20%{transform:translate(-3.2px,-.6px)}40%{transform:translate(-2.4px,-3.4px)}60%{transform:translate(.4px,-4px)}80%{transform:translate(.6px,-1px)}}
|
|
1588
|
+
@keyframes app-mark-speak{0%,100%{transform:scaleX(1)}25%{transform:scaleX(.55)}50%{transform:scaleX(.85)}75%{transform:scaleX(.4)}}
|
|
1589
|
+
/* 49.63 is the cloud's length in the mark's own units, so the gap is the same at every size */
|
|
1590
|
+
@keyframes app-mark-trace{to{stroke-dashoffset:-49.63}}
|
|
1591
|
+
/* 18.47 is the Activity trace's length: it pulls back to its start and draws out again to now, while the dot lands */
|
|
1592
|
+
@keyframes app-mark-redraw{0%{stroke-dasharray:18.47;stroke-dashoffset:0}32%{stroke-dasharray:18.47;stroke-dashoffset:18.47}100%{stroke-dasharray:18.47;stroke-dashoffset:0}}
|
|
1593
|
+
@keyframes app-mark-land{0%{transform:scale(1)}28%,72%{transform:scale(.35)}100%{transform:scale(1)}}
|
|
1594
|
+
@keyframes app-mark-tick{0%,100%{transform:translateY(0)}35%{transform:translateY(-2.2px)}65%{transform:translateY(.6px)}}
|
|
1595
|
+
/* The mic talks by its edge, not a transform, so it stays on the boom while the boom swings */
|
|
1596
|
+
@keyframes app-mark-mic{0%,100%{stroke:currentColor;stroke-width:0}25%{stroke:currentColor;stroke-width:1.2px}50%{stroke:currentColor;stroke-width:.3px}75%{stroke:currentColor;stroke-width:1px}}
|
|
1597
|
+
|
|
1555
1598
|
/* ── Scrollbars · one treatment for the app ── */
|
|
1556
1599
|
*{scrollbar-width:thin;scrollbar-color:var(--outline-variant) transparent}
|
|
1557
1600
|
|
package/classes.json
CHANGED
|
@@ -208,9 +208,6 @@
|
|
|
208
208
|
"app-glass-line",
|
|
209
209
|
"app-glass-line__text",
|
|
210
210
|
"app-glass-link",
|
|
211
|
-
"app-glass-mark",
|
|
212
|
-
"app-glass-mark__glint",
|
|
213
|
-
"app-glass-mark__live",
|
|
214
211
|
"app-glass-part",
|
|
215
212
|
"app-glass-part--card",
|
|
216
213
|
"app-glass-part--pill",
|
|
@@ -270,6 +267,25 @@
|
|
|
270
267
|
"app-loader",
|
|
271
268
|
"app-loader--line",
|
|
272
269
|
"app-machine",
|
|
270
|
+
"app-mark",
|
|
271
|
+
"app-mark--activity",
|
|
272
|
+
"app-mark--artifacts",
|
|
273
|
+
"app-mark--environments",
|
|
274
|
+
"app-mark--glass",
|
|
275
|
+
"app-mark--interviews",
|
|
276
|
+
"app-mark--projects",
|
|
277
|
+
"app-mark--skills",
|
|
278
|
+
"app-mark--support",
|
|
279
|
+
"app-mark--workstations",
|
|
280
|
+
"app-mark__arc",
|
|
281
|
+
"app-mark__boom",
|
|
282
|
+
"app-mark__cloud",
|
|
283
|
+
"app-mark__dot",
|
|
284
|
+
"app-mark__glint",
|
|
285
|
+
"app-mark__line",
|
|
286
|
+
"app-mark__piece",
|
|
287
|
+
"app-mark__prompt",
|
|
288
|
+
"app-mark__trace",
|
|
273
289
|
"app-menu",
|
|
274
290
|
"app-menu--above",
|
|
275
291
|
"app-menu--suggest",
|
|
@@ -602,10 +618,14 @@
|
|
|
602
618
|
"--loop-breathe",
|
|
603
619
|
"--loop-dots",
|
|
604
620
|
"--loop-flow",
|
|
621
|
+
"--loop-look",
|
|
605
622
|
"--loop-orbit",
|
|
606
623
|
"--loop-pulse",
|
|
607
624
|
"--loop-shimmer",
|
|
625
|
+
"--loop-speak",
|
|
608
626
|
"--loop-spin",
|
|
627
|
+
"--loop-tick",
|
|
628
|
+
"--loop-trace",
|
|
609
629
|
"--machine-surface",
|
|
610
630
|
"--measure-prose",
|
|
611
631
|
"--mist-100",
|
|
@@ -16,7 +16,7 @@ See [glass.md](../rules/glass.md) § The way in.
|
|
|
16
16
|
|
|
17
17
|
```html
|
|
18
18
|
<div class="app-glass-line">
|
|
19
|
-
<span class="app-icon app-icon--mark
|
|
19
|
+
<span class="app-icon app-icon--mark" aria-hidden="true"><svg class="app-mark app-mark--glass" viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M20.6 12a8.6 8.6 0 1 1-17.2 0a8.6 8.6 0 1 1 17.2 0"/><path class="app-mark__glint" d="M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"/><circle class="app-mark__dot" cx="14.4" cy="14.4" r="1.9" fill="currentColor" stroke="none"/></svg></span>
|
|
20
20
|
<p class="app-glass-line__text text-supporting">ledger's production is two versions behind staging.</p>
|
|
21
21
|
<a class="app-btn app-state app-target" href="?part=ledger">Glass view</a>
|
|
22
22
|
</div>
|
|
@@ -30,4 +30,4 @@ See [glass.md](../rules/glass.md) § The way in.
|
|
|
30
30
|
|
|
31
31
|
## Classes
|
|
32
32
|
|
|
33
|
-
`.app-glass-line`, `.app-glass-line__text`, `.app-
|
|
33
|
+
`.app-glass-line`, `.app-glass-line__text`, `.app-mark`, `.app-mark--glass`, `.app-mark__glint`, `.app-mark__dot` ([CapabilityMark](CapabilityMark.md)).
|
|
@@ -14,10 +14,10 @@ See [glass.md](../rules/glass.md) § The way in.
|
|
|
14
14
|
## Markup
|
|
15
15
|
|
|
16
16
|
```html
|
|
17
|
-
<button type="button" class="app-btn app-state app-target" aria-describedby="glass-peek"><span class="app-icon app-icon--mark
|
|
17
|
+
<button type="button" class="app-btn app-state app-target" aria-describedby="glass-peek"><span class="app-icon app-icon--mark" aria-hidden="true"><svg class="app-mark app-mark--glass" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M20.6 12a8.6 8.6 0 1 1-17.2 0a8.6 8.6 0 1 1 17.2 0"/><path class="app-mark__glint" d="M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"/><circle class="app-mark__dot" cx="14.4" cy="14.4" r="1.9" fill="currentColor" stroke="none"/></svg></span>Glass view</button>
|
|
18
18
|
|
|
19
19
|
<div class="app-glass-peek" id="glass-peek" role="tooltip">
|
|
20
|
-
<p class="app-glass-peek__live text-meta"><
|
|
20
|
+
<p class="app-glass-peek__live text-meta"><svg class="app-mark app-mark--glass is-live" aria-hidden="true" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M20.6 12a8.6 8.6 0 1 1-17.2 0a8.6 8.6 0 1 1 17.2 0"/><path class="app-mark__glint" d="M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"/><circle class="app-mark__dot" cx="14.4" cy="14.4" r="1.9" fill="currentColor" stroke="none"/></svg>Live, read just now</p>
|
|
21
21
|
<p class="app-glass-peek__text text-body"><strong>ledger's production is two versions behind staging.</strong> 3 products and 9 services across dev, staging and production.</p>
|
|
22
22
|
<div class="app-glass__field app-glass__field--peek" aria-hidden="true">
|
|
23
23
|
<svg width="100%" height="100%" style="position:absolute;inset:0"><path class="app-glass-band" d="M16 48 C 80 32, 120 64, 180 48 S 280 32, 352 48"/><path class="app-glass-link is-lit" d="M180 48 S 280 32, 352 48"/></svg>
|
|
@@ -35,4 +35,4 @@ See [glass.md](../rules/glass.md) § The way in.
|
|
|
35
35
|
|
|
36
36
|
## Classes
|
|
37
37
|
|
|
38
|
-
`.app-glass-peek`, `.app-glass-peek__live`, `.app-glass-peek__text`, `.app-glass__field--peek`, `.app-
|
|
38
|
+
`.app-glass-peek`, `.app-glass-peek__live`, `.app-glass-peek__text`, `.app-glass__field--peek`, `.app-mark`, `.app-mark--glass`, `.app-mark__glint`, `.app-mark__dot` ([CapabilityMark](CapabilityMark.md)), `.is-live`.
|
|
@@ -34,7 +34,7 @@ See [glass.md](../rules/glass.md), which says what goes where; this guide is the
|
|
|
34
34
|
<div class="app-glass__view" id="glass-whole">
|
|
35
35
|
<div class="app-glass-reading">
|
|
36
36
|
<p class="app-glass-reading__live">
|
|
37
|
-
<svg class="app-
|
|
37
|
+
<svg class="app-mark app-mark--glass is-live" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20.6 12a8.6 8.6 0 1 1-17.2 0a8.6 8.6 0 1 1 17.2 0"/><path class="app-mark__glint" d="M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"/><circle class="app-mark__dot" cx="14.4" cy="14.4" r="1.9" fill="currentColor" stroke="none"/></svg>
|
|
38
38
|
<span class="text-meta">Live, read just now</span>
|
|
39
39
|
</p>
|
|
40
40
|
<p class="app-glass-reading__text text-reading"><strong><a class="app-glass-say" href="?part=ledger" data-part="ledger">ledger 1.9.0 is waiting at the production gate.</a></strong> Everything else flows from its branch to production, and <a class="app-glass-say" href="?part=web" data-part="web">web 2.4.0 is on its way to staging.</a></p>
|
|
@@ -132,4 +132,4 @@ See [glass.md](../rules/glass.md), which says what goes where; this guide is the
|
|
|
132
132
|
|
|
133
133
|
## Classes
|
|
134
134
|
|
|
135
|
-
`.app-shell--glass` (on the [AppShell](AppShell.md)), `.app-glass`, `.app-glass__body`, `.app-glass__pane`, `.app-glass__view`, `.app-glass__head`, `.app-glass__standing`, `.app-glass__section`, `.app-glass__field`, `.is-live`, `.app-glass-reading`, `.app-glass-reading__live`, `.app-glass-reading__text`, `.app-glass-since`, `.app-glass-say`, `.is-hot`, `.app-glass-part`, `.app-glass-part--pill`, `.app-glass-part--card`, `.app-glass-part--round`, `.is-lit`, `.is-failed`, `.is-forming`, `.is-quiet`, `.is-selected`, `.app-glass-word`, `.is-warning`, `.is-error`, `.app-glass-band`, `.app-glass-link`, `.app-glass-guide`, `.app-glass-particle`, `.app-glass-travel`, `.app-glass-pulse`, `.app-
|
|
135
|
+
`.app-shell--glass` (on the [AppShell](AppShell.md)), `.app-glass`, `.app-glass__body`, `.app-glass__pane`, `.app-glass__view`, `.app-glass__head`, `.app-glass__standing`, `.app-glass__section`, `.app-glass__field`, `.is-live`, `.app-glass-reading`, `.app-glass-reading__live`, `.app-glass-reading__text`, `.app-glass-since`, `.app-glass-say`, `.is-hot`, `.app-glass-part`, `.app-glass-part--pill`, `.app-glass-part--card`, `.app-glass-part--round`, `.is-lit`, `.is-failed`, `.is-forming`, `.is-quiet`, `.is-selected`, `.app-glass-word`, `.is-warning`, `.is-error`, `.app-glass-band`, `.app-glass-link`, `.app-glass-guide`, `.app-glass-particle`, `.app-glass-travel`, `.app-glass-pulse`, `.app-mark`, `.app-mark--glass`, `.app-mark__glint`, `.app-mark__dot` ([CapabilityMark](CapabilityMark.md)).
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# CapabilityMark
|
|
2
2
|
|
|
3
|
-
The mark for one of the
|
|
3
|
+
The mark for one of the eight primary tools, or for the Glass view, drawn as inline SVG from `marks.json`.
|
|
4
4
|
|
|
5
5
|
## Use / don't use
|
|
6
6
|
|
|
7
7
|
See [icons.md](../rules/icons.md). Both registers.
|
|
8
8
|
|
|
9
|
-
- The
|
|
10
|
-
- **The Glass view** (`alis_glass`) is the
|
|
11
|
-
- **
|
|
9
|
+
- The eight tools: **Ideate projects** (`alis_projects`), **Ideate interviews** (`alis_interviews`), **Ideate artifacts** (`alis_artifacts`), **Skill store** (`alis_skills`), **Build environments** (`alis_environments`), **Remote workstations** (`alis_workstations`), **Activity** (`alis_activity`), **Support** (`alis_support`). In product UI use it as an icon, inside the [AppIcon](AppIcon.md) box. A capability mark names a tool; a Material Symbol names an action or object.
|
|
10
|
+
- **The Glass view** (`alis_glass`) is the ninth mark and the only one that isn't a tool: it is a way of seeing every tool's things ([glass.md](../rules/glass.md)). A round window, the light along its rim, and the live part behind the glass. It leads the Glass view button, its row in a menu, the Glass line, the peek and a Glass view's reading, and nowhere else.
|
|
11
|
+
- **Nine marks.** A tenth is a brand decision. Never draw one to this spec for a feature.
|
|
12
12
|
- **Monochrome**, in `currentColor`; the surface supplies any tone. Never `signal` red: red is *Alis is on it*, not a tool.
|
|
13
|
-
- **Size, don't scale the stroke.** The stroke is graded from the rendered size. All
|
|
13
|
+
- **Size, don't scale the stroke.** The stroke is graded from the rendered size. All nine hold at 16px.
|
|
14
14
|
- **Always named**, by the tool's name, unless visible text sits beside it.
|
|
15
|
-
- Never recompose, rotate, mirror, fill or box the geometry.
|
|
15
|
+
- Never recompose, rotate, mirror, fill or box the geometry. **Every mark moves, and only as the system draws it** (`motion`, below): one move when you reach for it, a loop while what it stands for is live. A site never animates a mark.
|
|
16
16
|
- **Construction**: `0 0 24 24`, open round strokes, and **exactly one solid dot**: the live element, you or your work in motion. The Skill store loop passes over itself: one diagonal is cut into two stubs, and the dot caps the lower stub. Emit its five paths as they are; merging them into one path loses the over-under.
|
|
17
17
|
|
|
18
18
|
## Markup
|
|
@@ -20,12 +20,12 @@ See [icons.md](../rules/icons.md). Both registers.
|
|
|
20
20
|
Build each mark from its `marks.json` entry: one `<path>` per `strokes` item, then the dot. Here is `alis_environments` at 24px, named:
|
|
21
21
|
|
|
22
22
|
```html
|
|
23
|
-
<svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor"
|
|
23
|
+
<svg class="app-mark app-mark--environments" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor"
|
|
24
24
|
stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"
|
|
25
25
|
role="img" aria-label="Build environments" style="display:block;flex:none">
|
|
26
26
|
<title>Build environments</title>
|
|
27
|
-
<path d="M7.2 18.4h9.2a3.9 3.9 0 0 0 .5-7.77 5.4 5.4 0 0 0-10.3-1.5A3.94 3.94 0 0 0 7.2 18.4Z"/>
|
|
28
|
-
<circle cx="11.8" cy="12.15" r="1.9" fill="currentColor" stroke="none"/>
|
|
27
|
+
<path class="app-mark__cloud" d="M7.2 18.4h9.2a3.9 3.9 0 0 0 .5-7.77 5.4 5.4 0 0 0-10.3-1.5A3.94 3.94 0 0 0 7.2 18.4Z"/>
|
|
28
|
+
<circle class="app-mark__dot" cx="11.8" cy="12.15" r="1.9" fill="currentColor" stroke="none"/>
|
|
29
29
|
</svg>
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -48,7 +48,7 @@ The SVG is yours to emit. From `marks.json` (shipped in the package):
|
|
|
48
48
|
| `circles[]` (if present) | one open `<circle cx cy r="circleR"/>` each (`circleR` 2.1 from `construction`) |
|
|
49
49
|
| `dot` | last: `<circle cx cy r fill="currentColor" stroke="none"/>`, `r` = the mark's `dotR`, else `construction.dotR` (1.9). `alis_artifacts` uses 1.4. |
|
|
50
50
|
| `label` | `aria-label` and `<title>` when named |
|
|
51
|
-
| `motion`
|
|
51
|
+
| `motion` | `className` on the `<svg>`, each `strokeClasses` class on the stroke at that index, `dotClass` on the dot. The system moves them ([icons.md](../rules/icons.md) § How a mark moves): once when the button, link, menu row or navigation row holding the mark is hovered or focused, and in a loop while the `<svg>` has `is-live`. Add `is-live` only where `live` is `true`, and only while what the mark stands for is running and the words beside it say so |
|
|
52
52
|
|
|
53
53
|
**Stroke grade** (`construction.strokeGrade`), by rendered size, never scaled with a transform:
|
|
54
54
|
|
|
@@ -62,4 +62,4 @@ Set `width` and `height` to the size; keep `viewBox="0 0 24 24"`.
|
|
|
62
62
|
|
|
63
63
|
## Classes
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
The motion's, emitted from `marks.json`: `.app-mark`, `.app-mark--glass`, `.app-mark--projects`, `.app-mark--interviews`, `.app-mark--artifacts`, `.app-mark--skills`, `.app-mark--environments`, `.app-mark--workstations`, `.app-mark--activity`, `.app-mark--support`, `.app-mark__dot`, `.app-mark__glint`, `.app-mark__arc`, `.app-mark__line`, `.app-mark__piece`, `.app-mark__cloud`, `.app-mark__prompt`, `.app-mark__trace`, `.app-mark__boom`, `.is-live`. As an icon: `.app-icon`, `.app-icon--mark`, `.app-icon--24`.
|
package/components/README.md
CHANGED
|
@@ -58,7 +58,7 @@ Shared conventions: `app-state` gives anything pressable its hover, focus and pr
|
|
|
58
58
|
| AppGlassPeek | What a Glass view would show, from its button, before you open it | [AppGlassPeek.md](AppGlassPeek.md) |
|
|
59
59
|
| AppGlassLine | One line on a thing's screen when something inside is worth a look | [AppGlassLine.md](AppGlassLine.md) |
|
|
60
60
|
| AppFact | A label, the real value, and Copy where you'd paste it | [AppFact.md](AppFact.md) |
|
|
61
|
-
| CapabilityMark | The
|
|
61
|
+
| CapabilityMark | The eight tool marks and the Glass mark, as SVG from `marks.json` | [CapabilityMark.md](CapabilityMark.md) |
|
|
62
62
|
| AlisMark | The brand mark | [AlisMark.md](AlisMark.md) |
|
|
63
63
|
|
|
64
64
|
## A worked screen: a list with a settings pane
|
package/marks.json
CHANGED
|
@@ -15,14 +15,16 @@
|
|
|
15
15
|
"label": "Ideate projects",
|
|
16
16
|
"tone": "ideate",
|
|
17
17
|
"dot": [12, 12],
|
|
18
|
-
"strokes": ["M12 3.8A8.2 8.2 0 0 1 18.28 17.27", "M16.1 19.1A8.2 8.2 0 0 1 4.3 14.8", "M3.8 12A8.2 8.2 0 0 1 9.2 4.3"]
|
|
18
|
+
"strokes": ["M12 3.8A8.2 8.2 0 0 1 18.28 17.27", "M16.1 19.1A8.2 8.2 0 0 1 4.3 14.8", "M3.8 12A8.2 8.2 0 0 1 9.2 4.3"],
|
|
19
|
+
"motion": { "className": "app-mark app-mark--projects", "strokeClasses": { "0": "app-mark__arc", "1": "app-mark__arc", "2": "app-mark__arc" }, "dotClass": "app-mark__dot", "live": false }
|
|
19
20
|
},
|
|
20
21
|
{
|
|
21
22
|
"name": "alis_interviews",
|
|
22
23
|
"label": "Ideate interviews",
|
|
23
24
|
"tone": "ideate",
|
|
24
25
|
"dot": [5.2, 6.8],
|
|
25
|
-
"strokes": ["M8.8 6.8h6.2", "M10.2 12h8.6", "M5.2 17.2h6.2"]
|
|
26
|
+
"strokes": ["M8.8 6.8h6.2", "M10.2 12h8.6", "M5.2 17.2h6.2"],
|
|
27
|
+
"motion": { "className": "app-mark app-mark--interviews", "strokeClasses": { "0": "app-mark__line" }, "dotClass": "app-mark__dot", "live": true }
|
|
26
28
|
},
|
|
27
29
|
{
|
|
28
30
|
"name": "alis_artifacts",
|
|
@@ -30,28 +32,48 @@
|
|
|
30
32
|
"tone": "ideate",
|
|
31
33
|
"dot": [17.3, 17.3],
|
|
32
34
|
"dotR": 1.4,
|
|
33
|
-
"strokes": ["M10.15 6.7a3.45 3.45 0 1 1-6.9 0a3.45 3.45 0 1 1 6.9 0", "M14 10A6.6 6.6 0 0 1 20.6 3.4V10Z", "M3.4 20.6A6.6 6.6 0 0 1 10 14v6.6Z", "M14 14h6.6v6.6H14Z"]
|
|
35
|
+
"strokes": ["M10.15 6.7a3.45 3.45 0 1 1-6.9 0a3.45 3.45 0 1 1 6.9 0", "M14 10A6.6 6.6 0 0 1 20.6 3.4V10Z", "M3.4 20.6A6.6 6.6 0 0 1 10 14v6.6Z", "M14 14h6.6v6.6H14Z"],
|
|
36
|
+
"motion": { "className": "app-mark app-mark--artifacts", "strokeClasses": { "1": "app-mark__piece", "2": "app-mark__piece" }, "dotClass": "app-mark__dot", "live": false }
|
|
34
37
|
},
|
|
35
38
|
{
|
|
36
39
|
"name": "alis_skills",
|
|
37
40
|
"label": "Skill store",
|
|
38
41
|
"tone": "forge",
|
|
39
42
|
"dot": [15.16, 14.52],
|
|
40
|
-
"strokes": ["M18.5 7.5C15.5 7.5 8.5 16.5 5.5 16.5", "M5.5 16.5A4.5 4.5 0 0 1 5.5 7.5", "M18.5 16.5A4.5 4.5 0 0 0 18.5 7.5", "M5.5 7.5C6.55 7.5 8.09 8.6 9.78 10.04", "M18.5 16.5C17.6 16.5 16.4 15.66 15.16 14.52"]
|
|
43
|
+
"strokes": ["M18.5 7.5C15.5 7.5 8.5 16.5 5.5 16.5", "M5.5 16.5A4.5 4.5 0 0 1 5.5 7.5", "M18.5 16.5A4.5 4.5 0 0 0 18.5 7.5", "M5.5 7.5C6.55 7.5 8.09 8.6 9.78 10.04", "M18.5 16.5C17.6 16.5 16.4 15.66 15.16 14.52"],
|
|
44
|
+
"motion": { "className": "app-mark app-mark--skills", "strokeClasses": {}, "dotClass": "app-mark__dot", "live": true }
|
|
41
45
|
},
|
|
42
46
|
{
|
|
43
47
|
"name": "alis_environments",
|
|
44
48
|
"label": "Build environments",
|
|
45
49
|
"tone": "build",
|
|
46
50
|
"dot": [11.8, 12.15],
|
|
47
|
-
"strokes": ["M7.2 18.4h9.2a3.9 3.9 0 0 0 .5-7.77 5.4 5.4 0 0 0-10.3-1.5A3.94 3.94 0 0 0 7.2 18.4Z"]
|
|
51
|
+
"strokes": ["M7.2 18.4h9.2a3.9 3.9 0 0 0 .5-7.77 5.4 5.4 0 0 0-10.3-1.5A3.94 3.94 0 0 0 7.2 18.4Z"],
|
|
52
|
+
"motion": { "className": "app-mark app-mark--environments", "strokeClasses": { "0": "app-mark__cloud" }, "dotClass": "app-mark__dot", "live": true }
|
|
48
53
|
},
|
|
49
54
|
{
|
|
50
55
|
"name": "alis_workstations",
|
|
51
56
|
"label": "Remote workstations",
|
|
52
57
|
"tone": "build",
|
|
53
58
|
"dot": [14.2, 12],
|
|
54
|
-
"strokes": ["M6 5h12a3.2 3.2 0 0 1 3.2 3.2v7.6A3.2 3.2 0 0 1 18 19H6a3.2 3.2 0 0 1-3.2-3.2V8.2A3.2 3.2 0 0 1 6 5Z", "M7.6 9.6 10 12 7.6 14.4"]
|
|
59
|
+
"strokes": ["M6 5h12a3.2 3.2 0 0 1 3.2 3.2v7.6A3.2 3.2 0 0 1 18 19H6a3.2 3.2 0 0 1-3.2-3.2V8.2A3.2 3.2 0 0 1 6 5Z", "M7.6 9.6 10 12 7.6 14.4"],
|
|
60
|
+
"motion": { "className": "app-mark app-mark--workstations", "strokeClasses": { "1": "app-mark__prompt" }, "dotClass": "app-mark__dot", "live": true }
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "alis_activity",
|
|
64
|
+
"label": "Activity",
|
|
65
|
+
"tone": "build",
|
|
66
|
+
"dot": [17.75, 5.51],
|
|
67
|
+
"strokes": ["M3.4 19.6h17.2", "M3.4 15.4 7.6 11.2l3.4 3.4 4.6-6.2"],
|
|
68
|
+
"motion": { "className": "app-mark app-mark--activity", "strokeClasses": { "1": "app-mark__trace" }, "dotClass": "app-mark__dot", "live": true }
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "alis_support",
|
|
72
|
+
"label": "Support",
|
|
73
|
+
"tone": "all",
|
|
74
|
+
"dot": [12.2, 20.4],
|
|
75
|
+
"strokes": ["M4.6 13.4V12a7.4 7.4 0 0 1 14.8 0v1.4", "M4.6 12.8h1.6v4.8H4.6a1.2 1.2 0 0 1-1.2-1.2v-2.4a1.2 1.2 0 0 1 1.2-1.2Z", "M19.4 12.8h-1.6v4.8h1.6a1.2 1.2 0 0 0 1.2-1.2v-2.4a1.2 1.2 0 0 0-1.2-1.2Z", "M19.4 17.6a2.8 2.8 0 0 1-2.8 2.8h-1.8"],
|
|
76
|
+
"motion": { "className": "app-mark app-mark--support", "strokeClasses": { "3": "app-mark__boom" }, "dotClass": "app-mark__dot", "live": true }
|
|
55
77
|
},
|
|
56
78
|
{
|
|
57
79
|
"name": "alis_glass",
|
|
@@ -60,7 +82,7 @@
|
|
|
60
82
|
"sees": true,
|
|
61
83
|
"dot": [14.4, 14.4],
|
|
62
84
|
"strokes": ["M20.6 12a8.6 8.6 0 1 1-17.2 0a8.6 8.6 0 1 1 17.2 0", "M5.89 10.92A6.2 6.2 0 0 1 11.14 5.86"],
|
|
63
|
-
"motion": { "className": "app-
|
|
85
|
+
"motion": { "className": "app-mark app-mark--glass", "strokeClasses": { "1": "app-mark__glint" }, "dotClass": "app-mark__dot", "live": true }
|
|
64
86
|
}
|
|
65
87
|
]
|
|
66
88
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alis-build/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.58.0",
|
|
4
4
|
"description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks, words and rules.",
|
|
5
5
|
"keywords": ["alisx", "design-system", "design-tokens", "css"],
|
|
6
6
|
"homepage": "https://alisx.com",
|
package/rules/anti-patterns.md
CHANGED
|
@@ -81,10 +81,12 @@ Eight questions, about a minute. **Run this before handing work back.**
|
|
|
81
81
|
screen (concepts, how-it-works steps, conventions, a gotchas list) → C5: it is
|
|
82
82
|
the docs; link it. A page called a Glass view that reads nothing of yours is
|
|
83
83
|
the docs too; a Glass view's pane may explain freely ([glass.md](glass.md)).
|
|
84
|
-
8. **
|
|
84
|
+
8. **Does everything that moves have a live cause?** On a Glass view: motion with
|
|
85
85
|
nothing live behind it, more than three parts lit, a reason floating on the
|
|
86
86
|
field, the reading anywhere but first, or the navigation pane still beside it
|
|
87
|
-
→ [glass.md](glass.md).
|
|
87
|
+
→ [glass.md](glass.md). A capability mark `is-live` with nothing running, or
|
|
88
|
+
with no words beside it saying what is → [icons.md](icons.md) § How a mark
|
|
89
|
+
moves.
|
|
88
90
|
|
|
89
91
|
## The agent failure mode
|
|
90
92
|
|
package/rules/glass.md
CHANGED
|
@@ -39,7 +39,8 @@ opens is the docs, whatever it is called.
|
|
|
39
39
|
words. At most one per screen. Most days it is not there, so it is read when it
|
|
40
40
|
is.
|
|
41
41
|
4. **The mark answers**: as you reach for the button the light slides along its
|
|
42
|
-
rim, and while what it watches is running its live part
|
|
42
|
+
rim, and while what it watches is running its live part looks about inside the
|
|
43
|
+
lens (§ Motion).
|
|
43
44
|
|
|
44
45
|
## It takes the window
|
|
45
46
|
|
|
@@ -116,7 +117,7 @@ meaning).
|
|
|
116
117
|
| State | The pane | The field |
|
|
117
118
|
|---|---|---|
|
|
118
119
|
| **First read** | The reading, facts and sections as [AppSkeleton](../components/AppSkeleton.md) shapes, after 300ms ([loading.md](loading.md)) | The grid alone |
|
|
119
|
-
| **Live** | "Live, read just now", the mark
|
|
120
|
+
| **Live** | "Live, read just now", the mark live (`is-live`) | `is-live`: what moves, moves |
|
|
120
121
|
| **Not live** (the stream dropped, the run ended, the page was hidden) | "Read 4 min ago" in the same place, the mark still; the reading stays as it was read | Still; particles gone, parts where they last were |
|
|
121
122
|
| **Couldn't read** | The section error in the reading's place ([errors.md](errors.md)): "Couldn't read Acme. Try again." | The grid alone |
|
|
122
123
|
|
|
@@ -156,7 +157,7 @@ meaning).
|
|
|
156
157
|
| **A part travelling** to its place | A change in progress, at its real progress | `.app-glass-travel`, its distance the progress, on `spring-default-spatial` |
|
|
157
158
|
| **A pulse** round a part | Look here | `.app-glass-pulse`, `loop-pulse` |
|
|
158
159
|
| **Growing** | Still forming | `is-forming`, `loop-breathe` |
|
|
159
|
-
| **The mark's live part
|
|
160
|
+
| **The mark's live part looking about** | This view is reading something running | `is-live` on the mark ([icons.md](icons.md) § How a mark moves), `loop-look` |
|
|
160
161
|
|
|
161
162
|
- **Nothing moves without a live cause.** All of it runs only while the field is
|
|
162
163
|
`is-live`, which the product sets while it receives live state and removes when
|
package/rules/icons.md
CHANGED
|
@@ -34,13 +34,15 @@ icons, not brand marks: each names its tool wherever a symbol would.
|
|
|
34
34
|
| `alis_environments` | Build environments |
|
|
35
35
|
| `alis_skills` | Skill store |
|
|
36
36
|
| `alis_workstations` | Remote workstations |
|
|
37
|
+
| `alis_activity` | Activity: what people and agents are doing, and have done |
|
|
38
|
+
| `alis_support` | Support: conversations with a build specialist |
|
|
37
39
|
| `alis_glass` | The Glass view: not a tool, a way of seeing every tool's things ([glass.md](glass.md)) |
|
|
38
40
|
|
|
39
41
|
- **Use one by name, exactly like a symbol**: route every `alis_` name in your
|
|
40
42
|
icon layer to the mark's geometry, so a site writes the name and never imports
|
|
41
43
|
the `CapabilityMark` component or inlines the SVG.
|
|
42
|
-
- **A mark means its tool.** Never reuse one for something else, and never
|
|
43
|
-
|
|
44
|
+
- **A mark means its tool.** Never reuse one for something else, and never draw
|
|
45
|
+
one to this spec for a feature: a new mark is a brand decision. The Glass mark is the one exception to
|
|
44
46
|
"a mark names a tool": it names the Glass view, and leads only its button, its
|
|
45
47
|
row in a menu, the Glass line, the peek and a Glass view's reading.
|
|
46
48
|
- **The geometry is the system's**, keyed by these names. A revision replaces it
|
|
@@ -54,11 +56,48 @@ icons, not brand marks: each names its tool wherever a symbol would.
|
|
|
54
56
|
- **A selected mark does not change.** It has no filled form, so its row carries
|
|
55
57
|
selection through the fill and the label's weight ([selection.md](selection.md)).
|
|
56
58
|
|
|
59
|
+
### How a mark moves
|
|
60
|
+
|
|
61
|
+
**Every mark answers a reach once, and moves on its own only while what it stands
|
|
62
|
+
for is live.** Both are drawn by the system from the classes `marks.json` names
|
|
63
|
+
([CapabilityMark](../components/CapabilityMark.md)); a site emits the classes and
|
|
64
|
+
never animates a mark.
|
|
65
|
+
|
|
66
|
+
| Mark | Reach: once, then still | Live: only while it runs |
|
|
67
|
+
| --- | --- | --- |
|
|
68
|
+
| `alis_projects` | The arcs turn a step | None: nothing in a project runs |
|
|
69
|
+
| `alis_interviews` | The dot passes down a line, the turn going to the next speaker | Someone is answering now: the first line talks (`loop-speak`) |
|
|
70
|
+
| `alis_artifacts` | The two quarter pieces turn over | None: nothing in an artifact runs |
|
|
71
|
+
| `alis_skills` | The dot runs the loop once and comes back to its place | A skill is in use: the dot keeps running it (`loop-orbit`) |
|
|
72
|
+
| `alis_environments` | The cloud floats up, the dot just behind | Deploying: a gap runs round the cloud's edge (`loop-trace`) |
|
|
73
|
+
| `alis_workstations` | The prompt nudges forward | The workstation is on: the cursor blinks (`loop-blink`) |
|
|
74
|
+
| `alis_activity` | The trace pulls back and draws out again to now, and the dot lands | Someone is working now: the dot rises and settles at the tip (`loop-tick`) |
|
|
75
|
+
| `alis_support` | The mic swings in to the mouth | A person is replying to you: the mic talks (`loop-speak`) |
|
|
76
|
+
| `alis_glass` | The light slides along the rim | The view reads something running: the live part looks about inside the lens (`loop-look`) |
|
|
77
|
+
|
|
78
|
+
- **Reach** is the button, link, menu row or navigation row holding the mark,
|
|
79
|
+
hovered, or focused from the keyboard. It is one move on the springs, and it
|
|
80
|
+
settles back when you leave. At rest nothing in a navigation pane moves.
|
|
81
|
+
- **Live** is `is-live` on the mark, set by the product while the thing it stands
|
|
82
|
+
for is running and taken off the moment it stops. **Never as decoration**, and
|
|
83
|
+
never on Projects or Artifacts. **Never the only sign**: the words beside the
|
|
84
|
+
mark say the same ("On", "Deploying", "Live, read just now"), so a person who
|
|
85
|
+
can't see the motion loses nothing.
|
|
86
|
+
- **In a navigation pane** a destination's mark is live only while its row says
|
|
87
|
+
what is running there.
|
|
88
|
+
- **Reduced motion: nothing moves**, reach included.
|
|
89
|
+
- **What checks it**: the motion is scoped to the classes, and the style check
|
|
90
|
+
refuses a site running a mark's keyframes (`refused.markMotion`) or restyling an
|
|
91
|
+
`.app-mark` class ([styling.md](styling.md)). An `is-live` with nothing running
|
|
92
|
+
is the review's to catch: [anti-patterns.md](anti-patterns.md) § Smell test.
|
|
93
|
+
|
|
57
94
|
## Auxiliary areas
|
|
58
95
|
|
|
59
|
-
Activity
|
|
60
|
-
|
|
61
|
-
|
|
96
|
+
Activity and Support have their own marks, so every destination in the
|
|
97
|
+
navigation pane is drawn the same way and answers a reach the same way. An
|
|
98
|
+
auxiliary group is still told apart by its container (Support sits in the pane's
|
|
99
|
+
foot, with the account), never by its glyph. Home stays `home`: it is not a
|
|
100
|
+
tool, and the wordmark above it leads there too.
|
|
62
101
|
|
|
63
102
|
## Brand marks are not icons
|
|
64
103
|
|
package/rules/motion.md
CHANGED
|
@@ -93,9 +93,13 @@ on every screen.
|
|
|
93
93
|
| `loop-dots` | 1.2s | The working dots, the Alis mark's loader, the recording dot |
|
|
94
94
|
| `loop-pulse` | 1.6s | Something live or running: a live dot, a running state |
|
|
95
95
|
| `loop-breathe` | 3.2s, there and back | A large, calm glow: the composer's light, the voice orb; a Glass theme still forming |
|
|
96
|
-
| `loop-orbit` | 3.2s, even |
|
|
96
|
+
| `loop-orbit` | 3.2s, even | A capability mark's dot going round its path while live: the Skill store's |
|
|
97
97
|
| `loop-flow` | 4s, even | A particle on a Glass view's field: an event happening now |
|
|
98
|
-
| `loop-
|
|
98
|
+
| `loop-look` | 5s, there and back | The Glass mark's live part looking about while a Glass view reads live |
|
|
99
|
+
| `loop-speak` | 1.3s | The Interviews mark's first line talking while someone answers; the Support mark's mic while a person replies |
|
|
100
|
+
| `loop-trace` | 2.2s, even | A gap running round the Environments mark's cloud while it deploys |
|
|
101
|
+
| `loop-tick` | 1.8s | The Activity mark's dot rising and settling at its trace's tip while someone is working now |
|
|
102
|
+
| `loop-blink` | 1.1s, on and off | The red cursor; the Workstations mark's cursor while a workstation is on |
|
|
99
103
|
|
|
100
104
|
**On a Glass view, motion means something is live** and nothing else: a particle
|
|
101
105
|
is an event happening now, a part travelling is a change at its real progress, a
|
package/stylelint.mjs
CHANGED
|
@@ -104,6 +104,14 @@ export const refused = {
|
|
|
104
104
|
values: [/\bapp-glass-[\w-]+/],
|
|
105
105
|
message: `The Glass keyframes are the system's: a particle, a pulse or a forming part moves only on a live Glass field (rules/glass.md § Motion).`,
|
|
106
106
|
},
|
|
107
|
+
markMotion: {
|
|
108
|
+
// A capability mark answers a reach once and loops only while live, and the
|
|
109
|
+
// system draws both from the classes marks.json names: a site never runs a
|
|
110
|
+
// mark's keyframes on its own, so no mark moves without its cause.
|
|
111
|
+
properties: '/^animation(?:-name)?$/',
|
|
112
|
+
values: [/\bapp-mark-[\w-]+/],
|
|
113
|
+
message: `A mark's keyframes are the system's: a capability mark moves when you reach for it and while what it stands for is live, never on a site's own say (rules/icons.md § How a mark moves).`,
|
|
114
|
+
},
|
|
107
115
|
spacing: {
|
|
108
116
|
properties: '/^(?:(?:margin|padding|scroll-margin|scroll-padding)(?:-|$)|(?:grid-)?(?:row-|column-)?gap$)/',
|
|
109
117
|
values: [literalLength, unknownSpace],
|
package/tokens.css
CHANGED
|
@@ -182,6 +182,10 @@
|
|
|
182
182
|
--loop-breathe: 3.2s ease-in-out infinite alternate;
|
|
183
183
|
--loop-orbit: 3.2s linear infinite;
|
|
184
184
|
--loop-flow: 4s linear infinite;
|
|
185
|
+
--loop-look: 5s ease-in-out infinite;
|
|
186
|
+
--loop-speak: 1.3s ease-in-out infinite;
|
|
187
|
+
--loop-trace: 2.2s linear infinite;
|
|
188
|
+
--loop-tick: 1.8s ease-in-out infinite;
|
|
185
189
|
--loop-blink: 1.1s steps(1) infinite;
|
|
186
190
|
--state-hover: 0.04;
|
|
187
191
|
--state-focus: 0.04;
|
package/tokens.json
CHANGED
|
@@ -1663,17 +1663,37 @@
|
|
|
1663
1663
|
{
|
|
1664
1664
|
"name": "loop-orbit",
|
|
1665
1665
|
"value": "3.2s linear infinite",
|
|
1666
|
-
"usage": "
|
|
1666
|
+
"usage": "A capability mark's dot going round its path while live: the Skill store's dot running its loop."
|
|
1667
1667
|
},
|
|
1668
1668
|
{
|
|
1669
1669
|
"name": "loop-flow",
|
|
1670
1670
|
"value": "4s linear infinite",
|
|
1671
1671
|
"usage": "A particle travelling a path on a Glass view's field: an event happening now."
|
|
1672
1672
|
},
|
|
1673
|
+
{
|
|
1674
|
+
"name": "loop-look",
|
|
1675
|
+
"value": "5s ease-in-out infinite",
|
|
1676
|
+
"usage": "The Glass mark's live part looking about inside the lens, while a Glass view reads something running."
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"name": "loop-speak",
|
|
1680
|
+
"value": "1.3s ease-in-out infinite",
|
|
1681
|
+
"usage": "The Interviews mark's first line talking, while someone is answering; the Support mark's mic, while a person is replying."
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"name": "loop-trace",
|
|
1685
|
+
"value": "2.2s linear infinite",
|
|
1686
|
+
"usage": "A gap running round the Environments mark's cloud, while an environment deploys."
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"name": "loop-tick",
|
|
1690
|
+
"value": "1.8s ease-in-out infinite",
|
|
1691
|
+
"usage": "The Activity mark's dot rising and settling at the tip of its trace, while someone is working now."
|
|
1692
|
+
},
|
|
1673
1693
|
{
|
|
1674
1694
|
"name": "loop-blink",
|
|
1675
1695
|
"value": "1.1s steps(1) infinite",
|
|
1676
|
-
"usage": "The red cursor."
|
|
1696
|
+
"usage": "The red cursor; the Workstations mark's cursor while a workstation is on."
|
|
1677
1697
|
}
|
|
1678
1698
|
]
|
|
1679
1699
|
},
|