@alis-build/design-system 0.54.1 → 0.56.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 +2 -2
- package/alisx.css +132 -0
- package/classes.json +52 -0
- package/components/AppFact.md +36 -0
- package/components/AppGlassLine.md +33 -0
- package/components/AppGlassPeek.md +38 -0
- package/components/AppGlassView.md +135 -0
- package/components/AppIcon.md +1 -1
- package/components/AppShell.md +2 -1
- package/components/AppTitleBar.md +1 -1
- package/components/CapabilityMark.md +7 -5
- package/components/README.md +5 -1
- package/marks.json +9 -0
- package/package.json +1 -1
- package/rules/README.md +2 -0
- package/rules/anti-patterns.md +8 -3
- package/rules/buttons.md +3 -0
- package/rules/glass.md +215 -0
- package/rules/icons.md +5 -2
- package/rules/motion.md +13 -3
- package/rules/page.md +5 -1
- package/rules/register.md +9 -23
- package/rules/shortcuts.md +1 -1
- package/rules/styling.md +2 -0
- package/rules/surfaces.md +9 -4
- package/rules/type.md +4 -1
- package/stylelint.mjs +14 -0
- package/themes.json +6 -0
- package/tokens.css +11 -0
- package/tokens.json +47 -0
- package/words.json +2 -2
|
@@ -7,7 +7,7 @@ The top of every product screen: the name and the verbs; route tabs under the na
|
|
|
7
7
|
See [page.md](../rules/page.md).
|
|
8
8
|
|
|
9
9
|
- **The name is the screen, alone**: never a breadcrumb. One page-title per screen, and the bar has it. A detail screen (its own route) leads with a back [AppIconButton](AppIconButton.md) and keeps the page-title. **Back returns to where you came from and is named for it** ("Back to interviews"), never a bare "Back"; with no step in the app behind it, it goes to the thing's parent and names that ([page.md](../rules/page.md) § Where back goes). A screen reached from the navigation pane has no back.
|
|
10
|
-
- **The lead is outlined, never filled**: the action that brings a thing into the screen (`app-btn--outlined`, "New environment"), led by `add` when it is New or Add, and by `edit_square` when it starts a new conversation ("New chat"). Other verbs are default-size text buttons and small icon buttons, and no icon on a single verb. The screen's one filled button belongs in the content. Destructive takes `app-btn--error`.
|
|
10
|
+
- **The lead is outlined, never filled**: the action that brings a thing into the screen (`app-btn--outlined`, "New environment"), led by `add` when it is New or Add, and by `edit_square` when it starts a new conversation ("New chat"). Other verbs are default-size text buttons and small icon buttons, and no icon on a single verb, except the Glass mark that leads Glass view ([glass.md](../rules/glass.md)). The screen's one filled button belongs in the content. Destructive takes `app-btn--error`.
|
|
11
11
|
- **One order, by weight**: the lead, then text buttons, then icon buttons, ⋯ last ([page.md](../rules/page.md) § The title bar). The lead sits beside the name; ⋯ closes the row at every width, so the phone's bar is the same row folded. A destructive verb is the last before ⋯, or inside it.
|
|
12
12
|
- **Never status.** The bar names the screen and holds its verbs: no meter, no usage ring, no saving state, no count. A thing's state is a chip on the detail bar's row or in the content; an account's usage is a row in the account menu ([AppShell](AppShell.md) § The account menu).
|
|
13
13
|
- **No line at rest.** The bar lies on the ground with the content; a line under it would split the screen into a header and a body. While the bar stays put and content scrolls under it, it takes `is-scrolled`: an `outline-variant` hairline at its foot, gone again at the top. Never a permanent border and never a shadow: a shadow means floating, and the composer and menus float. Tabs keep their own line at every scroll; at rest it is the bar's edge.
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
# CapabilityMark
|
|
2
2
|
|
|
3
|
-
The mark for one of the six primary tools, drawn as inline SVG from `marks.json`.
|
|
3
|
+
The mark for one of the six 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
9
|
- The six 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`). 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
|
-
- **
|
|
10
|
+
- **The Glass view** (`alis_glass`) is the seventh 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
|
+
- **Seven marks. No eighth** without a seventh primary tool, which is a brand decision. Never draw one to this spec for a feature.
|
|
11
12
|
- **Monochrome**, in `currentColor`; the surface supplies any tone. Never `signal` red: red is *Alis is on it*, not a tool.
|
|
12
|
-
- **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 seven hold at 16px.
|
|
13
14
|
- **Always named**, by the tool's name, unless visible text sits beside it.
|
|
14
|
-
- Never recompose, rotate, mirror, fill or box the geometry.
|
|
15
|
+
- Never recompose, rotate, mirror, fill or box the geometry. The Glass mark's glint and dot are turned by the system alone (`motion`, below); a site never animates a mark.
|
|
15
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.
|
|
16
17
|
|
|
17
18
|
## Markup
|
|
@@ -47,6 +48,7 @@ The SVG is yours to emit. From `marks.json` (shipped in the package):
|
|
|
47
48
|
| `circles[]` (if present) | one open `<circle cx cy r="circleR"/>` each (`circleR` 2.1 from `construction`) |
|
|
48
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. |
|
|
49
50
|
| `label` | `aria-label` and `<title>` when named |
|
|
51
|
+
| `motion` (`alis_glass` only) | `class="app-glass-mark"` on the `<svg>`, `app-glass-mark__glint` on the stroke at index `glint`, `app-glass-mark__live` on the dot. The system moves them: the glint slides along the rim when its button or row is hovered or focused, and the dot turns while the mark has `is-live` ([glass.md](../rules/glass.md) § Motion). Add `is-live` only while what it watches is read live |
|
|
50
52
|
|
|
51
53
|
**Stroke grade** (`construction.strokeGrade`), by rendered size, never scaled with a transform:
|
|
52
54
|
|
|
@@ -60,4 +62,4 @@ Set `width` and `height` to the size; keep `viewBox="0 0 24 24"`.
|
|
|
60
62
|
|
|
61
63
|
## Classes
|
|
62
64
|
|
|
63
|
-
None of its own
|
|
65
|
+
None of its own, except the Glass mark's motion: `.app-glass-mark`, `.app-glass-mark__glint`, `.app-glass-mark__live`, `.is-live`. As an icon: `.app-icon`, `.app-icon--mark`, `.app-icon--24`.
|
package/components/README.md
CHANGED
|
@@ -54,7 +54,11 @@ Shared conventions: `app-state` gives anything pressable its hover, focus and pr
|
|
|
54
54
|
| AppLoader | A wait whose shape you don't know | [AppLoader.md](AppLoader.md) |
|
|
55
55
|
| AppProgress | Work you can count; the steps | [AppProgress.md](AppProgress.md) |
|
|
56
56
|
| AppStepper | A form a person moves through in named steps | [AppStepper.md](AppStepper.md) |
|
|
57
|
-
|
|
|
57
|
+
| AppGlassView | The live inside of one running thing: a pane to read, a field to look at | [AppGlassView.md](AppGlassView.md) |
|
|
58
|
+
| AppGlassPeek | What a Glass view would show, from its button, before you open it | [AppGlassPeek.md](AppGlassPeek.md) |
|
|
59
|
+
| AppGlassLine | One line on a thing's screen when something inside is worth a look | [AppGlassLine.md](AppGlassLine.md) |
|
|
60
|
+
| AppFact | A label, the real value, and Copy where you'd paste it | [AppFact.md](AppFact.md) |
|
|
61
|
+
| CapabilityMark | The six tool marks and the Glass mark, as SVG from `marks.json` | [CapabilityMark.md](CapabilityMark.md) |
|
|
58
62
|
| AlisMark | The brand mark | [AlisMark.md](AlisMark.md) |
|
|
59
63
|
|
|
60
64
|
## A worked screen: a list with a settings pane
|
package/marks.json
CHANGED
|
@@ -52,6 +52,15 @@
|
|
|
52
52
|
"tone": "build",
|
|
53
53
|
"dot": [14.2, 12],
|
|
54
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"]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "alis_glass",
|
|
58
|
+
"label": "Glass view",
|
|
59
|
+
"tone": "all",
|
|
60
|
+
"sees": true,
|
|
61
|
+
"dot": [14.4, 14.4],
|
|
62
|
+
"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-glass-mark", "glint": 1, "glintClass": "app-glass-mark__glint", "dotClass": "app-glass-mark__live" }
|
|
55
64
|
}
|
|
56
65
|
]
|
|
57
66
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alis-build/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.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/README.md
CHANGED
|
@@ -9,12 +9,14 @@ It is framework-neutral: plain tokens, plain CSS classes, component markup in pl
|
|
|
9
9
|
Read only what the job needs.
|
|
10
10
|
|
|
11
11
|
- **A product screen** (Ideate, Build, Admin): [quick-start.md](quick-start.md), then the screen skeleton in [components/README.md](../components/README.md), then the guide of each component you use.
|
|
12
|
+
- **A Glass view** (the live inside of one running thing): [glass.md](glass.md), then [AppGlassView](../components/AppGlassView.md) and the guides it names.
|
|
12
13
|
- **A question Quick start doesn't settle**: the rule it names, one file at a time (the list below).
|
|
13
14
|
- **Something missing**: [known-gaps.md](known-gaps.md).
|
|
14
15
|
|
|
15
16
|
| Rule | Decides |
|
|
16
17
|
| --- | --- |
|
|
17
18
|
| [register.md](register.md) | Which register a surface is in, what a screen shows and what the docs explain (Glass views), and the voice |
|
|
19
|
+
| [glass.md](glass.md) | The Glass view: the way in, the pane and the field, picture forms, what may move |
|
|
18
20
|
| [colour.md](colour.md) | Roles, the one action colour, status, categories |
|
|
19
21
|
| [themes.md](themes.md) | Light and dark: asking for a theme, what changes, what doesn't |
|
|
20
22
|
| [branding.md](branding.md) | Client identity, account-to-portal inheritance, permitted role overrides and embedding |
|
package/rules/anti-patterns.md
CHANGED
|
@@ -60,10 +60,11 @@ Cite by ID in review. Each is a defect that has shipped in an Alis product.
|
|
|
60
60
|
|
|
61
61
|
## Smell test
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
Eight questions, about a minute. **Run this before handing work back.**
|
|
64
64
|
|
|
65
65
|
1. **Is anything in the page casting a shadow?** Only a menu, the composer,
|
|
66
|
-
a snackbar, a dialog, a dragged item
|
|
66
|
+
a snackbar, a dialog, a dragged item, a card on the drafting field or a glass
|
|
67
|
+
part on a Glass view's field may. A
|
|
67
68
|
card at rest with a shadow is A2's cousin: remove the shadow, keep the edge.
|
|
68
69
|
2. **Which button moves me forward?** Not obvious in one second → B1. Then count
|
|
69
70
|
the leads: one filled on the screen, one outlined per surface, none in a card
|
|
@@ -79,7 +80,11 @@ Seven questions, about a minute. **Run this before handing work back.**
|
|
|
79
80
|
7. **Point at what each explanation is about.** One that points at nothing on the
|
|
80
81
|
screen (concepts, how-it-works steps, conventions, a gotchas list) → C5: it is
|
|
81
82
|
the docs; link it. A page called a Glass view that reads nothing of yours is
|
|
82
|
-
the docs too.
|
|
83
|
+
the docs too; a Glass view's pane may explain freely ([glass.md](glass.md)).
|
|
84
|
+
8. **On a Glass view: does everything that moves have a live cause?** Motion with
|
|
85
|
+
nothing live behind it, more than three parts lit, a reason floating on the
|
|
86
|
+
field, the reading anywhere but first, or the navigation pane still beside it
|
|
87
|
+
→ [glass.md](glass.md).
|
|
83
88
|
|
|
84
89
|
## The agent failure mode
|
|
85
90
|
|
package/rules/buttons.md
CHANGED
|
@@ -175,6 +175,9 @@ click goes.
|
|
|
175
175
|
`arrow_forward` for it. A link to the docs is one of these and reads
|
|
176
176
|
**How *thing* works**, never "Learn more" ([register.md](register.md) § Show
|
|
177
177
|
it or explain it).
|
|
178
|
+
- **The Glass mark on Glass view**: the one capability mark that leads a button,
|
|
179
|
+
at 16, because it is how the Glass view is known on every capability's screen
|
|
180
|
+
([glass.md](glass.md)). Its light answers as you reach for it.
|
|
178
181
|
- **A third party's mark on a hand-off**: "Sign in with Google", "Connect
|
|
179
182
|
GitHub", "Open in VS Code". The button takes you to that party, so it leads
|
|
180
183
|
with their mark, at the glyph's size and never recoloured (an agent's mark
|
package/rules/glass.md
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
# Glass
|
|
2
|
+
|
|
3
|
+
**A Glass view is the live inside of one running thing of yours.** Glass is what
|
|
4
|
+
you get when the casing of a running machine is made of glass: the same thing,
|
|
5
|
+
with what is happening inside it in sight. A Glass view should make people want to
|
|
6
|
+
look, and reward them when they do.
|
|
7
|
+
|
|
8
|
+
The test, from [register.md](register.md) § Show it or explain it: **nothing
|
|
9
|
+
running behind it, no Glass view.** A page that reads nothing of yours when it
|
|
10
|
+
opens is the docs, whatever it is called.
|
|
11
|
+
|
|
12
|
+
## Which things have one
|
|
13
|
+
|
|
14
|
+
- **Any thing of yours that runs**, in any capability: a build environment, a
|
|
15
|
+
product's deployments, a Define result, a skill in use, an interview round, a
|
|
16
|
+
workstation. One Glass view per thing.
|
|
17
|
+
- **At the thing's own address** (`…/products/payments/glass`), never in a
|
|
18
|
+
separate area of explainers. Its title is **Glass view**; back names the thing
|
|
19
|
+
([page.md](page.md) § Where back goes).
|
|
20
|
+
- **The same data reaches an agent**: the CLI's `--json` for a Glass view carries
|
|
21
|
+
what the screen shows, from the same service ([terminal.md](terminal.md)).
|
|
22
|
+
|
|
23
|
+
## The way in
|
|
24
|
+
|
|
25
|
+
1. **The Glass view button**: a text button in the thing's title bar, led by the
|
|
26
|
+
Glass mark at 16 ([CapabilityMark](../components/CapabilityMark.md),
|
|
27
|
+
`alis_glass`). A list row whose thing has one carries it in the row's menu;
|
|
28
|
+
on a phone the button folds into ⋯ with the bar's other verbs. In a menu the
|
|
29
|
+
mark leads the row when the menu's rows carry glyphs, and the row is words
|
|
30
|
+
alone when they don't ([buttons.md](buttons.md)). Never "Explain", "Explain
|
|
31
|
+
this …" or "Glass Mode".
|
|
32
|
+
2. **The peek** ([AppGlassPeek](../components/AppGlassPeek.md)): hover or focus
|
|
33
|
+
the button, after the tooltip's delay, and it shows the reading and a small,
|
|
34
|
+
still picture of the inside, read when it opens. A click opens the view. Never
|
|
35
|
+
on a touch screen.
|
|
36
|
+
3. **The Glass line** ([AppGlassLine](../components/AppGlassLine.md)): one line
|
|
37
|
+
under the title bar, **only when the service reports something worth a look**
|
|
38
|
+
(a part lit, a run failed, a change since you last looked), in the reading's own
|
|
39
|
+
words. At most one per screen. Most days it is not there, so it is read when it
|
|
40
|
+
is.
|
|
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 turns (§ Motion).
|
|
43
|
+
|
|
44
|
+
## It takes the window
|
|
45
|
+
|
|
46
|
+
**From 600 wide a Glass view takes the window**: the navigation pane steps away
|
|
47
|
+
(`app-shell--glass`, [AppShell](../components/AppShell.md)). Opening a Glass view
|
|
48
|
+
is leaning in on one thing, not moving between places, and the field needs the
|
|
49
|
+
room: beside the navigation pane it would have about 520 at 1280.
|
|
50
|
+
|
|
51
|
+
- **It goes and comes back on the page change**: the navigation pane goes back
|
|
52
|
+
over its leading edge as the view widens into its place, and leaving brings it
|
|
53
|
+
back the same way ([motion.md](motion.md) § Changing page).
|
|
54
|
+
- **The title bar stays**: "Glass view", back leading and named for the thing
|
|
55
|
+
("Back to Acme"). It is the way out.
|
|
56
|
+
- **Esc goes one step at a time**: it closes an open part, and with none open it
|
|
57
|
+
leaves the view, as back does.
|
|
58
|
+
- **Its address holds it** (`…/glass`, a part as `?part=`), so a refresh, a
|
|
59
|
+
shared link and the browser's back all land where they should, and leaving
|
|
60
|
+
returns to the thing as you left it ([page.md](page.md) § Where back goes).
|
|
61
|
+
- **It is a screen, not a full-size view**: back leads, not Close, because you
|
|
62
|
+
went into it ([page.md](page.md) § A full-size view).
|
|
63
|
+
- **The shortcut sheet** opens beside it as on any screen; the view narrows for
|
|
64
|
+
it.
|
|
65
|
+
- **On a phone** the screen is the content alone already, so nothing steps away.
|
|
66
|
+
- **Never a column of icons in the pane's place**: it keeps chrome the view has
|
|
67
|
+
no use for and still takes the field's room.
|
|
68
|
+
|
|
69
|
+
## The view: a pane to read, a field to look at
|
|
70
|
+
|
|
71
|
+
[AppGlassView](../components/AppGlassView.md). The pane holds the words, 420 wide
|
|
72
|
+
at the leading edge; the field holds the thing, drawn live, and takes the rest.
|
|
73
|
+
When the view has less than 1000 to itself they stack, the pane first. On a phone
|
|
74
|
+
the field is drawn smaller and holds still, and every part with words is reached
|
|
75
|
+
from the pane's "What you're looking at".
|
|
76
|
+
|
|
77
|
+
**The field makes sense on its own**, and **the pane is the only place for
|
|
78
|
+
words.** A reason never floats on the field: the field says it in a word ("1.9.0
|
|
79
|
+
waiting"), the pane says it in a sentence.
|
|
80
|
+
|
|
81
|
+
### The pane, in this order
|
|
82
|
+
|
|
83
|
+
| | What | Rule |
|
|
84
|
+
|---|---|---|
|
|
85
|
+
| 1 | **The reading** | One or two sentences answering "what's going on in there?", built from the state, the notable part first and at 600. When it was read, beside the mark. `text-reading`. Nothing goes above it |
|
|
86
|
+
| 2 | **Since you last looked** | What changed since this person's last visit, as short chips under "Since Tuesday". Left out when nothing changed |
|
|
87
|
+
| 3 | **The facts** | [AppFact](../components/AppFact.md): the real values, Copy where you'd paste one |
|
|
88
|
+
| 4 | **What you're looking at** | Sentences about parts on the field, each linked to its part |
|
|
89
|
+
| 5 | **Explanation** | Free text under a heading the view chooses ("How releases reach production", "About this round"), as long as helps |
|
|
90
|
+
| 6 | **The docs link, last** | "How *thing* works", its name saying it opens in a new tab ([buttons.md](buttons.md) § The form) |
|
|
91
|
+
|
|
92
|
+
**Link what you can point at; explain freely around it.**
|
|
93
|
+
|
|
94
|
+
- **A sentence about a part on the field is linked** (`.app-glass-say`): hover or
|
|
95
|
+
focus it and its part lights up, and the part lights the sentence back. Clicking
|
|
96
|
+
it opens the part.
|
|
97
|
+
- **Explanation is free.** It needs no part to point at, and it may say what the
|
|
98
|
+
docs also say. It is written for this view and the person looking at it: the
|
|
99
|
+
background, how it works here, what to watch for. A general manual, the same on
|
|
100
|
+
every view, is the docs.
|
|
101
|
+
|
|
102
|
+
### A part opened
|
|
103
|
+
|
|
104
|
+
Select a part and **the pane becomes that part**: Close leads (the whole view is
|
|
105
|
+
still behind it, [page.md](page.md) § Close or back), then the thing and where it is
|
|
106
|
+
(eyebrow), its value or name (`text-section-title`: the bar keeps the page title),
|
|
107
|
+
its standing in a word or two in its status ink, why it is like this, what to do,
|
|
108
|
+
its facts, one outlined action, and a docs link where one helps. Close, the
|
|
109
|
+
browser's back or Esc returns to the whole. The selected part keeps its ring on the field, so the eye
|
|
110
|
+
knows what the words are about: a 2px `on-surface` ring, hover 1px `primary`,
|
|
111
|
+
focus 2px `primary` ([selection.md](selection.md) § A mark whose fill is already
|
|
112
|
+
meaning).
|
|
113
|
+
|
|
114
|
+
## States
|
|
115
|
+
|
|
116
|
+
| State | The pane | The field |
|
|
117
|
+
|---|---|---|
|
|
118
|
+
| **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 turning (`is-live`) | `is-live`: what moves, moves |
|
|
120
|
+
| **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
|
+
| **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
|
+
## The field
|
|
124
|
+
|
|
125
|
+
- **Its own ground**: `.app-glass__field`, a 72px grid on `surface-container-low`,
|
|
126
|
+
in both themes. It is not the drafting field and takes no petrol band.
|
|
127
|
+
- **The parts are glass** (`.app-glass-part`): a translucent pane with the field
|
|
128
|
+
showing through it, a hairline edge, the mark's rim light along its top and
|
|
129
|
+
leading edges, and `elevation-2`, as a card on a busy ground takes
|
|
130
|
+
([surfaces.md](surfaces.md) § Depth). Outside `.app-glass__field` a part is
|
|
131
|
+
unstyled.
|
|
132
|
+
- **One picture per view, drawn as structure before any list.** Choose its form
|
|
133
|
+
by what the thing is:
|
|
134
|
+
|
|
135
|
+
| Form | Use it when | Drawn as |
|
|
136
|
+
|---|---|---|
|
|
137
|
+
| **Streams through gates** | Something moves through stages: versions through environments, work through steps | Each stream a band from its source, through gates in order, out to what it serves; versions as pills on the band |
|
|
138
|
+
| **Rings** | Something spreads by level: a skill through you, your team, the community, the platform | The thing at the centre, a ring per level, who has it on its ring, what runs it now circling close |
|
|
139
|
+
| **Convergence** | Many inputs become a few insights: people into themes, signals into findings | Inputs down the leading edge, flows to clusters sized by how many reached them |
|
|
140
|
+
| **A run landing** | One process arrives step by step: a Define run, a deploy, an import | The steps in order, each with its state and time, what it made ready to copy |
|
|
141
|
+
| **A flow** | What feeds what: branches into environments, sources into a product | Sources on one side, destinations on the other, a link where one feeds another |
|
|
142
|
+
| **A map** | Things placed by where they are: services in a topology, resources in a project | Groups as regions, parts in them, links where they talk |
|
|
143
|
+
|
|
144
|
+
A new form joins this table by ruling, so the same kind of thing always looks
|
|
145
|
+
the same. Past about 40 parts, group them and let a group open.
|
|
146
|
+
- **Normal is quiet; the unusual is lit.** What is as it should be stays in ink.
|
|
147
|
+
**At most three parts are lit at once**: a part needing a look takes
|
|
148
|
+
`is-lit` (a warning ring) or `is-failed` (an error ring), and its word on the
|
|
149
|
+
field. Colour is never alone: the word is always there.
|
|
150
|
+
|
|
151
|
+
## Motion: only what is live moves
|
|
152
|
+
|
|
153
|
+
| Motion | Means | Drawn with |
|
|
154
|
+
|---|---|---|
|
|
155
|
+
| **A particle** travelling a path | An event happening now: a commit landing, a request served, an answer arriving | `.app-glass-particle`, `loop-flow` |
|
|
156
|
+
| **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
|
+
| **A pulse** round a part | Look here | `.app-glass-pulse`, `loop-pulse` |
|
|
158
|
+
| **Growing** | Still forming | `is-forming`, `loop-breathe` |
|
|
159
|
+
| **The mark's live part turning** | This view is reading something running | `.app-glass-mark.is-live`, `loop-orbit` |
|
|
160
|
+
|
|
161
|
+
- **Nothing moves without a live cause.** All of it runs only while the field is
|
|
162
|
+
`is-live`, which the product sets while it receives live state and removes when
|
|
163
|
+
it doesn't: the stream drops, the run ends, the tab is hidden. A field that isn't
|
|
164
|
+
live is still, and nothing on it pretends.
|
|
165
|
+
- **It stops when the cause does**: a particle path with no events left goes, a
|
|
166
|
+
travelling part settles where it arrived, a forming theme that formed stops
|
|
167
|
+
growing.
|
|
168
|
+
- **Transform, opacity and offset only**, so nothing reflows.
|
|
169
|
+
- **Reduced motion, and a phone: everything is still**, and every state is in
|
|
170
|
+
words already, so nothing is lost.
|
|
171
|
+
|
|
172
|
+
## Keys and access
|
|
173
|
+
|
|
174
|
+
- **Every part with words is a link** to its view (`?part=…`), and so is every
|
|
175
|
+
sentence about it. J and K move focus through those parts on the field, in the
|
|
176
|
+
order the pane first mentions them; Enter opens one; with a part open, J and K
|
|
177
|
+
open the next and previous part's view; Esc closes it, and with no part open Esc
|
|
178
|
+
leaves the view ([shortcuts.md](shortcuts.md)).
|
|
179
|
+
- **The pane is the field's text equivalent**: every lit part has a sentence, and
|
|
180
|
+
the drawing itself (bands, links, guides, particles) is `aria-hidden`.
|
|
181
|
+
- **Values are real and copy in one click**: names, versions, IDs, commands.
|
|
182
|
+
|
|
183
|
+
## Theming
|
|
184
|
+
|
|
185
|
+
**A Glass view follows the theme**, like every screen. Its signature is the field,
|
|
186
|
+
the glass, the mark and the motion, never a dark ground of its own.
|
|
187
|
+
|
|
188
|
+
## Never
|
|
189
|
+
|
|
190
|
+
- A hero, display type, a slogan or anything drawn for show: every mark on the
|
|
191
|
+
view is data ([register.md](register.md): nothing inside a product sells).
|
|
192
|
+
- A Glass view of a thing with nothing running behind it.
|
|
193
|
+
- Motion with no live cause, or more than three parts lit at once.
|
|
194
|
+
- A reason card floating on the field: the reason is in the pane.
|
|
195
|
+
- A Glass view beside the navigation pane, or with a column of icons in its place.
|
|
196
|
+
- Glass anywhere but on a Glass view's field.
|
|
197
|
+
|
|
198
|
+
## What checks it
|
|
199
|
+
|
|
200
|
+
- **By construction**: everything drawn on the field (glass, links, particles,
|
|
201
|
+
pulses) is scoped to `.app-glass__field`, and nothing on it moves unless the field
|
|
202
|
+
is `is-live`, the person allows motion and the screen is wider than a phone.
|
|
203
|
+
- **The style check** ([styling.md](styling.md)): a site can't restyle an
|
|
204
|
+
`.app-glass-*` class, can't set `backdrop-filter` of its own, can't run the Glass
|
|
205
|
+
keyframes on its own elements, and times motion only with the system's springs
|
|
206
|
+
and loops. It reads stylesheets and static `style=""`; a style bound from script
|
|
207
|
+
(a framework's `:style`) is the review's to catch.
|
|
208
|
+
- **The data**: the Glass service names at most three notable parts, so a view
|
|
209
|
+
that lights only what it is sent keeps the limit.
|
|
210
|
+
- **The words check**: "Glass Mode" is retired (`words.json`). "Explain" as a
|
|
211
|
+
label is common English, so it is advice only, and the review's to catch.
|
|
212
|
+
- **At hand-back**: [anti-patterns.md](anti-patterns.md) § Smell test, question 8,
|
|
213
|
+
covers what no check can see: a Glass view of a thing with nothing running, the
|
|
214
|
+
reading not first, a reason floating on the field, the navigation pane still
|
|
215
|
+
beside it.
|
package/rules/icons.md
CHANGED
|
@@ -34,12 +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_glass` | The Glass view: not a tool, a way of seeing every tool's things ([glass.md](glass.md)) |
|
|
37
38
|
|
|
38
39
|
- **Use one by name, exactly like a symbol**: route every `alis_` name in your
|
|
39
40
|
icon layer to the mark's geometry, so a site writes the name and never imports
|
|
40
41
|
the `CapabilityMark` component or inlines the SVG.
|
|
41
|
-
- **A mark means its tool.** Never reuse one for something else, and never add
|
|
42
|
-
|
|
42
|
+
- **A mark means its tool.** Never reuse one for something else, and never add an
|
|
43
|
+
eighth without a seventh primary tool. The Glass mark is the one exception to
|
|
44
|
+
"a mark names a tool": it names the Glass view, and leads only its button, its
|
|
45
|
+
row in a menu, the Glass line, the peek and a Glass view's reading.
|
|
43
46
|
- **The geometry is the system's**, keyed by these names. A revision replaces it
|
|
44
47
|
at the source; a site never redraws a mark.
|
|
45
48
|
- **Otherwise, a symbol's rules:** a label or an accessible name, `currentColor`,
|
package/rules/motion.md
CHANGED
|
@@ -92,9 +92,16 @@ on every screen.
|
|
|
92
92
|
| `loop-shimmer` | 1.4s | A skeleton's shimmer |
|
|
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
|
-
| `loop-breathe` | 3.2s, there and back | A large, calm glow: the composer's light, the voice orb |
|
|
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 | The Glass mark's live part turning while a Glass view reads live |
|
|
97
|
+
| `loop-flow` | 4s, even | A particle on a Glass view's field: an event happening now |
|
|
96
98
|
| `loop-blink` | 1.1s, on and off | The red cursor |
|
|
97
99
|
|
|
100
|
+
**On a Glass view, motion means something is live** and nothing else: a particle
|
|
101
|
+
is an event happening now, a part travelling is a change at its real progress, a
|
|
102
|
+
pulse asks for a look, growth means still forming. All of it runs only while the
|
|
103
|
+
field is `is-live` ([glass.md](glass.md) § Motion).
|
|
104
|
+
|
|
98
105
|
A loop holds still under reduced motion: wrap its `animation` in
|
|
99
106
|
`@media (prefers-reduced-motion: no-preference)`. The Alis mark's own drawings
|
|
100
107
|
(its loader's order, a drawing that morphs) keep their own timing, the way a
|
|
@@ -119,6 +126,7 @@ needs nothing from the site.
|
|
|
119
126
|
| A list that changes | A row that arrives opens its space and is tinted for a moment; one that leaves folds away | `is-arriving` on a row that arrives while the list is open; `is-leaving`, then remove it once it has gone ([AppListRow](../components/AppListRow.md)) |
|
|
120
127
|
| The detail pane | Comes in from the right while the content narrows; slides over the content below 840, and on a phone, where it fills the screen, on the slow spring | Open it with `is-arriving` on the pane; to close, drop `app-shell--detail`, then remove the pane once it has gone ([AppShell](../components/AppShell.md)) |
|
|
121
128
|
| The phone's navigation pane | Comes in from the left on slow spatial | Nothing |
|
|
129
|
+
| The navigation pane, into a Glass view | Goes back over its leading edge as the content widens, and comes back the same way on leaving | `app-shell--glass` on the Glass view's page, changed to through § Changing page ([AppGlassView](../components/AppGlassView.md)) |
|
|
122
130
|
| Changing page | The content fades out, then in; forward it comes 24px from the end, back from the start | Run the route change in a view transition (below) |
|
|
123
131
|
|
|
124
132
|
`is-arriving` is for what arrives while someone is watching. Never on what a page
|
|
@@ -150,8 +158,10 @@ the move turns round from where it is.
|
|
|
150
158
|
## Changing page
|
|
151
159
|
|
|
152
160
|
The browser's view transitions do it. `.app-shell__content` is named
|
|
153
|
-
`app-content
|
|
154
|
-
bar included, changes in place
|
|
161
|
+
`app-content`, `.app-dock` is named `app-dock` and `.app-shell__nav` is named
|
|
162
|
+
`app-nav`; the rest of the shell, the title bar included, changes in place, and so
|
|
163
|
+
does the navigation pane, except into and out of a Glass view, where it goes over
|
|
164
|
+
its edge and back. Give no other element those names.
|
|
155
165
|
|
|
156
166
|
```js
|
|
157
167
|
// type: 'forward' going deeper (a list to one of its things), 'back' returning to
|
package/rules/page.md
CHANGED
|
@@ -116,6 +116,8 @@ or a video, a diagram, a document, a field expanded to edit at length.
|
|
|
116
116
|
("Collapse") leads instead of close, and what was typed stays.
|
|
117
117
|
- **A file Alis made** opens beside the conversation instead
|
|
118
118
|
([AppFilePane](../components/AppFilePane.md)), and expands from there.
|
|
119
|
+
- **A Glass view** takes the window too, but it is a screen you went into, at its
|
|
120
|
+
own address: back leads, not Close ([glass.md](glass.md) § It takes the window).
|
|
119
121
|
|
|
120
122
|
## Where back goes
|
|
121
123
|
|
|
@@ -432,7 +434,9 @@ Does this screen take the drafting field?
|
|
|
432
434
|
│ and invites a first step → yes
|
|
433
435
|
├─ An empty line in a list, drawer, form, table → no
|
|
434
436
|
├─ "No results match your filter" → no, that is work
|
|
435
|
-
|
|
437
|
+
├─ Anything on a card or in a dialog → no
|
|
438
|
+
└─ A Glass view → no: its field has its own
|
|
439
|
+
grid (glass.md)
|
|
436
440
|
```
|
|
437
441
|
|
|
438
442
|
It needs the whole pane, because its 72px cells are noise in a small block. One
|
package/rules/register.md
CHANGED
|
@@ -60,29 +60,15 @@ How much a screen explains is decided by what the person is looking at. The test
|
|
|
60
60
|
|
|
61
61
|
Glass is what you get when the casing of a running machine is made of glass: the
|
|
62
62
|
same thing, with what is happening inside it in sight. **A Glass view is a product
|
|
63
|
-
screen that shows the live inside of one thing of yours
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
- **
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
explainers. Its title is **Glass view** and back names the thing
|
|
73
|
-
([page.md](page.md) § Where back goes).
|
|
74
|
-
- **The way in is a text button, "Glass view"**, in the thing's title bar
|
|
75
|
-
([AppTitleBar](../components/AppTitleBar.md)); a list row whose thing has one may
|
|
76
|
-
carry it in the row's menu. Never "Explain", "Explain this …" or "Glass Mode".
|
|
77
|
-
- **The product register throughout**: the title bar, sections, tables and
|
|
78
|
-
states every screen has. No hero, no display type, no petrol band; it is a
|
|
79
|
-
working screen, and the person on it asked a question.
|
|
80
|
-
- **It explains your thing**, by the rule above: why each part is as it is and
|
|
81
|
-
what to do next, beside that part, built from its state. The person on it is
|
|
82
|
-
working, and this is the most useful explanation they can have. How the
|
|
83
|
-
platform works in general is a docs link ("How build environments work").
|
|
84
|
-
- **An agent sees what you see**: the same data, from the same service, through
|
|
85
|
-
the CLI ([terminal.md](terminal.md)).
|
|
63
|
+
screen that shows the live inside of one thing of yours**, a pane to read beside a
|
|
64
|
+
field to look at, reached by the Glass view button on the thing's own screen.
|
|
65
|
+
**Nothing running behind it, no Glass view.** Everything else about it, from the
|
|
66
|
+
way in to what may move, is [glass.md](glass.md).
|
|
67
|
+
|
|
68
|
+
- **Its pane may explain freely.** Sentences about a part on the field link to it;
|
|
69
|
+
explanation written for this view needs no part to point at and may say what the
|
|
70
|
+
docs also say ([glass.md](glass.md) § The pane). The rest of this section's test
|
|
71
|
+
holds on every other screen.
|
|
86
72
|
- **Smaller evidence stays in place**: the arithmetic behind one score, in a
|
|
87
73
|
dialog from the stat it explains, is part of that screen, not a Glass view.
|
|
88
74
|
|
package/rules/shortcuts.md
CHANGED
|
@@ -69,7 +69,7 @@ nothing here is left out, not dimmed.
|
|
|
69
69
|
| Keys | Does |
|
|
70
70
|
| --- | --- |
|
|
71
71
|
| ? | Opens or closes the sheet |
|
|
72
|
-
| Esc | Closes what is open (a menu, a dialog, the sheet). In a field it does the field's own job first (clears a search's query, closes a `/` or `@` band, cancels a rename), and otherwise leaves the field. One step at a time: an expanded file goes back beside the conversation before it closes. Inside a page's frame (AppFilePane) keys are the page's, so Esc doesn't reach the app; the pane's bar still works |
|
|
72
|
+
| Esc | Closes what is open (a menu, a dialog, the sheet). In a field it does the field's own job first (clears a search's query, closes a `/` or `@` band, cancels a rename), and otherwise leaves the field. One step at a time: an expanded file goes back beside the conversation before it closes, and a Glass view closes an open part before Esc leaves the view. Inside a page's frame (AppFilePane) keys are the page's, so Esc doesn't reach the app; the pane's bar still works |
|
|
73
73
|
| / | Puts you in the screen's search field |
|
|
74
74
|
| ⌘ K | Reserved for finding anything across the product ([known-gaps.md](known-gaps.md)); bind nothing to it |
|
|
75
75
|
|
package/rules/styling.md
CHANGED
|
@@ -22,6 +22,8 @@ the same split holds.
|
|
|
22
22
|
| A statement over a gradient | `.app-statement-over-gradient` ([surfaces.md](surfaces.md)) |
|
|
23
23
|
| The AI headline or code ground | `.app-ai-text`, `.app-ai-ground` ([colour.md](colour.md) § The AI identity) |
|
|
24
24
|
| A drop target while dragging over | `.drop-target` |
|
|
25
|
+
| Glass: a blur of what's behind (`backdrop-filter`) | A part on a Glass view's field, `.app-glass-part` ([glass.md](glass.md)). Nothing else is glass, so a site never sets `backdrop-filter` |
|
|
26
|
+
| A Glass view's layout, field and motion | `.app-glass` and its parts ([AppGlassView](../components/AppGlassView.md)); a site places the parts and draws the paths |
|
|
25
27
|
| Scrollbars | Nothing: one thin `outline-variant` treatment for the app |
|
|
26
28
|
|
|
27
29
|
Configure your framework's theme once from the tokens, so its components
|
package/rules/surfaces.md
CHANGED
|
@@ -81,14 +81,19 @@ Why is this above the page?
|
|
|
81
81
|
│ over the content
|
|
82
82
|
├─ It is being moved → elevation-3 while dragged, then it settles
|
|
83
83
|
└─ It sits on a busy background → elevation-2 instead of the edge: a card on the
|
|
84
|
-
drafting field
|
|
84
|
+
drafting field, a glass part on a Glass
|
|
85
|
+
view's field
|
|
85
86
|
```
|
|
86
87
|
|
|
87
88
|
**Hover never lifts.** A clickable card's hover is its state layer.
|
|
88
89
|
|
|
89
|
-
Transparency
|
|
90
|
-
on a dark
|
|
91
|
-
that fades the page out above a docked composer
|
|
90
|
+
Transparency appears in exactly six places: a floating nav pill, a translucent
|
|
91
|
+
panel on a dark band, a dialog backdrop, the statement over a gradient, the ground
|
|
92
|
+
that fades the page out above a docked composer, and the parts on a Glass view's
|
|
93
|
+
field ([glass.md](glass.md)), which are glass so the thing shows through them.
|
|
94
|
+
**Blur is the system's**: it draws it where it belongs, and a site never sets
|
|
95
|
+
`backdrop-filter` ([styling.md](styling.md)). Where a screen needs one the system
|
|
96
|
+
doesn't draw (a control over live video), mark it as a gap.
|
|
92
97
|
|
|
93
98
|
**What floats takes `surface-container-high`**: a menu, the composer, a dialog,
|
|
94
99
|
the detail pane when it slides over, a dragged card. In light it is white, the
|
package/rules/type.md
CHANGED
|
@@ -29,7 +29,7 @@ What is this text doing?
|
|
|
29
29
|
|
|
30
30
|
Default when unsure: **body**.
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Four more styles, each with one place:
|
|
33
33
|
|
|
34
34
|
- **`text-page-title` on a phone** is 22/28 at 500, no tracking (below 600px):
|
|
35
35
|
Material 3's Title Large Emphasized, the title of its 64 small app bar
|
|
@@ -50,6 +50,9 @@ Three more styles, each with one place:
|
|
|
50
50
|
headline metric. An ordinary stat in a tile or dialog is `text-page-title` with
|
|
51
51
|
tabular numerals. A stat value is never a heading, and the label over either is
|
|
52
52
|
`text-label`.
|
|
53
|
+
- **`text-reading`**, 20/28 at 400: the reading that leads a Glass view, one or
|
|
54
|
+
two sentences built from the state, its notable part at 600 ([glass.md](glass.md)).
|
|
55
|
+
Nowhere else.
|
|
53
56
|
|
|
54
57
|
## Body, supporting or meta
|
|
55
58
|
|
package/stylelint.mjs
CHANGED
|
@@ -90,6 +90,20 @@ export const refused = {
|
|
|
90
90
|
values: [literalDuration, literalCurve],
|
|
91
91
|
message: (property) => `Motion runs on the tokens: write ${property} with a spring (var(--spring-fast-effects) and its kin), a loop (var(--loop-pulse) and its kin) or a sequence of them (var(--stagger-step)), never a duration or a curve of your own (${guide}, rules/motion.md).`,
|
|
92
92
|
},
|
|
93
|
+
glass: {
|
|
94
|
+
// "Nothing else is glass": a blur of what's behind belongs to a part on a
|
|
95
|
+
// Glass view's field, drawn by .app-glass-part, so a site never sets one.
|
|
96
|
+
properties: '/^(?:-webkit-)?backdrop-filter$/',
|
|
97
|
+
values: [/^(?!\s*(?:none|initial|inherit|unset|revert)\s*$)/i],
|
|
98
|
+
message: `Glass is the system's: a part on a Glass view's field takes .app-glass-part, and nothing else blurs what's behind it (${guide}, rules/glass.md).`,
|
|
99
|
+
},
|
|
100
|
+
glassMotion: {
|
|
101
|
+
// A Glass view's motion means something is live, and the system runs it
|
|
102
|
+
// only on a live field: a site never runs those keyframes on its own.
|
|
103
|
+
properties: '/^animation(?:-name)?$/',
|
|
104
|
+
values: [/\bapp-glass-[\w-]+/],
|
|
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
|
+
},
|
|
93
107
|
spacing: {
|
|
94
108
|
properties: '/^(?:(?:margin|padding|scroll-margin|scroll-padding)(?:-|$)|(?:grid-)?(?:row-|column-)?gap$)/',
|
|
95
109
|
values: [literalLength, unknownSpace],
|
package/themes.json
CHANGED
|
@@ -32,6 +32,9 @@
|
|
|
32
32
|
"paper": "#ffffff",
|
|
33
33
|
"scrim": "#000000",
|
|
34
34
|
"shadow-key": "rgba(16, 24, 40, 0.16)",
|
|
35
|
+
"glass-rim": "rgba(255, 255, 255, 0.8)",
|
|
36
|
+
"glass-edge": "rgba(16, 24, 40, 0.08)",
|
|
37
|
+
"glass-grid": "rgba(16, 24, 40, 0.07)",
|
|
35
38
|
"shadow-ambient": "rgba(16, 24, 40, 0.2)",
|
|
36
39
|
"highlight": "#fdecc8",
|
|
37
40
|
"on-highlight": "#27323a",
|
|
@@ -106,6 +109,9 @@
|
|
|
106
109
|
"paper": "#ffffff",
|
|
107
110
|
"scrim": "#000000",
|
|
108
111
|
"shadow-key": "rgba(0, 0, 0, 0.4)",
|
|
112
|
+
"glass-rim": "rgba(255, 255, 255, 0.16)",
|
|
113
|
+
"glass-edge": "rgba(255, 255, 255, 0.08)",
|
|
114
|
+
"glass-grid": "rgba(255, 255, 255, 0.06)",
|
|
109
115
|
"shadow-ambient": "rgba(0, 0, 0, 0.45)",
|
|
110
116
|
"highlight": "#5b4614",
|
|
111
117
|
"on-highlight": "#fdecc8",
|
package/tokens.css
CHANGED
|
@@ -70,6 +70,9 @@
|
|
|
70
70
|
--paper: var(--paper-0);
|
|
71
71
|
--scrim: #000000;
|
|
72
72
|
--shadow-key: light-dark(rgba(16, 24, 40, 0.16), rgba(0, 0, 0, 0.4));
|
|
73
|
+
--glass-rim: light-dark(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.16));
|
|
74
|
+
--glass-edge: light-dark(rgba(16, 24, 40, 0.08), rgba(255, 255, 255, 0.08));
|
|
75
|
+
--glass-grid: light-dark(rgba(16, 24, 40, 0.07), rgba(255, 255, 255, 0.06));
|
|
73
76
|
--shadow-ambient: light-dark(rgba(16, 24, 40, 0.2), rgba(0, 0, 0, 0.45));
|
|
74
77
|
--highlight: light-dark(#fdecc8, #5b4614);
|
|
75
78
|
--on-highlight: light-dark(var(--petrol-800), #fdecc8);
|
|
@@ -177,6 +180,8 @@
|
|
|
177
180
|
--loop-dots: 1.2s ease-in-out infinite;
|
|
178
181
|
--loop-pulse: 1.6s ease-in-out infinite;
|
|
179
182
|
--loop-breathe: 3.2s ease-in-out infinite alternate;
|
|
183
|
+
--loop-orbit: 3.2s linear infinite;
|
|
184
|
+
--loop-flow: 4s linear infinite;
|
|
180
185
|
--loop-blink: 1.1s steps(1) infinite;
|
|
181
186
|
--state-hover: 0.04;
|
|
182
187
|
--state-focus: 0.04;
|
|
@@ -257,6 +262,9 @@
|
|
|
257
262
|
--machine-surface: var(--petrol-800);
|
|
258
263
|
--on-machine-surface: var(--paper-100);
|
|
259
264
|
--shadow-key: rgba(16, 24, 40, 0.16);
|
|
265
|
+
--glass-rim: rgba(255, 255, 255, 0.8);
|
|
266
|
+
--glass-edge: rgba(16, 24, 40, 0.08);
|
|
267
|
+
--glass-grid: rgba(16, 24, 40, 0.07);
|
|
260
268
|
--shadow-ambient: rgba(16, 24, 40, 0.2);
|
|
261
269
|
--highlight: #fdecc8;
|
|
262
270
|
--on-highlight: var(--petrol-800);
|
|
@@ -317,6 +325,9 @@
|
|
|
317
325
|
--machine-surface: #0f1418;
|
|
318
326
|
--on-machine-surface: var(--mist-100);
|
|
319
327
|
--shadow-key: rgba(0, 0, 0, 0.4);
|
|
328
|
+
--glass-rim: rgba(255, 255, 255, 0.16);
|
|
329
|
+
--glass-edge: rgba(255, 255, 255, 0.08);
|
|
330
|
+
--glass-grid: rgba(255, 255, 255, 0.06);
|
|
320
331
|
--shadow-ambient: rgba(0, 0, 0, 0.45);
|
|
321
332
|
--highlight: #5b4614;
|
|
322
333
|
--on-highlight: #fdecc8;
|