anentrypoint-design 0.0.122 → 0.0.125
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 +253 -253
- package/app-shell.css +977 -594
- package/colors_and_type.css +226 -226
- package/community.css +933 -2255
- package/dist/247420.css +2322 -3075
- package/dist/247420.js +14 -14
- package/package.json +80 -80
- package/src/bootstrap.js +25 -25
- package/src/components/chat.js +199 -199
- package/src/components/community.js +190 -208
- package/src/components/content.js +269 -269
- package/src/components/editor-primitives.js +100 -0
- package/src/components/files-modals.js +107 -107
- package/src/components/files.js +118 -118
- package/src/components/freddie/helpers.js +50 -50
- package/src/components/freddie.js +33 -33
- package/src/components/shell.js +117 -117
- package/src/components/theme-toggle.js +70 -70
- package/src/components.js +59 -67
- package/src/debug.js +30 -30
- package/src/deck-stage.js +21 -21
- package/src/highlight.js +65 -32
- package/src/index.js +86 -86
- package/src/kits/os/about-app.js +52 -52
- package/src/kits/os/app-panes.css +152 -152
- package/src/kits/os/browser-app.js +58 -58
- package/src/kits/os/files-app.js +44 -44
- package/src/kits/os/freddie/helpers.js +59 -59
- package/src/kits/os/freddie/pages-chat.js +143 -143
- package/src/kits/os/freddie/pages-core.js +101 -101
- package/src/kits/os/freddie/pages-os.js +51 -51
- package/src/kits/os/freddie/pages-tools.js +183 -183
- package/src/kits/os/freddie/routes.js +24 -24
- package/src/kits/os/freddie-dashboard.css +51 -51
- package/src/kits/os/freddie-dashboard.js +101 -101
- package/src/kits/os/icons.js +17 -17
- package/src/kits/os/index.js +17 -17
- package/src/kits/os/launcher.css +61 -61
- package/src/kits/os/launcher.js +79 -79
- package/src/kits/os/monitor-app.js +34 -34
- package/src/kits/os/shell.js +214 -214
- package/src/kits/os/terminal-app.js +45 -45
- package/src/kits/os/theme.css +450 -450
- package/src/kits/os/validate.css +19 -19
- package/src/kits/os/validator-app.js +55 -55
- package/src/kits/os/wm.css +115 -115
- package/src/kits/os/wm.js +111 -111
- package/src/markdown.js +39 -39
- package/src/motion.js +35 -35
- package/src/page-html.js +196 -196
- package/src/styles.js +25 -25
- package/src/theme.js +99 -99
- package/src/web-components/ds-chat.js +116 -116
- package/dist/.nojekyll +0 -0
- package/dist/app-shell.css +0 -594
- package/dist/colors_and_type.css +0 -197
- package/dist/favicon.svg +0 -1
- package/dist/index.html +0 -308
- package/dist/preview/buttons.html +0 -28
- package/dist/preview/colors-core.html +0 -45
- package/dist/preview/colors-lore.html +0 -28
- package/dist/preview/colors-semantic.html +0 -34
- package/dist/preview/dateline.html +0 -19
- package/dist/preview/dropzone.html +0 -30
- package/dist/preview/file-grid.html +0 -19
- package/dist/preview/file-row.html +0 -20
- package/dist/preview/file-toolbar.html +0 -40
- package/dist/preview/file-viewer.html +0 -31
- package/dist/preview/header.html +0 -24
- package/dist/preview/icons-unicode.html +0 -26
- package/dist/preview/index-row.html +0 -25
- package/dist/preview/inputs.html +0 -22
- package/dist/preview/manifesto.html +0 -52
- package/dist/preview/motion-default.js +0 -106
- package/dist/preview/rules.html +0 -16
- package/dist/preview/spacing.html +0 -18
- package/dist/preview/stamps-lore.html +0 -20
- package/dist/preview/stamps.html +0 -14
- package/dist/preview/theme-ink.html +0 -15
- package/dist/preview/type-display.html +0 -16
- package/dist/preview/type-mono.html +0 -15
- package/dist/preview/type-prose.html +0 -11
- package/dist/preview/type-scale.html +0 -20
- package/dist/preview/wordmarks.html +0 -28
- package/dist/robots.txt +0 -8
- package/dist/site/content/globals/navigation.yaml +0 -5
- package/dist/site/content/globals/site.yaml +0 -16
- package/dist/site/content/pages/freddie.yaml +0 -88
- package/dist/site/content/pages/home.yaml +0 -190
- package/dist/site/theme.mjs +0 -368
- package/dist/sitemap.xml +0 -31
- package/dist/slides/deck-stage-overlay.js +0 -63
- package/dist/slides/deck-stage-state.js +0 -81
- package/dist/slides/deck-stage-style.js +0 -117
- package/dist/slides/deck-stage.js +0 -159
- package/dist/slides/index.html +0 -276
- package/dist/src/bootstrap.js +0 -25
- package/dist/src/components/chat.js +0 -199
- package/dist/src/components/community.js +0 -167
- package/dist/src/components/content.js +0 -213
- package/dist/src/components/files-modals.js +0 -107
- package/dist/src/components/files.js +0 -118
- package/dist/src/components/freddie/helpers.js +0 -50
- package/dist/src/components/freddie.js +0 -33
- package/dist/src/components/shell.js +0 -117
- package/dist/src/components/theme-toggle.js +0 -70
- package/dist/src/components.js +0 -52
- package/dist/src/debug.js +0 -30
- package/dist/src/deck-stage.js +0 -21
- package/dist/src/highlight.js +0 -32
- package/dist/src/index.js +0 -86
- package/dist/src/kits/os/about-app.js +0 -52
- package/dist/src/kits/os/app-panes.css +0 -152
- package/dist/src/kits/os/browser-app.js +0 -58
- package/dist/src/kits/os/files-app.js +0 -44
- package/dist/src/kits/os/freddie/helpers.js +0 -59
- package/dist/src/kits/os/freddie/pages-chat.js +0 -143
- package/dist/src/kits/os/freddie/pages-core.js +0 -101
- package/dist/src/kits/os/freddie/pages-os.js +0 -51
- package/dist/src/kits/os/freddie/pages-tools.js +0 -183
- package/dist/src/kits/os/freddie/routes.js +0 -24
- package/dist/src/kits/os/freddie-dashboard.css +0 -51
- package/dist/src/kits/os/freddie-dashboard.js +0 -101
- package/dist/src/kits/os/icons.js +0 -17
- package/dist/src/kits/os/index.js +0 -5
- package/dist/src/kits/os/launcher.css +0 -61
- package/dist/src/kits/os/launcher.js +0 -79
- package/dist/src/kits/os/monitor-app.js +0 -34
- package/dist/src/kits/os/shell.js +0 -214
- package/dist/src/kits/os/terminal-app.js +0 -45
- package/dist/src/kits/os/theme.css +0 -412
- package/dist/src/kits/os/validate.css +0 -19
- package/dist/src/kits/os/validator-app.js +0 -55
- package/dist/src/kits/os/wm.css +0 -115
- package/dist/src/kits/os/wm.js +0 -111
- package/dist/src/markdown.js +0 -39
- package/dist/src/motion.js +0 -35
- package/dist/src/page-html.js +0 -196
- package/dist/src/styles.js +0 -25
- package/dist/src/theme.js +0 -99
- package/dist/src/web-components/ds-chat.js +0 -45
- package/dist/ui_kits/aicat/README.md +0 -7
- package/dist/ui_kits/aicat/app.js +0 -156
- package/dist/ui_kits/aicat/index.html +0 -26
- package/dist/ui_kits/aicat/sample-square.png +0 -0
- package/dist/ui_kits/aicat/sample-svg.svg +0 -1
- package/dist/ui_kits/aicat/sample.pdf +0 -32
- package/dist/ui_kits/blog/README.md +0 -3
- package/dist/ui_kits/blog/index.html +0 -90
- package/dist/ui_kits/chat/README.md +0 -5
- package/dist/ui_kits/chat/app.js +0 -110
- package/dist/ui_kits/chat/index.html +0 -26
- package/dist/ui_kits/chat/sample-square.png +0 -0
- package/dist/ui_kits/chat/sample-svg.svg +0 -1
- package/dist/ui_kits/chat/sample.pdf +0 -32
- package/dist/ui_kits/community/app.js +0 -134
- package/dist/ui_kits/community/index.html +0 -24
- package/dist/ui_kits/dashboard/app.js +0 -92
- package/dist/ui_kits/dashboard/index.html +0 -26
- package/dist/ui_kits/docs/README.md +0 -3
- package/dist/ui_kits/docs/index.html +0 -123
- package/dist/ui_kits/error_404/app.js +0 -56
- package/dist/ui_kits/error_404/index.html +0 -26
- package/dist/ui_kits/file_browser/README.md +0 -48
- package/dist/ui_kits/file_browser/app.js +0 -231
- package/dist/ui_kits/file_browser/index.html +0 -33
- package/dist/ui_kits/gallery/app.js +0 -121
- package/dist/ui_kits/gallery/index.html +0 -26
- package/dist/ui_kits/homepage/README.md +0 -7
- package/dist/ui_kits/homepage/app.js +0 -167
- package/dist/ui_kits/homepage/index.html +0 -46
- package/dist/ui_kits/project_page/README.md +0 -3
- package/dist/ui_kits/project_page/app.js +0 -154
- package/dist/ui_kits/project_page/index.html +0 -45
- package/dist/ui_kits/search/app.js +0 -107
- package/dist/ui_kits/search/index.html +0 -26
- package/dist/ui_kits/settings/app.js +0 -133
- package/dist/ui_kits/settings/index.html +0 -26
- package/dist/ui_kits/signin/app.js +0 -115
- package/dist/ui_kits/signin/index.html +0 -26
- package/dist/ui_kits/slide_deck/app.js +0 -174
- package/dist/ui_kits/slide_deck/index.html +0 -26
- package/dist/ui_kits/system_primer/app.js +0 -152
- package/dist/ui_kits/system_primer/index.html +0 -26
- package/dist/ui_kits/terminal/app.js +0 -150
- package/dist/ui_kits/terminal/index.html +0 -26
- package/dist/vendor/webjsx/applyDiff.js +0 -182
- package/dist/vendor/webjsx/attributes.js +0 -154
- package/dist/vendor/webjsx/constants.js +0 -4
- package/dist/vendor/webjsx/createDOMElement.js +0 -52
- package/dist/vendor/webjsx/createElement.js +0 -75
- package/dist/vendor/webjsx/elementTags.js +0 -115
- package/dist/vendor/webjsx/factory.js +0 -6
- package/dist/vendor/webjsx/index.js +0 -6
- package/dist/vendor/webjsx/jsx-dev-runtime.js +0 -2
- package/dist/vendor/webjsx/jsx-runtime.js +0 -30
- package/dist/vendor/webjsx/jsx.js +0 -2
- package/dist/vendor/webjsx/package.json +0 -39
- package/dist/vendor/webjsx/renderSuspension.js +0 -25
- package/dist/vendor/webjsx/types.js +0 -5
- package/dist/vendor/webjsx/utils.js +0 -84
- package/src/components/overlays.js +0 -151
- package/src/components/surfaces.js +0 -399
- package/src/components/voice.js +0 -132
package/app-shell.css
CHANGED
|
@@ -1,594 +1,977 @@
|
|
|
1
|
-
/* ============================================================
|
|
2
|
-
247420 design system — component sheet
|
|
3
|
-
Tonal surfaces over borders. Indicator rails over hairlines.
|
|
4
|
-
Friendly rounded sans body; mono only on real code.
|
|
5
|
-
============================================================ */
|
|
6
|
-
|
|
7
|
-
/* ============================================================
|
|
8
|
-
Base
|
|
9
|
-
============================================================ */
|
|
10
|
-
* { box-sizing: border-box; }
|
|
11
|
-
html, body { margin: 0; padding: 0; }
|
|
12
|
-
body {
|
|
13
|
-
background: var(--bg);
|
|
14
|
-
color: var(--fg);
|
|
15
|
-
font-family: var(--ff-body);
|
|
16
|
-
font-size: var(--fs-body);
|
|
17
|
-
line-height: var(--lh-base);
|
|
18
|
-
-webkit-font-smoothing: antialiased;
|
|
19
|
-
text-rendering: optimizeLegibility;
|
|
20
|
-
}
|
|
21
|
-
::selection { background: var(--mascot); color: var(--ink); }
|
|
22
|
-
|
|
23
|
-
/* Every root has a CQ container so fluid type can resolve to a meaningful inline-size. */
|
|
24
|
-
.app, [class*="kit-"], .ds-stage {
|
|
25
|
-
container-type: inline-size;
|
|
26
|
-
overflow-x: clip;
|
|
27
|
-
min-width: 0;
|
|
28
|
-
}
|
|
29
|
-
.app *, [class*="kit-"] * { min-width: 0; }
|
|
30
|
-
|
|
31
|
-
/* ============================================================
|
|
32
|
-
Typography
|
|
33
|
-
============================================================ */
|
|
34
|
-
h1, .t-h1 { font-family: var(--ff-body); font-size: var(--fs-h1); line-height: var(--lh-snug); letter-spacing: var(--tr-tight); font-weight: 600; margin: 0; }
|
|
35
|
-
h2, .t-h2 { font-family: var(--ff-body); font-size: var(--fs-h2); line-height: var(--lh-snug); letter-spacing: var(--tr-tight); font-weight: 600; margin: 0; }
|
|
36
|
-
h3, .t-h3 { font-family: var(--ff-body); font-size: var(--fs-h3); line-height: var(--lh-snug); letter-spacing: -0.01em; font-weight: 600; margin: 0; }
|
|
37
|
-
h4, .t-h4 { font-family: var(--ff-body); font-size: var(--fs-h4); line-height: var(--lh-snug); font-weight: 600; margin: 0; }
|
|
38
|
-
|
|
39
|
-
.t-hero { font-family: var(--ff-body); font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: var(--tr-tighter); font-weight: 600; margin: 0; }
|
|
40
|
-
.t-mega { font-family: var(--ff-body); font-size: var(--fs-mega); line-height: 0.95; letter-spacing: var(--tr-tighter); font-weight: 600; margin: 0; }
|
|
41
|
-
|
|
42
|
-
.t-display { font-family: var(--ff-body); font-weight: 600; letter-spacing: var(--tr-tight); }
|
|
43
|
-
.t-mono { font-family: var(--ff-mono); }
|
|
44
|
-
.t-body { font-family: var(--ff-body); }
|
|
45
|
-
|
|
46
|
-
.t-label { font-family: var(--ff-mono); font-size: var(--fs-tiny); text-transform: uppercase; letter-spacing: var(--tr-label); font-weight: 500; }
|
|
47
|
-
.t-micro { font-family: var(--ff-mono); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--fg-3); }
|
|
48
|
-
.t-meta { font-family: var(--ff-body); font-size: var(--fs-sm); color: var(--fg-3); }
|
|
49
|
-
|
|
50
|
-
.lede, .t-lede {
|
|
51
|
-
font-family: var(--ff-body); font-size: var(--fs-xl);
|
|
52
|
-
line-height: 1.4; max-width: 38ch; font-weight: 400; color: var(--fg-2);
|
|
53
|
-
margin: 0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.eyebrow {
|
|
57
|
-
font-family: var(--ff-body);
|
|
58
|
-
font-size: var(--fs-tiny);
|
|
59
|
-
font-weight: 600;
|
|
60
|
-
letter-spacing: var(--tr-caps);
|
|
61
|
-
text-transform: uppercase;
|
|
62
|
-
color: var(--accent);
|
|
63
|
-
display: inline-flex; align-items: center; gap: 10px;
|
|
64
|
-
}
|
|
65
|
-
.eyebrow::before {
|
|
66
|
-
content: '';
|
|
67
|
-
width: 18px; height: 2px; background: currentColor;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.ds-prose {
|
|
71
|
-
font-family: var(--ff-body);
|
|
72
|
-
font-size: var(--fs-lg);
|
|
73
|
-
line-height: var(--lh-long);
|
|
74
|
-
max-width: var(--measure);
|
|
75
|
-
text-wrap: pretty;
|
|
76
|
-
}
|
|
77
|
-
.ds-prose p { margin: 0 0 var(--space-4); }
|
|
78
|
-
.ds-prose h1 { font-size: clamp(34px, 5.4cqi, 64px); margin-bottom: var(--space-3); }
|
|
79
|
-
.ds-prose h2 { margin: var(--space-6) 0 var(--space-3); }
|
|
80
|
-
.ds-prose h3 { margin: var(--space-5) 0 var(--space-2); font-size: var(--fs-lg); font-weight: 600; }
|
|
81
|
-
|
|
82
|
-
.dim { color: var(--fg-3); }
|
|
83
|
-
|
|
84
|
-
/* Links */
|
|
85
|
-
a { color: inherit; text-decoration: none; }
|
|
86
|
-
a.ds-link-accent, .ds-prose a {
|
|
87
|
-
color: var(--accent);
|
|
88
|
-
text-decoration: underline;
|
|
89
|
-
text-underline-offset: 4px;
|
|
90
|
-
text-decoration-thickness: 2px;
|
|
91
|
-
}
|
|
92
|
-
a.ds-link-accent:hover, .ds-prose a:hover {
|
|
93
|
-
background: var(--accent); color: var(--accent-fg); text-decoration-color: transparent;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
kbd {
|
|
97
|
-
font-family: var(--ff-mono); font-size: 0.85em;
|
|
98
|
-
background: var(--bg-2); padding: 2px 6px; border-radius: var(--r-1);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
code {
|
|
102
|
-
font-family: var(--ff-mono); font-size: 0.92em;
|
|
103
|
-
background: var(--bg-2); padding: 0.15em 0.5em; border-radius: var(--r-1);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
pre {
|
|
107
|
-
font-family: var(--ff-mono);
|
|
108
|
-
background: var(--ink);
|
|
109
|
-
color: var(--paper);
|
|
110
|
-
padding: var(--space-5);
|
|
111
|
-
overflow-x: auto;
|
|
112
|
-
line-height: 1.55;
|
|
113
|
-
font-size: var(--fs-sm);
|
|
114
|
-
margin: 0;
|
|
115
|
-
border-radius: var(--r-3);
|
|
116
|
-
}
|
|
117
|
-
pre .k { color: var(--mascot); }
|
|
118
|
-
pre .s { color: var(--sun); }
|
|
119
|
-
pre .c { color: #9A9AA2; }
|
|
120
|
-
pre .n { color: var(--green-2); }
|
|
121
|
-
|
|
122
|
-
/* ============================================================
|
|
123
|
-
AppShell — page frame. The topbar floats above a soft background;
|
|
124
|
-
the body sits inside a rounded inner shell for a friendlier feel.
|
|
125
|
-
============================================================ */
|
|
126
|
-
.app {
|
|
127
|
-
display: flex; flex-direction: column;
|
|
128
|
-
min-height: 100vh;
|
|
129
|
-
background: var(--bg);
|
|
130
|
-
color: var(--fg);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.app-topbar {
|
|
134
|
-
position: sticky; top: 0; z-index: var(--z-header);
|
|
135
|
-
display: grid; grid-template-columns: auto 1fr auto;
|
|
136
|
-
align-items: center; gap: var(--space-4);
|
|
137
|
-
padding: 18px var(--pad-x);
|
|
138
|
-
background: color-mix(in oklab, var(--bg) 88%, transparent);
|
|
139
|
-
backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
|
|
140
|
-
}
|
|
141
|
-
.app-topbar nav { display: flex; gap: 4px; font-size: var(--fs-sm); }
|
|
142
|
-
.app-topbar nav a {
|
|
143
|
-
color: var(--fg-2);
|
|
144
|
-
padding: 8px 14px;
|
|
145
|
-
border-radius: var(--r-pill);
|
|
146
|
-
transition: background var(--dur-snap) var(--ease), color var(--dur-snap) var(--ease);
|
|
147
|
-
}
|
|
148
|
-
.app-topbar nav a:hover { background: var(--bg-2); color: var(--fg); }
|
|
149
|
-
.app-topbar nav a.active {
|
|
150
|
-
color: var(--accent-fg);
|
|
151
|
-
background: var(--accent);
|
|
152
|
-
font-weight: 600;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.brand {
|
|
156
|
-
font-family: var(--ff-body);
|
|
157
|
-
font-weight: 700; font-size: var(--fs-sm);
|
|
158
|
-
letter-spacing: -0.01em;
|
|
159
|
-
}
|
|
160
|
-
.brand .slash { color: var(--fg-3); font-weight: 400; margin: 0 2px; }
|
|
161
|
-
|
|
162
|
-
.app-search {
|
|
163
|
-
display: inline-flex; align-items: center; gap: 10px;
|
|
164
|
-
padding: 9px 16px; background: var(--bg-2);
|
|
165
|
-
border-radius: var(--r-pill);
|
|
166
|
-
font-size: var(--fs-sm); color: var(--fg-3);
|
|
167
|
-
max-width: 360px;
|
|
168
|
-
}
|
|
169
|
-
.app-search .icon { opacity: 0.6; }
|
|
170
|
-
.app-search input {
|
|
171
|
-
border: 0; outline: 0; background: transparent;
|
|
172
|
-
font-family: inherit; font-size: inherit; color: var(--fg);
|
|
173
|
-
width: 100%;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.app-crumb {
|
|
177
|
-
padding: 0 var(--pad-x) 14px;
|
|
178
|
-
display: flex; align-items: center; gap: 8px;
|
|
179
|
-
font-size: var(--fs-sm); color: var(--fg-3);
|
|
180
|
-
}
|
|
181
|
-
.app-crumb .sep { opacity: 0.5; }
|
|
182
|
-
.app-crumb .leaf { color: var(--fg); font-weight: 600; }
|
|
183
|
-
.app-crumb .crumb-right { margin-left: auto; color: var(--fg-3); }
|
|
184
|
-
|
|
185
|
-
.app-side-shell { background: var(--bg); }
|
|
186
|
-
.app-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); flex: 1; min-height: 0; }
|
|
187
|
-
.app-body.no-side { grid-template-columns: minmax(0, 1fr); }
|
|
188
|
-
|
|
189
|
-
.app-side {
|
|
190
|
-
display: flex; flex-direction: column; gap: var(--space-4);
|
|
191
|
-
padding: var(--space-5) var(--space-3);
|
|
192
|
-
font-size: var(--fs-sm);
|
|
193
|
-
}
|
|
194
|
-
.app-side .group {
|
|
195
|
-
font-size: var(--fs-xs); font-weight: 600;
|
|
196
|
-
color: var(--fg-3); padding: 0 var(--space-3);
|
|
197
|
-
margin-bottom: 6px;
|
|
198
|
-
}
|
|
199
|
-
.app-side a {
|
|
200
|
-
display: grid; grid-template-columns: 18px 1fr auto;
|
|
201
|
-
gap: 10px; align-items: center;
|
|
202
|
-
padding: 10px 14px;
|
|
203
|
-
border-radius: var(--r-pill);
|
|
204
|
-
color: var(--fg-2);
|
|
205
|
-
margin-bottom: 2px;
|
|
206
|
-
}
|
|
207
|
-
.app-side a:hover { background: var(--bg-2); color: var(--fg); }
|
|
208
|
-
.app-side a.active {
|
|
209
|
-
color: var(--accent-fg);
|
|
210
|
-
background: var(--accent);
|
|
211
|
-
font-weight: 600;
|
|
212
|
-
}
|
|
213
|
-
.app-side .count {
|
|
214
|
-
background: var(--mascot); color: var(--ink);
|
|
215
|
-
padding: 1px 9px; font-size: var(--fs-micro); font-weight: 700;
|
|
216
|
-
border-radius: var(--r-pill);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.app-main {
|
|
220
|
-
padding: var(--space-7) var(--pad-x);
|
|
221
|
-
min-width: 0;
|
|
222
|
-
}
|
|
223
|
-
.app-main.narrow { max-width: 760px; margin: 0 auto; }
|
|
224
|
-
|
|
225
|
-
.app-status {
|
|
226
|
-
display: flex; align-items: center; gap: var(--space-3);
|
|
227
|
-
padding: 14px var(--pad-x);
|
|
228
|
-
font-family: var(--ff-mono); font-size: var(--fs-xs);
|
|
229
|
-
color: var(--fg-3);
|
|
230
|
-
}
|
|
231
|
-
.app-status .item { color: inherit; }
|
|
232
|
-
.app-status .item:first-of-type { color: var(--accent); }
|
|
233
|
-
.app-status .spread { flex: 1; }
|
|
234
|
-
|
|
235
|
-
/* ============================================================
|
|
236
|
-
Primitives
|
|
237
|
-
============================================================ */
|
|
238
|
-
.btn, .btn-primary, .btn-ghost {
|
|
239
|
-
display: inline-flex; align-items: center; gap: 8px;
|
|
240
|
-
padding: 13px 22px;
|
|
241
|
-
font-family: var(--ff-body);
|
|
242
|
-
font-weight: 600; font-size: var(--fs-sm);
|
|
243
|
-
text-decoration: none;
|
|
244
|
-
cursor: pointer;
|
|
245
|
-
border-radius: var(--r-pill);
|
|
246
|
-
border: 0;
|
|
247
|
-
transition: transform var(--dur-snap) var(--ease), background var(--dur-snap) var(--ease), color var(--dur-snap) var(--ease);
|
|
248
|
-
}
|
|
249
|
-
.btn { background: var(--bg-2); color: var(--fg); }
|
|
250
|
-
.btn:hover { background: var(--bg-3); color: var(--fg); }
|
|
251
|
-
.btn-primary { background: var(--accent); color: var(--accent-fg); }
|
|
252
|
-
.btn-primary:hover { background: var(--fg); color: var(--bg); }
|
|
253
|
-
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
|
|
254
|
-
.btn-ghost:hover { background: var(--bg-2); }
|
|
255
|
-
.btn:active, .btn-primary:active, .btn-ghost:active { transform: translateY(1px); }
|
|
256
|
-
|
|
257
|
-
.chip {
|
|
258
|
-
display: inline-flex; align-items: center; gap: 6px;
|
|
259
|
-
padding: 3px 10px;
|
|
260
|
-
background: var(--bg-2); color: var(--fg-2);
|
|
261
|
-
font-family: var(--ff-body);
|
|
262
|
-
font-size: var(--fs-tiny); font-weight: 600;
|
|
263
|
-
letter-spacing: var(--tr-caps); text-transform: uppercase;
|
|
264
|
-
border-radius: var(--r-pill);
|
|
265
|
-
}
|
|
266
|
-
.chip.tone-green { background: var(--green-tint); color: var(--green-deep); }
|
|
267
|
-
.chip.tone-purple { background: var(--purple-tint); color: var(--purple-deep); }
|
|
268
|
-
.chip.tone-mascot { background: var(--mascot-tint); color: var(--ink); }
|
|
269
|
-
.chip.tone-sun { background: var(--sun); color: var(--ink); }
|
|
270
|
-
.chip.tone-flame { background: var(--flame); color: var(--paper); }
|
|
271
|
-
.chip.tone-live { background: var(--green-tint); color: var(--green-deep); }
|
|
272
|
-
.chip.tone-wip { background: var(--bg-3); color: var(--fg-2); }
|
|
273
|
-
|
|
274
|
-
.glyph {
|
|
275
|
-
display: inline-flex; align-items: center; justify-content: center;
|
|
276
|
-
width: 18px; height: 18px;
|
|
277
|
-
font-family: var(--ff-mono); font-size: 13px;
|
|
278
|
-
opacity: 0.8;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/* ============================================================
|
|
282
|
-
Panel — soft tonal container, no border decoration
|
|
283
|
-
============================================================ */
|
|
284
|
-
.panel {
|
|
285
|
-
background: var(--bg);
|
|
286
|
-
border-radius: var(--r-3);
|
|
287
|
-
margin: 0 0 var(--space-5);
|
|
288
|
-
position: relative;
|
|
289
|
-
}
|
|
290
|
-
.panel.panel-inline { background: var(--bg-2); padding: var(--space-3) var(--space-3); }
|
|
291
|
-
.panel.panel-wide { background: transparent; }
|
|
292
|
-
.panel-head {
|
|
293
|
-
display: flex; align-items: baseline; justify-content: space-between;
|
|
294
|
-
padding: var(--space-4) var(--space-5) var(--space-3);
|
|
295
|
-
font-size: var(--fs-xs); font-weight: 600;
|
|
296
|
-
color: var(--fg-3);
|
|
297
|
-
letter-spacing: var(--tr-caps); text-transform: uppercase;
|
|
298
|
-
}
|
|
299
|
-
.panel-head > :last-child {
|
|
300
|
-
font-weight: 500; color: var(--fg-3);
|
|
301
|
-
font-family: var(--ff-mono); letter-spacing: 0;
|
|
302
|
-
}
|
|
303
|
-
.panel-body { padding: var(--space-2) var(--space-3) var(--space-3); }
|
|
304
|
-
.panel.panel-wide .panel-body { padding: 0; }
|
|
305
|
-
|
|
306
|
-
/* ============================================================
|
|
307
|
-
Row — primary list pattern. Indicator rail on the left,
|
|
308
|
-
no hairlines between rows.
|
|
309
|
-
============================================================ */
|
|
310
|
-
.row {
|
|
311
|
-
display: grid;
|
|
312
|
-
grid-template-columns: minmax(80px, 12ch) minmax(0, 1fr) auto;
|
|
313
|
-
gap: var(--space-3);
|
|
314
|
-
align-items: baseline;
|
|
315
|
-
padding: 18px 22px;
|
|
316
|
-
background: var(--bg);
|
|
317
|
-
border-radius: var(--r-2);
|
|
318
|
-
color: var(--fg);
|
|
319
|
-
position: relative;
|
|
320
|
-
transition: background var(--dur-snap) var(--ease), padding var(--dur-base) var(--ease);
|
|
321
|
-
}
|
|
322
|
-
.row + .row { margin-top: 4px; }
|
|
323
|
-
.row::before {
|
|
324
|
-
content: '';
|
|
325
|
-
position: absolute; left: 6px; top: 22%; bottom: 22%; width: 3px;
|
|
326
|
-
background: transparent; border-radius: 3px;
|
|
327
|
-
transition: background var(--dur-snap) var(--ease);
|
|
328
|
-
}
|
|
329
|
-
.row:hover { background: var(--bg-2); }
|
|
330
|
-
.row:hover::before { background: var(--rule-strong); }
|
|
331
|
-
.row.active { background: color-mix(in oklab, var(--accent) 10%, var(--bg-2)); }
|
|
332
|
-
.row.active::before { background: var(--accent); }
|
|
333
|
-
.row-grid { /* explicit grid-template-columns set inline */ }
|
|
334
|
-
|
|
335
|
-
.row .code { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3); }
|
|
336
|
-
.row .title { font-family: var(--ff-body); font-weight: 600; font-size: var(--fs-lg); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
|
|
337
|
-
.row .sub { font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-sm); color: var(--fg-3); }
|
|
338
|
-
.row .meta { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3); text-align: right; }
|
|
339
|
-
|
|
340
|
-
a.row { text-decoration: none; }
|
|
341
|
-
|
|
342
|
-
/* ============================================================
|
|
343
|
-
Hero
|
|
344
|
-
============================================================ */
|
|
345
|
-
.ds-hero {
|
|
346
|
-
padding: var(--space-9) 0 var(--space-8);
|
|
347
|
-
display: grid; gap: var(--space-5);
|
|
348
|
-
max-width: 940px;
|
|
349
|
-
}
|
|
350
|
-
.ds-hero-title {
|
|
351
|
-
font-family: var(--ff-body); font-weight: 600;
|
|
352
|
-
font-size: clamp(34px, 6.4cqi, 80px);
|
|
353
|
-
line-height: 1.05; letter-spacing: var(--tr-tight);
|
|
354
|
-
margin: 0; max-width: 18ch;
|
|
355
|
-
}
|
|
356
|
-
.ds-hero-body {
|
|
357
|
-
font-family: var(--ff-body); font-size: var(--fs-xl);
|
|
358
|
-
line-height: 1.45; margin: 0; max-width: 52ch;
|
|
359
|
-
color: var(--fg-2);
|
|
360
|
-
}
|
|
361
|
-
.ds-hero-accent { color: var(--accent); font-weight: 500; }
|
|
362
|
-
|
|
363
|
-
/* ============================================================
|
|
364
|
-
Section grouping
|
|
365
|
-
============================================================ */
|
|
366
|
-
.ds-section { margin: var(--space-8) 0; }
|
|
367
|
-
.ds-section > h3 {
|
|
368
|
-
font-family: var(--ff-body); font-weight: 600; font-size: var(--fs-h3);
|
|
369
|
-
margin: 0 0 var(--space-5);
|
|
370
|
-
letter-spacing: -0.01em;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
/* ============================================================
|
|
374
|
-
Install — single CLI command card
|
|
375
|
-
============================================================ */
|
|
376
|
-
.cli {
|
|
377
|
-
display: flex; align-items: center; gap: 14px;
|
|
378
|
-
padding: 20px 24px;
|
|
379
|
-
background: var(--ink); color: var(--paper);
|
|
380
|
-
border-radius: var(--r-3);
|
|
381
|
-
font-family: var(--ff-mono); font-size: var(--fs-lg);
|
|
382
|
-
}
|
|
383
|
-
.cli .prompt { color: var(--green-2); }
|
|
384
|
-
.cli .cmd { flex: 1; color: var(--paper); }
|
|
385
|
-
.cli .copy {
|
|
386
|
-
padding: 8px 16px; background: transparent; color: var(--paper);
|
|
387
|
-
font-size: var(--fs-tiny); text-transform: uppercase; letter-spacing: var(--tr-caps);
|
|
388
|
-
cursor: pointer; box-shadow: inset 0 0 0 1px #6A6A70;
|
|
389
|
-
border-radius: var(--r-pill);
|
|
390
|
-
}
|
|
391
|
-
.cli .copy:hover { background: #6A6A70; }
|
|
392
|
-
|
|
393
|
-
/* ============================================================
|
|
394
|
-
Receipt — key/value table
|
|
395
|
-
============================================================ */
|
|
396
|
-
table.kv { width: 100%; border-collapse: collapse; }
|
|
397
|
-
table.kv td {
|
|
398
|
-
padding: 8px 0;
|
|
399
|
-
font-family: var(--ff-body); font-size: var(--fs-sm);
|
|
400
|
-
}
|
|
401
|
-
table.kv tr + tr td { border-top: 1px solid var(--rule); }
|
|
402
|
-
table.kv td:first-child {
|
|
403
|
-
color: var(--fg-3);
|
|
404
|
-
font-size: var(--fs-xs);
|
|
405
|
-
text-transform: uppercase; letter-spacing: var(--tr-caps);
|
|
406
|
-
width: 14ch;
|
|
407
|
-
}
|
|
408
|
-
table.kv td:last-child {
|
|
409
|
-
font-weight: 600;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
/* ============================================================
|
|
413
|
-
Generic table
|
|
414
|
-
============================================================ */
|
|
415
|
-
table {
|
|
416
|
-
width: 100%; border-collapse: collapse;
|
|
417
|
-
font-family: var(--ff-body); font-size: var(--fs-sm);
|
|
418
|
-
border-radius: var(--r-3); overflow: hidden;
|
|
419
|
-
}
|
|
420
|
-
table th {
|
|
421
|
-
text-align: left;
|
|
422
|
-
padding: 12px 16px;
|
|
423
|
-
font-size: var(--fs-xs); font-weight: 600;
|
|
424
|
-
color: var(--fg-3); text-transform: uppercase; letter-spacing: var(--tr-caps);
|
|
425
|
-
background: var(--bg-2);
|
|
426
|
-
}
|
|
427
|
-
table td { padding: 14px 16px; border-top: 1px solid var(--rule); }
|
|
428
|
-
table tr.clickable { cursor: pointer; }
|
|
429
|
-
table tr.clickable:hover td { background: var(--bg-2); }
|
|
430
|
-
|
|
431
|
-
/* ============================================================
|
|
432
|
-
Changelog
|
|
433
|
-
============================================================ */
|
|
434
|
-
.ds-changelog-row {
|
|
435
|
-
grid-template-columns: minmax(110px, 14ch) minmax(60px, 9ch) minmax(0, 1fr) !important;
|
|
436
|
-
}
|
|
437
|
-
.ds-changelog-ver {
|
|
438
|
-
font-family: var(--ff-body); font-weight: 600; font-size: var(--fs-sm);
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
/* ============================================================
|
|
442
|
-
Works
|
|
443
|
-
============================================================ */
|
|
444
|
-
.work-detail {
|
|
445
|
-
padding: var(--space-4) var(--space-5) var(--space-5);
|
|
446
|
-
margin: 4px 0 var(--space-2);
|
|
447
|
-
background: var(--bg-2);
|
|
448
|
-
border-radius: var(--r-3);
|
|
449
|
-
display: flex; flex-direction: column; gap: var(--space-3);
|
|
450
|
-
}
|
|
451
|
-
.ds-work-body { margin: 0; max-width: 60ch; }
|
|
452
|
-
.ds-work-actions { display: flex; gap: 10px; flex-wrap: wrap; }
|
|
453
|
-
|
|
454
|
-
/* ============================================================
|
|
455
|
-
Manifesto / pull moment
|
|
456
|
-
============================================================ */
|
|
457
|
-
.ds-manifesto { max-width: 60ch; }
|
|
458
|
-
.ds-manifesto-para {
|
|
459
|
-
font-family: var(--ff-body); font-size: var(--fs-lg);
|
|
460
|
-
line-height: var(--lh-long); margin: 0 0 var(--space-3);
|
|
461
|
-
}
|
|
462
|
-
.ds-manifesto-para.dim { color: var(--fg-3); }
|
|
463
|
-
|
|
464
|
-
/* ============================================================
|
|
465
|
-
Currently shipping dots
|
|
466
|
-
============================================================ */
|
|
467
|
-
.ds-dot-live { color: var(--green-2); }
|
|
468
|
-
.ds-dot-idle { color: var(--fg-3); }
|
|
469
|
-
|
|
470
|
-
/* ============================================================
|
|
471
|
-
KPI
|
|
472
|
-
============================================================ */
|
|
473
|
-
.kpi {
|
|
474
|
-
display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
475
|
-
gap: var(--space-2);
|
|
476
|
-
}
|
|
477
|
-
.kpi-card {
|
|
478
|
-
padding: var(--space-5);
|
|
479
|
-
background: var(--bg-2);
|
|
480
|
-
border-radius: var(--r-3);
|
|
481
|
-
}
|
|
482
|
-
.kpi-card .num {
|
|
483
|
-
font-family: var(--ff-body); font-weight: 600;
|
|
484
|
-
font-size: clamp(30px, 3.6cqi, 48px); line-height: 1;
|
|
485
|
-
letter-spacing: var(--tr-tight);
|
|
486
|
-
}
|
|
487
|
-
.kpi-card .lbl {
|
|
488
|
-
font-size: var(--fs-xs); color: var(--fg-3);
|
|
489
|
-
font-weight: 600; margin-top: 8px;
|
|
490
|
-
letter-spacing: var(--tr-caps); text-transform: uppercase;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
/* ============================================================
|
|
494
|
-
Empty state
|
|
495
|
-
============================================================ */
|
|
496
|
-
.empty {
|
|
497
|
-
padding: var(--space-8);
|
|
498
|
-
text-align: center;
|
|
499
|
-
color: var(--fg-3);
|
|
500
|
-
background: var(--bg-2);
|
|
501
|
-
border-radius: var(--r-3);
|
|
502
|
-
font-size: var(--fs-sm);
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
/* ============================================================
|
|
506
|
-
Form
|
|
507
|
-
============================================================ */
|
|
508
|
-
.row-form {
|
|
509
|
-
display: grid; gap: 12px;
|
|
510
|
-
padding: var(--space-5);
|
|
511
|
-
background: var(--bg-2);
|
|
512
|
-
border-radius: var(--r-3);
|
|
513
|
-
}
|
|
514
|
-
.row-form input,
|
|
515
|
-
.row-form textarea {
|
|
516
|
-
font-family: inherit; font-size: var(--fs-sm);
|
|
517
|
-
padding: 12px 16px;
|
|
518
|
-
background: var(--bg); color: var(--fg);
|
|
519
|
-
border: 0; border-radius: var(--r-2); outline: 0;
|
|
520
|
-
box-shadow: inset 0 0 0 1px var(--rule);
|
|
521
|
-
}
|
|
522
|
-
.row-form input:focus,
|
|
523
|
-
.row-form textarea:focus { box-shadow: inset 0 0 0 2px var(--accent); }
|
|
524
|
-
|
|
525
|
-
/* ============================================================
|
|
526
|
-
Responsive
|
|
527
|
-
============================================================ */
|
|
528
|
-
@container (max-width: 760px) {
|
|
529
|
-
.app-body { grid-template-columns: 1fr !important; }
|
|
530
|
-
.app-side-shell { border-right: 0; border-bottom: 1px solid var(--rule); }
|
|
531
|
-
.app-topbar { grid-template-columns: 1fr auto; }
|
|
532
|
-
.app-topbar nav { font-size: var(--fs-xs); gap: 14px; }
|
|
533
|
-
.row { grid-template-columns: minmax(0, 1fr) auto !important; row-gap: 4px !important; }
|
|
534
|
-
.row .sub { grid-column: 1 / -1; order: 3; }
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/* ============================================================
|
|
538
|
-
Chat — minimal styles (placeholder for full chat surface)
|
|
539
|
-
============================================================ */
|
|
540
|
-
.ds-chat { display: flex; flex-direction: column; gap: 12px; padding: var(--space-4); }
|
|
541
|
-
.ds-chat-msg { padding: 12px 18px; background: var(--bg-2); border-radius: var(--r-3); max-width: 36em; }
|
|
542
|
-
.ds-chat-msg.user { background: var(--accent); color: var(--accent-fg); align-self: flex-end; }
|
|
543
|
-
.ds-chat-md { font-size: var(--fs-sm); line-height: 1.6; }
|
|
544
|
-
.ds-chat-composer { display: flex; gap: 8px; padding: var(--space-4); }
|
|
545
|
-
.ds-chat-composer input { flex: 1; padding: 13px 18px; background: var(--bg-2); border: 0; border-radius: var(--r-pill); font-family: inherit; font-size: var(--fs-sm); color: var(--fg); outline: 0; }
|
|
546
|
-
.ds-chat-composer input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
|
|
547
|
-
|
|
548
|
-
/* ============================================================
|
|
549
|
-
File surface — minimal placeholder
|
|
550
|
-
============================================================ */
|
|
551
|
-
.ds-file-row {
|
|
552
|
-
display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto;
|
|
553
|
-
gap: 14px; align-items: center;
|
|
554
|
-
padding: 12px 18px; background: var(--bg);
|
|
555
|
-
border-radius: var(--r-2); color: var(--fg);
|
|
556
|
-
}
|
|
557
|
-
.ds-file-row + .ds-file-row { margin-top: 3px; }
|
|
558
|
-
.ds-file-row:hover { background: var(--bg-2); }
|
|
559
|
-
.ds-file-row[data-file-type="dir"] { border-left: 3px solid var(--accent); padding-left: 11px; }
|
|
560
|
-
.ds-file-row[data-file-type="image"] { border-left: 3px solid var(--mascot); padding-left: 11px; }
|
|
561
|
-
.ds-file-row[data-file-type="video"] { border-left: 3px solid var(--purple-2); padding-left: 11px; }
|
|
562
|
-
.ds-file-row[data-file-type="audio"] { border-left: 3px solid var(--sky); padding-left: 11px; }
|
|
563
|
-
.ds-file-row[data-file-type="code"] { border-left: 3px solid var(--green-2); padding-left: 11px; }
|
|
564
|
-
.ds-file-row[data-file-type="text"] { border-left: 3px solid var(--ink-3); padding-left: 11px; }
|
|
565
|
-
.ds-file-row[data-file-type="archive"] { border-left: 3px solid var(--flame); padding-left: 11px; }
|
|
566
|
-
.ds-file-row[data-file-type="document"] { border-left: 3px solid var(--sun); padding-left: 11px; }
|
|
567
|
-
.ds-file-row[data-file-type="other"] { border-left: 3px solid var(--fg-3); padding-left: 11px; }
|
|
568
|
-
.ds-file-row .name { font-weight: 500; }
|
|
569
|
-
.ds-file-row .size { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3); }
|
|
570
|
-
.ds-file-row .time { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3); }
|
|
571
|
-
|
|
572
|
-
/* ============================================================
|
|
573
|
-
Theme toggle (segmented + compact) — bound to src/theme.js
|
|
574
|
-
============================================================ */
|
|
575
|
-
.ds-segmented {
|
|
576
|
-
display: inline-flex; gap: 0; padding: 2px;
|
|
577
|
-
background: var(--bg-2); border-radius: var(--r-pill);
|
|
578
|
-
font-family: var(--ff-mono); font-size: var(--fs-xs);
|
|
579
|
-
}
|
|
580
|
-
.ds-segmented .ds-seg-btn {
|
|
581
|
-
background: transparent; border: 0; color: var(--fg-3);
|
|
582
|
-
padding: 4px 12px; border-radius: var(--r-pill); cursor: pointer;
|
|
583
|
-
display: inline-flex; align-items: center; gap: 6px;
|
|
584
|
-
transition: color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
|
|
585
|
-
}
|
|
586
|
-
.ds-segmented .ds-seg-btn:hover { color: var(--fg); }
|
|
587
|
-
.ds-segmented .ds-seg-btn.is-on {
|
|
588
|
-
background: var(--bg); color: var(--fg);
|
|
589
|
-
box-shadow: 0 1px 2px rgba(0,0,0,0.08);
|
|
590
|
-
}
|
|
591
|
-
.ds-theme-toggle.btn {
|
|
592
|
-
font-family: var(--ff-mono); font-size: var(--fs-xs);
|
|
593
|
-
display: inline-flex; align-items: center; gap: 6px;
|
|
594
|
-
}
|
|
1
|
+
/* ============================================================
|
|
2
|
+
247420 design system — component sheet
|
|
3
|
+
Tonal surfaces over borders. Indicator rails over hairlines.
|
|
4
|
+
Friendly rounded sans body; mono only on real code.
|
|
5
|
+
============================================================ */
|
|
6
|
+
|
|
7
|
+
/* ============================================================
|
|
8
|
+
Base
|
|
9
|
+
============================================================ */
|
|
10
|
+
* { box-sizing: border-box; }
|
|
11
|
+
html, body { margin: 0; padding: 0; }
|
|
12
|
+
body {
|
|
13
|
+
background: var(--bg);
|
|
14
|
+
color: var(--fg);
|
|
15
|
+
font-family: var(--ff-body);
|
|
16
|
+
font-size: var(--fs-body);
|
|
17
|
+
line-height: var(--lh-base);
|
|
18
|
+
-webkit-font-smoothing: antialiased;
|
|
19
|
+
text-rendering: optimizeLegibility;
|
|
20
|
+
}
|
|
21
|
+
::selection { background: var(--mascot); color: var(--ink); }
|
|
22
|
+
|
|
23
|
+
/* Every root has a CQ container so fluid type can resolve to a meaningful inline-size. */
|
|
24
|
+
.app, [class*="kit-"], .ds-stage {
|
|
25
|
+
container-type: inline-size;
|
|
26
|
+
overflow-x: clip;
|
|
27
|
+
min-width: 0;
|
|
28
|
+
}
|
|
29
|
+
.app *, [class*="kit-"] * { min-width: 0; }
|
|
30
|
+
|
|
31
|
+
/* ============================================================
|
|
32
|
+
Typography
|
|
33
|
+
============================================================ */
|
|
34
|
+
h1, .t-h1 { font-family: var(--ff-body); font-size: var(--fs-h1); line-height: var(--lh-snug); letter-spacing: var(--tr-tight); font-weight: 600; margin: 0; }
|
|
35
|
+
h2, .t-h2 { font-family: var(--ff-body); font-size: var(--fs-h2); line-height: var(--lh-snug); letter-spacing: var(--tr-tight); font-weight: 600; margin: 0; }
|
|
36
|
+
h3, .t-h3 { font-family: var(--ff-body); font-size: var(--fs-h3); line-height: var(--lh-snug); letter-spacing: -0.01em; font-weight: 600; margin: 0; }
|
|
37
|
+
h4, .t-h4 { font-family: var(--ff-body); font-size: var(--fs-h4); line-height: var(--lh-snug); font-weight: 600; margin: 0; }
|
|
38
|
+
|
|
39
|
+
.t-hero { font-family: var(--ff-body); font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: var(--tr-tighter); font-weight: 600; margin: 0; }
|
|
40
|
+
.t-mega { font-family: var(--ff-body); font-size: var(--fs-mega); line-height: 0.95; letter-spacing: var(--tr-tighter); font-weight: 600; margin: 0; }
|
|
41
|
+
|
|
42
|
+
.t-display { font-family: var(--ff-body); font-weight: 600; letter-spacing: var(--tr-tight); }
|
|
43
|
+
.t-mono { font-family: var(--ff-mono); }
|
|
44
|
+
.t-body { font-family: var(--ff-body); }
|
|
45
|
+
|
|
46
|
+
.t-label { font-family: var(--ff-mono); font-size: var(--fs-tiny); text-transform: uppercase; letter-spacing: var(--tr-label); font-weight: 500; }
|
|
47
|
+
.t-micro { font-family: var(--ff-mono); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--fg-3); }
|
|
48
|
+
.t-meta { font-family: var(--ff-body); font-size: var(--fs-sm); color: var(--fg-3); }
|
|
49
|
+
|
|
50
|
+
.lede, .t-lede {
|
|
51
|
+
font-family: var(--ff-body); font-size: var(--fs-xl);
|
|
52
|
+
line-height: 1.4; max-width: 38ch; font-weight: 400; color: var(--fg-2);
|
|
53
|
+
margin: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.eyebrow {
|
|
57
|
+
font-family: var(--ff-body);
|
|
58
|
+
font-size: var(--fs-tiny);
|
|
59
|
+
font-weight: 600;
|
|
60
|
+
letter-spacing: var(--tr-caps);
|
|
61
|
+
text-transform: uppercase;
|
|
62
|
+
color: var(--accent);
|
|
63
|
+
display: inline-flex; align-items: center; gap: 10px;
|
|
64
|
+
}
|
|
65
|
+
.eyebrow::before {
|
|
66
|
+
content: '';
|
|
67
|
+
width: 18px; height: 2px; background: currentColor;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.ds-prose {
|
|
71
|
+
font-family: var(--ff-body);
|
|
72
|
+
font-size: var(--fs-lg);
|
|
73
|
+
line-height: var(--lh-long);
|
|
74
|
+
max-width: var(--measure);
|
|
75
|
+
text-wrap: pretty;
|
|
76
|
+
}
|
|
77
|
+
.ds-prose p { margin: 0 0 var(--space-4); }
|
|
78
|
+
.ds-prose h1 { font-size: clamp(34px, 5.4cqi, 64px); margin-bottom: var(--space-3); }
|
|
79
|
+
.ds-prose h2 { margin: var(--space-6) 0 var(--space-3); }
|
|
80
|
+
.ds-prose h3 { margin: var(--space-5) 0 var(--space-2); font-size: var(--fs-lg); font-weight: 600; }
|
|
81
|
+
|
|
82
|
+
.dim { color: var(--fg-3); }
|
|
83
|
+
|
|
84
|
+
/* Links */
|
|
85
|
+
a { color: inherit; text-decoration: none; }
|
|
86
|
+
a.ds-link-accent, .ds-prose a {
|
|
87
|
+
color: var(--accent);
|
|
88
|
+
text-decoration: underline;
|
|
89
|
+
text-underline-offset: 4px;
|
|
90
|
+
text-decoration-thickness: 2px;
|
|
91
|
+
}
|
|
92
|
+
a.ds-link-accent:hover, .ds-prose a:hover {
|
|
93
|
+
background: var(--accent); color: var(--accent-fg); text-decoration-color: transparent;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
kbd {
|
|
97
|
+
font-family: var(--ff-mono); font-size: 0.85em;
|
|
98
|
+
background: var(--bg-2); padding: 2px 6px; border-radius: var(--r-1);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
code {
|
|
102
|
+
font-family: var(--ff-mono); font-size: 0.92em;
|
|
103
|
+
background: var(--bg-2); padding: 0.15em 0.5em; border-radius: var(--r-1);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
pre {
|
|
107
|
+
font-family: var(--ff-mono);
|
|
108
|
+
background: var(--ink);
|
|
109
|
+
color: var(--paper);
|
|
110
|
+
padding: var(--space-5);
|
|
111
|
+
overflow-x: auto;
|
|
112
|
+
line-height: 1.55;
|
|
113
|
+
font-size: var(--fs-sm);
|
|
114
|
+
margin: 0;
|
|
115
|
+
border-radius: var(--r-3);
|
|
116
|
+
}
|
|
117
|
+
pre .k { color: var(--mascot); }
|
|
118
|
+
pre .s { color: var(--sun); }
|
|
119
|
+
pre .c { color: #9A9AA2; }
|
|
120
|
+
pre .n { color: var(--green-2); }
|
|
121
|
+
|
|
122
|
+
/* ============================================================
|
|
123
|
+
AppShell — page frame. The topbar floats above a soft background;
|
|
124
|
+
the body sits inside a rounded inner shell for a friendlier feel.
|
|
125
|
+
============================================================ */
|
|
126
|
+
.app {
|
|
127
|
+
display: flex; flex-direction: column;
|
|
128
|
+
min-height: 100vh;
|
|
129
|
+
background: var(--bg);
|
|
130
|
+
color: var(--fg);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.app-topbar {
|
|
134
|
+
position: sticky; top: 0; z-index: var(--z-header);
|
|
135
|
+
display: grid; grid-template-columns: auto 1fr auto;
|
|
136
|
+
align-items: center; gap: var(--space-4);
|
|
137
|
+
padding: 18px var(--pad-x);
|
|
138
|
+
background: color-mix(in oklab, var(--bg) 88%, transparent);
|
|
139
|
+
backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
|
|
140
|
+
}
|
|
141
|
+
.app-topbar nav { display: flex; gap: 4px; font-size: var(--fs-sm); }
|
|
142
|
+
.app-topbar nav a {
|
|
143
|
+
color: var(--fg-2);
|
|
144
|
+
padding: 8px 14px;
|
|
145
|
+
border-radius: var(--r-pill);
|
|
146
|
+
transition: background var(--dur-snap) var(--ease), color var(--dur-snap) var(--ease);
|
|
147
|
+
}
|
|
148
|
+
.app-topbar nav a:hover { background: var(--bg-2); color: var(--fg); }
|
|
149
|
+
.app-topbar nav a.active {
|
|
150
|
+
color: var(--accent-fg);
|
|
151
|
+
background: var(--accent);
|
|
152
|
+
font-weight: 600;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.brand {
|
|
156
|
+
font-family: var(--ff-body);
|
|
157
|
+
font-weight: 700; font-size: var(--fs-sm);
|
|
158
|
+
letter-spacing: -0.01em;
|
|
159
|
+
}
|
|
160
|
+
.brand .slash { color: var(--fg-3); font-weight: 400; margin: 0 2px; }
|
|
161
|
+
|
|
162
|
+
.app-search {
|
|
163
|
+
display: inline-flex; align-items: center; gap: 10px;
|
|
164
|
+
padding: 9px 16px; background: var(--bg-2);
|
|
165
|
+
border-radius: var(--r-pill);
|
|
166
|
+
font-size: var(--fs-sm); color: var(--fg-3);
|
|
167
|
+
max-width: 360px;
|
|
168
|
+
}
|
|
169
|
+
.app-search .icon { opacity: 0.6; }
|
|
170
|
+
.app-search input {
|
|
171
|
+
border: 0; outline: 0; background: transparent;
|
|
172
|
+
font-family: inherit; font-size: inherit; color: var(--fg);
|
|
173
|
+
width: 100%;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.app-crumb {
|
|
177
|
+
padding: 0 var(--pad-x) 14px;
|
|
178
|
+
display: flex; align-items: center; gap: 8px;
|
|
179
|
+
font-size: var(--fs-sm); color: var(--fg-3);
|
|
180
|
+
}
|
|
181
|
+
.app-crumb .sep { opacity: 0.5; }
|
|
182
|
+
.app-crumb .leaf { color: var(--fg); font-weight: 600; }
|
|
183
|
+
.app-crumb .crumb-right { margin-left: auto; color: var(--fg-3); }
|
|
184
|
+
|
|
185
|
+
.app-side-shell { background: var(--bg); }
|
|
186
|
+
.app-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); flex: 1; min-height: 0; }
|
|
187
|
+
.app-body.no-side { grid-template-columns: minmax(0, 1fr); }
|
|
188
|
+
|
|
189
|
+
.app-side {
|
|
190
|
+
display: flex; flex-direction: column; gap: var(--space-4);
|
|
191
|
+
padding: var(--space-5) var(--space-3);
|
|
192
|
+
font-size: var(--fs-sm);
|
|
193
|
+
}
|
|
194
|
+
.app-side .group {
|
|
195
|
+
font-size: var(--fs-xs); font-weight: 600;
|
|
196
|
+
color: var(--fg-3); padding: 0 var(--space-3);
|
|
197
|
+
margin-bottom: 6px;
|
|
198
|
+
}
|
|
199
|
+
.app-side a {
|
|
200
|
+
display: grid; grid-template-columns: 18px 1fr auto;
|
|
201
|
+
gap: 10px; align-items: center;
|
|
202
|
+
padding: 10px 14px;
|
|
203
|
+
border-radius: var(--r-pill);
|
|
204
|
+
color: var(--fg-2);
|
|
205
|
+
margin-bottom: 2px;
|
|
206
|
+
}
|
|
207
|
+
.app-side a:hover { background: var(--bg-2); color: var(--fg); }
|
|
208
|
+
.app-side a.active {
|
|
209
|
+
color: var(--accent-fg);
|
|
210
|
+
background: var(--accent);
|
|
211
|
+
font-weight: 600;
|
|
212
|
+
}
|
|
213
|
+
.app-side .count {
|
|
214
|
+
background: var(--mascot); color: var(--ink);
|
|
215
|
+
padding: 1px 9px; font-size: var(--fs-micro); font-weight: 700;
|
|
216
|
+
border-radius: var(--r-pill);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.app-main {
|
|
220
|
+
padding: var(--space-7) var(--pad-x);
|
|
221
|
+
min-width: 0;
|
|
222
|
+
}
|
|
223
|
+
.app-main.narrow { max-width: 760px; margin: 0 auto; }
|
|
224
|
+
|
|
225
|
+
.app-status {
|
|
226
|
+
display: flex; align-items: center; gap: var(--space-3);
|
|
227
|
+
padding: 14px var(--pad-x);
|
|
228
|
+
font-family: var(--ff-mono); font-size: var(--fs-xs);
|
|
229
|
+
color: var(--fg-3);
|
|
230
|
+
}
|
|
231
|
+
.app-status .item { color: inherit; }
|
|
232
|
+
.app-status .item:first-of-type { color: var(--accent); }
|
|
233
|
+
.app-status .spread { flex: 1; }
|
|
234
|
+
|
|
235
|
+
/* ============================================================
|
|
236
|
+
Primitives
|
|
237
|
+
============================================================ */
|
|
238
|
+
.btn, .btn-primary, .btn-ghost {
|
|
239
|
+
display: inline-flex; align-items: center; gap: 8px;
|
|
240
|
+
padding: 13px 22px;
|
|
241
|
+
font-family: var(--ff-body);
|
|
242
|
+
font-weight: 600; font-size: var(--fs-sm);
|
|
243
|
+
text-decoration: none;
|
|
244
|
+
cursor: pointer;
|
|
245
|
+
border-radius: var(--r-pill);
|
|
246
|
+
border: 0;
|
|
247
|
+
transition: transform var(--dur-snap) var(--ease), background var(--dur-snap) var(--ease), color var(--dur-snap) var(--ease);
|
|
248
|
+
}
|
|
249
|
+
.btn { background: var(--bg-2); color: var(--fg); }
|
|
250
|
+
.btn:hover { background: var(--bg-3); color: var(--fg); }
|
|
251
|
+
.btn-primary { background: var(--accent); color: var(--accent-fg); }
|
|
252
|
+
.btn-primary:hover { background: var(--fg); color: var(--bg); }
|
|
253
|
+
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
|
|
254
|
+
.btn-ghost:hover { background: var(--bg-2); }
|
|
255
|
+
.btn:active, .btn-primary:active, .btn-ghost:active { transform: translateY(1px); }
|
|
256
|
+
|
|
257
|
+
.chip {
|
|
258
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
259
|
+
padding: 3px 10px;
|
|
260
|
+
background: var(--bg-2); color: var(--fg-2);
|
|
261
|
+
font-family: var(--ff-body);
|
|
262
|
+
font-size: var(--fs-tiny); font-weight: 600;
|
|
263
|
+
letter-spacing: var(--tr-caps); text-transform: uppercase;
|
|
264
|
+
border-radius: var(--r-pill);
|
|
265
|
+
}
|
|
266
|
+
.chip.tone-green { background: var(--green-tint); color: var(--green-deep); }
|
|
267
|
+
.chip.tone-purple { background: var(--purple-tint); color: var(--purple-deep); }
|
|
268
|
+
.chip.tone-mascot { background: var(--mascot-tint); color: var(--ink); }
|
|
269
|
+
.chip.tone-sun { background: var(--sun); color: var(--ink); }
|
|
270
|
+
.chip.tone-flame { background: var(--flame); color: var(--paper); }
|
|
271
|
+
.chip.tone-live { background: var(--green-tint); color: var(--green-deep); }
|
|
272
|
+
.chip.tone-wip { background: var(--bg-3); color: var(--fg-2); }
|
|
273
|
+
|
|
274
|
+
.glyph {
|
|
275
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
276
|
+
width: 18px; height: 18px;
|
|
277
|
+
font-family: var(--ff-mono); font-size: 13px;
|
|
278
|
+
opacity: 0.8;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/* ============================================================
|
|
282
|
+
Panel — soft tonal container, no border decoration
|
|
283
|
+
============================================================ */
|
|
284
|
+
.panel {
|
|
285
|
+
background: var(--bg);
|
|
286
|
+
border-radius: var(--r-3);
|
|
287
|
+
margin: 0 0 var(--space-5);
|
|
288
|
+
position: relative;
|
|
289
|
+
}
|
|
290
|
+
.panel.panel-inline { background: var(--bg-2); padding: var(--space-3) var(--space-3); }
|
|
291
|
+
.panel.panel-wide { background: transparent; }
|
|
292
|
+
.panel-head {
|
|
293
|
+
display: flex; align-items: baseline; justify-content: space-between;
|
|
294
|
+
padding: var(--space-4) var(--space-5) var(--space-3);
|
|
295
|
+
font-size: var(--fs-xs); font-weight: 600;
|
|
296
|
+
color: var(--fg-3);
|
|
297
|
+
letter-spacing: var(--tr-caps); text-transform: uppercase;
|
|
298
|
+
}
|
|
299
|
+
.panel-head > :last-child {
|
|
300
|
+
font-weight: 500; color: var(--fg-3);
|
|
301
|
+
font-family: var(--ff-mono); letter-spacing: 0;
|
|
302
|
+
}
|
|
303
|
+
.panel-body { padding: var(--space-2) var(--space-3) var(--space-3); }
|
|
304
|
+
.panel.panel-wide .panel-body { padding: 0; }
|
|
305
|
+
|
|
306
|
+
/* ============================================================
|
|
307
|
+
Row — primary list pattern. Indicator rail on the left,
|
|
308
|
+
no hairlines between rows.
|
|
309
|
+
============================================================ */
|
|
310
|
+
.row {
|
|
311
|
+
display: grid;
|
|
312
|
+
grid-template-columns: minmax(80px, 12ch) minmax(0, 1fr) auto;
|
|
313
|
+
gap: var(--space-3);
|
|
314
|
+
align-items: baseline;
|
|
315
|
+
padding: 18px 22px;
|
|
316
|
+
background: var(--bg);
|
|
317
|
+
border-radius: var(--r-2);
|
|
318
|
+
color: var(--fg);
|
|
319
|
+
position: relative;
|
|
320
|
+
transition: background var(--dur-snap) var(--ease), padding var(--dur-base) var(--ease);
|
|
321
|
+
}
|
|
322
|
+
.row + .row { margin-top: 4px; }
|
|
323
|
+
.row::before {
|
|
324
|
+
content: '';
|
|
325
|
+
position: absolute; left: 6px; top: 22%; bottom: 22%; width: 3px;
|
|
326
|
+
background: transparent; border-radius: 3px;
|
|
327
|
+
transition: background var(--dur-snap) var(--ease);
|
|
328
|
+
}
|
|
329
|
+
.row:hover { background: var(--bg-2); }
|
|
330
|
+
.row:hover::before { background: var(--rule-strong); }
|
|
331
|
+
.row.active { background: color-mix(in oklab, var(--accent) 10%, var(--bg-2)); }
|
|
332
|
+
.row.active::before { background: var(--accent); }
|
|
333
|
+
.row-grid { /* explicit grid-template-columns set inline */ }
|
|
334
|
+
|
|
335
|
+
.row .code { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3); }
|
|
336
|
+
.row .title { font-family: var(--ff-body); font-weight: 600; font-size: var(--fs-lg); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
|
|
337
|
+
.row .sub { font-family: var(--ff-body); font-weight: 400; font-size: var(--fs-sm); color: var(--fg-3); }
|
|
338
|
+
.row .meta { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3); text-align: right; }
|
|
339
|
+
|
|
340
|
+
a.row { text-decoration: none; }
|
|
341
|
+
|
|
342
|
+
/* ============================================================
|
|
343
|
+
Hero
|
|
344
|
+
============================================================ */
|
|
345
|
+
.ds-hero {
|
|
346
|
+
padding: var(--space-9) 0 var(--space-8);
|
|
347
|
+
display: grid; gap: var(--space-5);
|
|
348
|
+
max-width: 940px;
|
|
349
|
+
}
|
|
350
|
+
.ds-hero-title {
|
|
351
|
+
font-family: var(--ff-body); font-weight: 600;
|
|
352
|
+
font-size: clamp(34px, 6.4cqi, 80px);
|
|
353
|
+
line-height: 1.05; letter-spacing: var(--tr-tight);
|
|
354
|
+
margin: 0; max-width: 18ch;
|
|
355
|
+
}
|
|
356
|
+
.ds-hero-body {
|
|
357
|
+
font-family: var(--ff-body); font-size: var(--fs-xl);
|
|
358
|
+
line-height: 1.45; margin: 0; max-width: 52ch;
|
|
359
|
+
color: var(--fg-2);
|
|
360
|
+
}
|
|
361
|
+
.ds-hero-accent { color: var(--accent); font-weight: 500; }
|
|
362
|
+
|
|
363
|
+
/* ============================================================
|
|
364
|
+
Section grouping
|
|
365
|
+
============================================================ */
|
|
366
|
+
.ds-section { margin: var(--space-8) 0; }
|
|
367
|
+
.ds-section > h3 {
|
|
368
|
+
font-family: var(--ff-body); font-weight: 600; font-size: var(--fs-h3);
|
|
369
|
+
margin: 0 0 var(--space-5);
|
|
370
|
+
letter-spacing: -0.01em;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/* ============================================================
|
|
374
|
+
Install — single CLI command card
|
|
375
|
+
============================================================ */
|
|
376
|
+
.cli {
|
|
377
|
+
display: flex; align-items: center; gap: 14px;
|
|
378
|
+
padding: 20px 24px;
|
|
379
|
+
background: var(--ink); color: var(--paper);
|
|
380
|
+
border-radius: var(--r-3);
|
|
381
|
+
font-family: var(--ff-mono); font-size: var(--fs-lg);
|
|
382
|
+
}
|
|
383
|
+
.cli .prompt { color: var(--green-2); }
|
|
384
|
+
.cli .cmd { flex: 1; color: var(--paper); }
|
|
385
|
+
.cli .copy {
|
|
386
|
+
padding: 8px 16px; background: transparent; color: var(--paper);
|
|
387
|
+
font-size: var(--fs-tiny); text-transform: uppercase; letter-spacing: var(--tr-caps);
|
|
388
|
+
cursor: pointer; box-shadow: inset 0 0 0 1px #6A6A70;
|
|
389
|
+
border-radius: var(--r-pill);
|
|
390
|
+
}
|
|
391
|
+
.cli .copy:hover { background: #6A6A70; }
|
|
392
|
+
|
|
393
|
+
/* ============================================================
|
|
394
|
+
Receipt — key/value table
|
|
395
|
+
============================================================ */
|
|
396
|
+
table.kv { width: 100%; border-collapse: collapse; }
|
|
397
|
+
table.kv td {
|
|
398
|
+
padding: 8px 0;
|
|
399
|
+
font-family: var(--ff-body); font-size: var(--fs-sm);
|
|
400
|
+
}
|
|
401
|
+
table.kv tr + tr td { border-top: 1px solid var(--rule); }
|
|
402
|
+
table.kv td:first-child {
|
|
403
|
+
color: var(--fg-3);
|
|
404
|
+
font-size: var(--fs-xs);
|
|
405
|
+
text-transform: uppercase; letter-spacing: var(--tr-caps);
|
|
406
|
+
width: 14ch;
|
|
407
|
+
}
|
|
408
|
+
table.kv td:last-child {
|
|
409
|
+
font-weight: 600;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/* ============================================================
|
|
413
|
+
Generic table
|
|
414
|
+
============================================================ */
|
|
415
|
+
table {
|
|
416
|
+
width: 100%; border-collapse: collapse;
|
|
417
|
+
font-family: var(--ff-body); font-size: var(--fs-sm);
|
|
418
|
+
border-radius: var(--r-3); overflow: hidden;
|
|
419
|
+
}
|
|
420
|
+
table th {
|
|
421
|
+
text-align: left;
|
|
422
|
+
padding: 12px 16px;
|
|
423
|
+
font-size: var(--fs-xs); font-weight: 600;
|
|
424
|
+
color: var(--fg-3); text-transform: uppercase; letter-spacing: var(--tr-caps);
|
|
425
|
+
background: var(--bg-2);
|
|
426
|
+
}
|
|
427
|
+
table td { padding: 14px 16px; border-top: 1px solid var(--rule); }
|
|
428
|
+
table tr.clickable { cursor: pointer; }
|
|
429
|
+
table tr.clickable:hover td { background: var(--bg-2); }
|
|
430
|
+
|
|
431
|
+
/* ============================================================
|
|
432
|
+
Changelog
|
|
433
|
+
============================================================ */
|
|
434
|
+
.ds-changelog-row {
|
|
435
|
+
grid-template-columns: minmax(110px, 14ch) minmax(60px, 9ch) minmax(0, 1fr) !important;
|
|
436
|
+
}
|
|
437
|
+
.ds-changelog-ver {
|
|
438
|
+
font-family: var(--ff-body); font-weight: 600; font-size: var(--fs-sm);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/* ============================================================
|
|
442
|
+
Works
|
|
443
|
+
============================================================ */
|
|
444
|
+
.work-detail {
|
|
445
|
+
padding: var(--space-4) var(--space-5) var(--space-5);
|
|
446
|
+
margin: 4px 0 var(--space-2);
|
|
447
|
+
background: var(--bg-2);
|
|
448
|
+
border-radius: var(--r-3);
|
|
449
|
+
display: flex; flex-direction: column; gap: var(--space-3);
|
|
450
|
+
}
|
|
451
|
+
.ds-work-body { margin: 0; max-width: 60ch; }
|
|
452
|
+
.ds-work-actions { display: flex; gap: 10px; flex-wrap: wrap; }
|
|
453
|
+
|
|
454
|
+
/* ============================================================
|
|
455
|
+
Manifesto / pull moment
|
|
456
|
+
============================================================ */
|
|
457
|
+
.ds-manifesto { max-width: 60ch; }
|
|
458
|
+
.ds-manifesto-para {
|
|
459
|
+
font-family: var(--ff-body); font-size: var(--fs-lg);
|
|
460
|
+
line-height: var(--lh-long); margin: 0 0 var(--space-3);
|
|
461
|
+
}
|
|
462
|
+
.ds-manifesto-para.dim { color: var(--fg-3); }
|
|
463
|
+
|
|
464
|
+
/* ============================================================
|
|
465
|
+
Currently shipping dots
|
|
466
|
+
============================================================ */
|
|
467
|
+
.ds-dot-live { color: var(--green-2); }
|
|
468
|
+
.ds-dot-idle { color: var(--fg-3); }
|
|
469
|
+
|
|
470
|
+
/* ============================================================
|
|
471
|
+
KPI
|
|
472
|
+
============================================================ */
|
|
473
|
+
.kpi {
|
|
474
|
+
display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
475
|
+
gap: var(--space-2);
|
|
476
|
+
}
|
|
477
|
+
.kpi-card {
|
|
478
|
+
padding: var(--space-5);
|
|
479
|
+
background: var(--bg-2);
|
|
480
|
+
border-radius: var(--r-3);
|
|
481
|
+
}
|
|
482
|
+
.kpi-card .num {
|
|
483
|
+
font-family: var(--ff-body); font-weight: 600;
|
|
484
|
+
font-size: clamp(30px, 3.6cqi, 48px); line-height: 1;
|
|
485
|
+
letter-spacing: var(--tr-tight);
|
|
486
|
+
}
|
|
487
|
+
.kpi-card .lbl {
|
|
488
|
+
font-size: var(--fs-xs); color: var(--fg-3);
|
|
489
|
+
font-weight: 600; margin-top: 8px;
|
|
490
|
+
letter-spacing: var(--tr-caps); text-transform: uppercase;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/* ============================================================
|
|
494
|
+
Empty state
|
|
495
|
+
============================================================ */
|
|
496
|
+
.empty {
|
|
497
|
+
padding: var(--space-8);
|
|
498
|
+
text-align: center;
|
|
499
|
+
color: var(--fg-3);
|
|
500
|
+
background: var(--bg-2);
|
|
501
|
+
border-radius: var(--r-3);
|
|
502
|
+
font-size: var(--fs-sm);
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/* ============================================================
|
|
506
|
+
Form
|
|
507
|
+
============================================================ */
|
|
508
|
+
.row-form {
|
|
509
|
+
display: grid; gap: 12px;
|
|
510
|
+
padding: var(--space-5);
|
|
511
|
+
background: var(--bg-2);
|
|
512
|
+
border-radius: var(--r-3);
|
|
513
|
+
}
|
|
514
|
+
.row-form input,
|
|
515
|
+
.row-form textarea {
|
|
516
|
+
font-family: inherit; font-size: var(--fs-sm);
|
|
517
|
+
padding: 12px 16px;
|
|
518
|
+
background: var(--bg); color: var(--fg);
|
|
519
|
+
border: 0; border-radius: var(--r-2); outline: 0;
|
|
520
|
+
box-shadow: inset 0 0 0 1px var(--rule);
|
|
521
|
+
}
|
|
522
|
+
.row-form input:focus,
|
|
523
|
+
.row-form textarea:focus { box-shadow: inset 0 0 0 2px var(--accent); }
|
|
524
|
+
|
|
525
|
+
/* ============================================================
|
|
526
|
+
Responsive
|
|
527
|
+
============================================================ */
|
|
528
|
+
@container (max-width: 760px) {
|
|
529
|
+
.app-body { grid-template-columns: 1fr !important; }
|
|
530
|
+
.app-side-shell { border-right: 0; border-bottom: 1px solid var(--rule); }
|
|
531
|
+
.app-topbar { grid-template-columns: 1fr auto; }
|
|
532
|
+
.app-topbar nav { font-size: var(--fs-xs); gap: 14px; }
|
|
533
|
+
.row { grid-template-columns: minmax(0, 1fr) auto !important; row-gap: 4px !important; }
|
|
534
|
+
.row .sub { grid-column: 1 / -1; order: 3; }
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/* ============================================================
|
|
538
|
+
Chat — minimal styles (placeholder for full chat surface)
|
|
539
|
+
============================================================ */
|
|
540
|
+
.ds-chat { display: flex; flex-direction: column; gap: 12px; padding: var(--space-4); }
|
|
541
|
+
.ds-chat-msg { padding: 12px 18px; background: var(--bg-2); border-radius: var(--r-3); max-width: 36em; }
|
|
542
|
+
.ds-chat-msg.user { background: var(--accent); color: var(--accent-fg); align-self: flex-end; }
|
|
543
|
+
.ds-chat-md { font-size: var(--fs-sm); line-height: 1.6; }
|
|
544
|
+
.ds-chat-composer { display: flex; gap: 8px; padding: var(--space-4); }
|
|
545
|
+
.ds-chat-composer input { flex: 1; padding: 13px 18px; background: var(--bg-2); border: 0; border-radius: var(--r-pill); font-family: inherit; font-size: var(--fs-sm); color: var(--fg); outline: 0; }
|
|
546
|
+
.ds-chat-composer input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
|
|
547
|
+
|
|
548
|
+
/* ============================================================
|
|
549
|
+
File surface — minimal placeholder
|
|
550
|
+
============================================================ */
|
|
551
|
+
.ds-file-row {
|
|
552
|
+
display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto;
|
|
553
|
+
gap: 14px; align-items: center;
|
|
554
|
+
padding: 12px 18px; background: var(--bg);
|
|
555
|
+
border-radius: var(--r-2); color: var(--fg);
|
|
556
|
+
}
|
|
557
|
+
.ds-file-row + .ds-file-row { margin-top: 3px; }
|
|
558
|
+
.ds-file-row:hover { background: var(--bg-2); }
|
|
559
|
+
.ds-file-row[data-file-type="dir"] { border-left: 3px solid var(--accent); padding-left: 11px; }
|
|
560
|
+
.ds-file-row[data-file-type="image"] { border-left: 3px solid var(--mascot); padding-left: 11px; }
|
|
561
|
+
.ds-file-row[data-file-type="video"] { border-left: 3px solid var(--purple-2); padding-left: 11px; }
|
|
562
|
+
.ds-file-row[data-file-type="audio"] { border-left: 3px solid var(--sky); padding-left: 11px; }
|
|
563
|
+
.ds-file-row[data-file-type="code"] { border-left: 3px solid var(--green-2); padding-left: 11px; }
|
|
564
|
+
.ds-file-row[data-file-type="text"] { border-left: 3px solid var(--ink-3); padding-left: 11px; }
|
|
565
|
+
.ds-file-row[data-file-type="archive"] { border-left: 3px solid var(--flame); padding-left: 11px; }
|
|
566
|
+
.ds-file-row[data-file-type="document"] { border-left: 3px solid var(--sun); padding-left: 11px; }
|
|
567
|
+
.ds-file-row[data-file-type="other"] { border-left: 3px solid var(--fg-3); padding-left: 11px; }
|
|
568
|
+
.ds-file-row .name { font-weight: 500; }
|
|
569
|
+
.ds-file-row .size { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3); }
|
|
570
|
+
.ds-file-row .time { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3); }
|
|
571
|
+
|
|
572
|
+
/* ============================================================
|
|
573
|
+
Theme toggle (segmented + compact) — bound to src/theme.js
|
|
574
|
+
============================================================ */
|
|
575
|
+
.ds-segmented {
|
|
576
|
+
display: inline-flex; gap: 0; padding: 2px;
|
|
577
|
+
background: var(--bg-2); border-radius: var(--r-pill);
|
|
578
|
+
font-family: var(--ff-mono); font-size: var(--fs-xs);
|
|
579
|
+
}
|
|
580
|
+
.ds-segmented .ds-seg-btn {
|
|
581
|
+
background: transparent; border: 0; color: var(--fg-3);
|
|
582
|
+
padding: 4px 12px; border-radius: var(--r-pill); cursor: pointer;
|
|
583
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
584
|
+
transition: color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
|
|
585
|
+
}
|
|
586
|
+
.ds-segmented .ds-seg-btn:hover { color: var(--fg); }
|
|
587
|
+
.ds-segmented .ds-seg-btn.is-on {
|
|
588
|
+
background: var(--bg); color: var(--fg);
|
|
589
|
+
box-shadow: 0 1px 2px rgba(0,0,0,0.08);
|
|
590
|
+
}
|
|
591
|
+
.ds-theme-toggle.btn {
|
|
592
|
+
font-family: var(--ff-mono); font-size: var(--fs-xs);
|
|
593
|
+
display: inline-flex; align-items: center; gap: 6px;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/* ============================================================
|
|
597
|
+
Chat kit polish — styles every class emitted by Chat /
|
|
598
|
+
ChatMessage / ChatComposer / AICat. Before this block the
|
|
599
|
+
chat-* classes had no CSS and rendered as unstyled paragraphs.
|
|
600
|
+
============================================================ */
|
|
601
|
+
.chat {
|
|
602
|
+
display: flex; flex-direction: column;
|
|
603
|
+
flex: 1; min-height: 0; gap: var(--space-3);
|
|
604
|
+
}
|
|
605
|
+
.chat-head {
|
|
606
|
+
display: flex; align-items: baseline; gap: 8px;
|
|
607
|
+
padding: 0 0 var(--space-3);
|
|
608
|
+
font-family: var(--ff-mono); font-size: var(--fs-xs);
|
|
609
|
+
color: var(--fg-3); text-transform: lowercase; letter-spacing: 0.02em;
|
|
610
|
+
border-bottom: 1px solid color-mix(in oklab, var(--fg) 8%, transparent);
|
|
611
|
+
margin-bottom: var(--space-3);
|
|
612
|
+
}
|
|
613
|
+
.chat-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
|
|
614
|
+
.chat-head > span:nth-child(2) {
|
|
615
|
+
font-family: var(--ff-body); font-size: var(--fs-h4);
|
|
616
|
+
font-weight: 600; color: var(--fg);
|
|
617
|
+
text-transform: none; letter-spacing: var(--tr-tight, -0.01em); line-height: 1.2;
|
|
618
|
+
}
|
|
619
|
+
.chat-head .sub { color: var(--fg-3); }
|
|
620
|
+
.chat-head .spread { flex: 1; }
|
|
621
|
+
|
|
622
|
+
.chat-thread {
|
|
623
|
+
display: flex; flex-direction: column; gap: var(--space-3);
|
|
624
|
+
flex: 1; min-height: 0; overflow-y: auto;
|
|
625
|
+
padding: var(--space-2) 0;
|
|
626
|
+
scrollbar-width: thin; scrollbar-color: var(--bg-3) transparent;
|
|
627
|
+
scroll-behavior: smooth;
|
|
628
|
+
}
|
|
629
|
+
.chat-thread::-webkit-scrollbar { width: 8px; }
|
|
630
|
+
.chat-thread::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 4px; }
|
|
631
|
+
.chat-thread:empty::before {
|
|
632
|
+
content: 'no messages yet\astart the conversation';
|
|
633
|
+
white-space: pre;
|
|
634
|
+
color: var(--fg-3);
|
|
635
|
+
font-family: var(--ff-mono);
|
|
636
|
+
font-size: var(--fs-sm);
|
|
637
|
+
text-align: center;
|
|
638
|
+
margin: auto;
|
|
639
|
+
opacity: 0.6;
|
|
640
|
+
pointer-events: none;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.chat-msg { display: flex; gap: 12px; align-items: flex-start; padding: 2px 0; position: relative; }
|
|
644
|
+
.chat-msg.you { flex-direction: row-reverse; }
|
|
645
|
+
.chat-msg.you .chat-stack { align-items: flex-end; }
|
|
646
|
+
.chat-msg:hover { background: color-mix(in oklab, var(--fg) 1%, transparent); padding: 6px 8px; margin: -4px -8px; border-radius: 8px; transition: background 0.12s ease, padding 0.12s ease; }
|
|
647
|
+
|
|
648
|
+
.chat-avatar {
|
|
649
|
+
width: 36px; height: 36px; flex-shrink: 0;
|
|
650
|
+
border-radius: 50%; background: var(--bg-3); color: var(--fg);
|
|
651
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
652
|
+
font-family: var(--ff-mono); font-size: 12px; font-weight: 600;
|
|
653
|
+
text-transform: lowercase; letter-spacing: 0.02em; user-select: none;
|
|
654
|
+
transition: transform 0.12s ease, box-shadow 0.12s ease;
|
|
655
|
+
position: relative;
|
|
656
|
+
}
|
|
657
|
+
.chat-msg:hover .chat-avatar { transform: scale(1.08); box-shadow: 0 2px 8px color-mix(in oklab, var(--fg) 10%, transparent); }
|
|
658
|
+
.chat-msg.you .chat-avatar {
|
|
659
|
+
background: color-mix(in oklab, var(--accent) 26%, var(--bg-3));
|
|
660
|
+
color: var(--accent);
|
|
661
|
+
}
|
|
662
|
+
.chat-msg.aicat .chat-avatar {
|
|
663
|
+
background: color-mix(in oklab, var(--mascot) 26%, var(--bg-2));
|
|
664
|
+
color: var(--mascot);
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.chat-stack {
|
|
668
|
+
display: flex; flex-direction: column; gap: 4px;
|
|
669
|
+
max-width: min(70%, 56ch); min-width: 0;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.chat-bubble {
|
|
673
|
+
padding: 10px 14px; background: var(--bg-2); color: var(--fg);
|
|
674
|
+
border-radius: 14px; line-height: 1.55;
|
|
675
|
+
word-wrap: break-word; overflow-wrap: anywhere;
|
|
676
|
+
font-size: var(--fs-sm);
|
|
677
|
+
transition: transform 0.12s ease, box-shadow 0.12s ease;
|
|
678
|
+
}
|
|
679
|
+
.chat-msg:hover .chat-bubble { transform: translateY(-1px); box-shadow: 0 4px 16px color-mix(in oklab, var(--fg) 8%, transparent); }
|
|
680
|
+
.chat-msg.you .chat-bubble { background: var(--accent); color: var(--accent-fg); }
|
|
681
|
+
.chat-msg.aicat .chat-bubble {
|
|
682
|
+
background: color-mix(in oklab, var(--mascot) 14%, var(--bg-2));
|
|
683
|
+
border: 1px solid color-mix(in oklab, var(--mascot) 28%, transparent);
|
|
684
|
+
}
|
|
685
|
+
.chat-bubble code {
|
|
686
|
+
font-family: var(--ff-mono); font-size: 0.92em;
|
|
687
|
+
background: color-mix(in oklab, var(--fg) 10%, transparent);
|
|
688
|
+
padding: 1px 6px; border-radius: 4px;
|
|
689
|
+
}
|
|
690
|
+
.chat-msg.you .chat-bubble code { background: color-mix(in oklab, var(--accent-fg) 18%, transparent); }
|
|
691
|
+
.chat-bubble a {
|
|
692
|
+
color: inherit; text-decoration: underline;
|
|
693
|
+
text-underline-offset: 2px; text-decoration-thickness: 1px;
|
|
694
|
+
text-decoration-color: color-mix(in oklab, currentColor 50%, transparent);
|
|
695
|
+
}
|
|
696
|
+
.chat-bubble a:hover { text-decoration-color: currentColor; }
|
|
697
|
+
.chat-bubble strong { font-weight: 700; }
|
|
698
|
+
.chat-bubble em { font-style: italic; }
|
|
699
|
+
|
|
700
|
+
.chat-bubble.chat-md { line-height: 1.6; }
|
|
701
|
+
.chat-bubble.chat-md > :first-child { margin-top: 0; }
|
|
702
|
+
.chat-bubble.chat-md > :last-child { margin-bottom: 0; }
|
|
703
|
+
.chat-bubble.chat-md h1,
|
|
704
|
+
.chat-bubble.chat-md h2,
|
|
705
|
+
.chat-bubble.chat-md h3,
|
|
706
|
+
.chat-bubble.chat-md h4 {
|
|
707
|
+
font-family: var(--ff-body); font-weight: 600;
|
|
708
|
+
margin: 12px 0 6px; line-height: 1.3;
|
|
709
|
+
}
|
|
710
|
+
.chat-bubble.chat-md h1 { font-size: 1.15em; }
|
|
711
|
+
.chat-bubble.chat-md h2 { font-size: 1.08em; }
|
|
712
|
+
.chat-bubble.chat-md h3 { font-size: 1.04em; }
|
|
713
|
+
.chat-bubble.chat-md p { margin: 6px 0; }
|
|
714
|
+
.chat-bubble.chat-md ul,
|
|
715
|
+
.chat-bubble.chat-md ol { margin: 6px 0; padding-left: 22px; }
|
|
716
|
+
.chat-bubble.chat-md li { margin: 3px 0; }
|
|
717
|
+
.chat-bubble.chat-md blockquote {
|
|
718
|
+
margin: 8px 0; padding: 4px 12px;
|
|
719
|
+
border-left: 3px solid color-mix(in oklab, currentColor 30%, transparent);
|
|
720
|
+
color: color-mix(in oklab, currentColor 75%, transparent); font-style: italic;
|
|
721
|
+
}
|
|
722
|
+
.chat-bubble.chat-md pre {
|
|
723
|
+
background: color-mix(in oklab, var(--fg) 8%, transparent);
|
|
724
|
+
padding: 10px 12px; border-radius: 6px; overflow-x: auto;
|
|
725
|
+
font-family: var(--ff-mono); font-size: 0.9em; margin: 8px 0;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.chat-msg .chat-bubble.chat-code,
|
|
729
|
+
.chat-msg.you .chat-bubble.chat-code,
|
|
730
|
+
.chat-bubble.chat-code {
|
|
731
|
+
padding: 0; background: var(--bg);
|
|
732
|
+
color: var(--fg);
|
|
733
|
+
border: 1px solid color-mix(in oklab, var(--fg) 12%, transparent);
|
|
734
|
+
overflow: hidden; max-width: min(90%, 72ch);
|
|
735
|
+
}
|
|
736
|
+
.chat-code-head {
|
|
737
|
+
display: flex; align-items: center; gap: 10px;
|
|
738
|
+
padding: 8px 12px;
|
|
739
|
+
background: color-mix(in oklab, var(--fg) 6%, var(--bg-2));
|
|
740
|
+
border-bottom: 1px solid color-mix(in oklab, var(--fg) 12%, transparent);
|
|
741
|
+
font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3);
|
|
742
|
+
}
|
|
743
|
+
.chat-code-head .lang { text-transform: uppercase; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; }
|
|
744
|
+
.chat-code-head .filename,
|
|
745
|
+
.chat-code-head .name { color: var(--fg-2); font-weight: 500; }
|
|
746
|
+
.chat-code-head .spread { flex: 1; }
|
|
747
|
+
.chat-bubble.chat-code pre {
|
|
748
|
+
margin: 0; padding: 12px 16px; background: transparent;
|
|
749
|
+
font-family: var(--ff-mono); font-size: var(--fs-xs); line-height: 1.55;
|
|
750
|
+
overflow-x: auto; color: var(--fg); border-radius: 0;
|
|
751
|
+
}
|
|
752
|
+
.chat-bubble.chat-code code { background: transparent; padding: 0; font-size: inherit; }
|
|
753
|
+
.chat-bubble.chat-code .token.keyword,
|
|
754
|
+
.chat-bubble.chat-code .token.atrule,
|
|
755
|
+
.chat-bubble.chat-code .token.selector { color: var(--accent); }
|
|
756
|
+
.chat-bubble.chat-code .token.string,
|
|
757
|
+
.chat-bubble.chat-code .token.attr-value { color: var(--mascot); }
|
|
758
|
+
.chat-bubble.chat-code .token.comment { color: var(--fg-3); font-style: italic; }
|
|
759
|
+
.chat-bubble.chat-code .token.number,
|
|
760
|
+
.chat-bubble.chat-code .token.boolean { color: var(--sun); }
|
|
761
|
+
.chat-bubble.chat-code .token.punctuation { color: var(--fg-2); }
|
|
762
|
+
.chat-bubble.chat-code .token.property,
|
|
763
|
+
.chat-bubble.chat-code .token.attr-name { color: var(--sky); }
|
|
764
|
+
|
|
765
|
+
.chat-msg.you .chat-image,
|
|
766
|
+
.chat-msg .chat-image,
|
|
767
|
+
.chat-image {
|
|
768
|
+
display: inline-block; border-radius: 12px; overflow: hidden;
|
|
769
|
+
max-width: min(100%, 480px); background: var(--bg-2);
|
|
770
|
+
text-decoration: none; color: var(--fg);
|
|
771
|
+
border: 1px solid color-mix(in oklab, var(--fg) 10%, transparent);
|
|
772
|
+
transition: box-shadow 0.15s ease, border-color 0.15s ease;
|
|
773
|
+
}
|
|
774
|
+
.chat-msg:hover .chat-image,
|
|
775
|
+
.chat-image:hover {
|
|
776
|
+
border-color: color-mix(in oklab, var(--accent) 35%, transparent);
|
|
777
|
+
box-shadow: 0 4px 16px color-mix(in oklab, var(--fg) 12%, transparent);
|
|
778
|
+
}
|
|
779
|
+
.chat-image img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; }
|
|
780
|
+
.chat-image .cap,
|
|
781
|
+
.chat-image .caption { display: block; padding: 8px 12px; font-size: var(--fs-xs); color: var(--fg-3); font-family: var(--ff-mono); }
|
|
782
|
+
|
|
783
|
+
.chat-msg.you .chat-file,
|
|
784
|
+
.chat-msg .chat-file,
|
|
785
|
+
.chat-file {
|
|
786
|
+
display: flex; align-items: center; gap: 12px; padding: 12px 14px;
|
|
787
|
+
background: var(--bg-2); border: 1px solid color-mix(in oklab, var(--fg) 10%, transparent);
|
|
788
|
+
border-radius: 12px; text-decoration: none; color: var(--fg);
|
|
789
|
+
max-width: min(100%, 360px);
|
|
790
|
+
transition: background var(--dur-snap, .15s) var(--ease, ease), border-color var(--dur-snap, .15s) var(--ease, ease);
|
|
791
|
+
}
|
|
792
|
+
.chat-file:hover { background: var(--bg-3); border-color: color-mix(in oklab, var(--accent) 40%, transparent); }
|
|
793
|
+
.chat-file .glyph {
|
|
794
|
+
font-size: 22px; width: 36px; height: 36px;
|
|
795
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
796
|
+
background: color-mix(in oklab, var(--accent) 18%, transparent);
|
|
797
|
+
color: var(--accent); border-radius: 8px; flex-shrink: 0; font-family: var(--ff-mono);
|
|
798
|
+
}
|
|
799
|
+
.chat-file > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
800
|
+
.chat-file .name {
|
|
801
|
+
font-weight: 600; font-size: var(--fs-sm);
|
|
802
|
+
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
|
|
803
|
+
}
|
|
804
|
+
.chat-file .meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
|
|
805
|
+
.chat-file .size { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3); }
|
|
806
|
+
.chat-file .go { font-family: var(--ff-mono); font-size: 16px; color: var(--fg-3); flex-shrink: 0; }
|
|
807
|
+
.chat-file:hover .go { color: var(--accent); }
|
|
808
|
+
|
|
809
|
+
.chat-msg.you .chat-pdf,
|
|
810
|
+
.chat-msg .chat-pdf,
|
|
811
|
+
.chat-pdf {
|
|
812
|
+
background: var(--bg-2);
|
|
813
|
+
color: var(--fg);
|
|
814
|
+
border: 1px solid color-mix(in oklab, var(--fg) 10%, transparent);
|
|
815
|
+
border-radius: 12px; overflow: hidden; max-width: min(100%, 480px);
|
|
816
|
+
transition: box-shadow 0.12s ease, border-color 0.12s ease;
|
|
817
|
+
}
|
|
818
|
+
.chat-msg:hover .chat-pdf { border-color: color-mix(in oklab, var(--accent) 30%, transparent); box-shadow: 0 2px 12px color-mix(in oklab, var(--fg) 6%, transparent); }
|
|
819
|
+
.chat-pdf-head {
|
|
820
|
+
display: flex; align-items: center; gap: 10px; padding: 10px 14px;
|
|
821
|
+
background: color-mix(in oklab, var(--fg) 5%, var(--bg-2));
|
|
822
|
+
border-bottom: 1px solid color-mix(in oklab, var(--fg) 10%, transparent);
|
|
823
|
+
}
|
|
824
|
+
.chat-pdf-head .glyph { font-size: 18px; color: var(--mascot); flex-shrink: 0; }
|
|
825
|
+
.chat-pdf-head .name { flex: 1; font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
826
|
+
.chat-pdf-head .size { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3); }
|
|
827
|
+
.chat-pdf-head a { color: var(--accent); font-family: var(--ff-mono); font-size: var(--fs-xs); text-decoration: none; }
|
|
828
|
+
.chat-pdf embed,
|
|
829
|
+
.chat-pdf iframe,
|
|
830
|
+
.chat-pdf object { width: 100%; height: 360px; border: 0; display: block; }
|
|
831
|
+
|
|
832
|
+
.chat-msg.you .chat-link,
|
|
833
|
+
.chat-msg .chat-link,
|
|
834
|
+
.chat-link {
|
|
835
|
+
display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 10px;
|
|
836
|
+
background: var(--bg-2);
|
|
837
|
+
border: 1px solid color-mix(in oklab, var(--fg) 10%, transparent);
|
|
838
|
+
border-radius: 12px; text-decoration: none; color: var(--fg);
|
|
839
|
+
max-width: min(100%, 480px);
|
|
840
|
+
transition: background var(--dur-snap, .15s) var(--ease, ease), border-color var(--dur-snap, .15s) var(--ease, ease), box-shadow 0.15s ease;
|
|
841
|
+
}
|
|
842
|
+
.chat-msg:hover .chat-link,
|
|
843
|
+
.chat-link:hover {
|
|
844
|
+
background: var(--bg-3);
|
|
845
|
+
border-color: color-mix(in oklab, var(--accent) 40%, transparent);
|
|
846
|
+
box-shadow: 0 2px 12px color-mix(in oklab, var(--fg) 8%, transparent);
|
|
847
|
+
}
|
|
848
|
+
.chat-link:not(:has(.thumb)):not(:has(img)) { grid-template-columns: 1fr; }
|
|
849
|
+
.chat-link .thumb,
|
|
850
|
+
.chat-link img.thumb { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; background: var(--bg-3) center/cover no-repeat; }
|
|
851
|
+
.chat-link .meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
852
|
+
.chat-link .host { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3); text-transform: lowercase; }
|
|
853
|
+
.chat-link .title { font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
|
854
|
+
.chat-link .desc { font-size: var(--fs-xs); color: var(--fg-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
|
855
|
+
|
|
856
|
+
.chat-meta {
|
|
857
|
+
display: flex; align-items: center; gap: 6px;
|
|
858
|
+
font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3);
|
|
859
|
+
padding: 0 6px; letter-spacing: 0.02em;
|
|
860
|
+
}
|
|
861
|
+
.chat-meta .who { font-weight: 600; color: var(--fg-2); }
|
|
862
|
+
.chat-meta .who::after { content: ' ·'; color: var(--fg-3); font-weight: 400; }
|
|
863
|
+
.chat-meta .t { color: var(--fg-3); }
|
|
864
|
+
.chat-meta .tick { color: var(--fg-3); margin-left: 2px; letter-spacing: -2px; font-family: var(--ff-mono); }
|
|
865
|
+
.chat-meta .tick.read { color: var(--accent); }
|
|
866
|
+
|
|
867
|
+
.chat-reactions {
|
|
868
|
+
display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px;
|
|
869
|
+
}
|
|
870
|
+
.chat-reactions .rxn {
|
|
871
|
+
display: inline-flex; align-items: center; gap: 4px;
|
|
872
|
+
padding: 2px 8px; background: var(--bg-2);
|
|
873
|
+
border: 1px solid color-mix(in oklab, var(--fg) 10%, transparent);
|
|
874
|
+
border-radius: 999px; font-size: var(--fs-xs);
|
|
875
|
+
cursor: pointer; user-select: none;
|
|
876
|
+
transition: background var(--dur-snap, .12s) var(--ease, ease), border-color var(--dur-snap, .12s) var(--ease, ease), transform 0.12s ease;
|
|
877
|
+
position: relative;
|
|
878
|
+
}
|
|
879
|
+
.chat-reactions .rxn:hover { background: var(--bg-3); border-color: color-mix(in oklab, var(--accent) 40%, transparent); transform: scale(1.06); }
|
|
880
|
+
.chat-reactions .rxn.you {
|
|
881
|
+
background: color-mix(in oklab, var(--accent) 18%, var(--bg-2));
|
|
882
|
+
border-color: color-mix(in oklab, var(--accent) 55%, transparent);
|
|
883
|
+
color: var(--accent);
|
|
884
|
+
}
|
|
885
|
+
.chat-reactions .rxn .e { font-size: 14px; line-height: 1; }
|
|
886
|
+
.chat-reactions .rxn .n { font-family: var(--ff-mono); font-weight: 600; font-size: 11px; color: var(--fg-2); }
|
|
887
|
+
.chat-reactions .rxn.you .n { color: var(--accent); }
|
|
888
|
+
|
|
889
|
+
.chat-typing { display: inline-flex; gap: 4px; align-items: center; }
|
|
890
|
+
.chat-typing span {
|
|
891
|
+
width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3);
|
|
892
|
+
animation: chat-typing-bounce 1.4s infinite ease-in-out;
|
|
893
|
+
}
|
|
894
|
+
.chat-typing span:nth-child(1) { animation-delay: 0s; }
|
|
895
|
+
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
|
|
896
|
+
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }
|
|
897
|
+
@keyframes chat-typing-bounce {
|
|
898
|
+
0%, 60%, 100% { transform: translateY(0); opacity: 0.55; }
|
|
899
|
+
30% { transform: translateY(-5px); opacity: 1; }
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
@keyframes chat-fade-in {
|
|
903
|
+
from { opacity: 0; transform: translateY(8px); }
|
|
904
|
+
to { opacity: 1; transform: translateY(0); }
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.chat-msg {
|
|
908
|
+
animation: chat-fade-in 0.3s ease-out forwards;
|
|
909
|
+
}
|
|
910
|
+
.chat-msg:nth-child(1) { animation-delay: 0s; }
|
|
911
|
+
.chat-msg:nth-child(2) { animation-delay: 0.05s; }
|
|
912
|
+
.chat-msg:nth-child(3) { animation-delay: 0.1s; }
|
|
913
|
+
.chat-msg:nth-child(n+4) { animation-delay: 0.15s; }
|
|
914
|
+
|
|
915
|
+
.chat-composer {
|
|
916
|
+
display: flex; align-items: flex-end; gap: 8px;
|
|
917
|
+
padding: var(--space-3) 0 0;
|
|
918
|
+
border-top: 1px solid color-mix(in oklab, var(--fg) 8%, transparent);
|
|
919
|
+
flex-shrink: 0;
|
|
920
|
+
}
|
|
921
|
+
.chat-composer textarea {
|
|
922
|
+
flex: 1; padding: 12px 16px;
|
|
923
|
+
background: var(--bg-2); color: var(--fg);
|
|
924
|
+
border: 1px solid transparent; border-radius: var(--r-pill);
|
|
925
|
+
font-family: inherit; font-size: var(--fs-sm);
|
|
926
|
+
line-height: 1.4; resize: none; outline: 0;
|
|
927
|
+
min-height: 44px; max-height: 200px;
|
|
928
|
+
}
|
|
929
|
+
.chat-composer textarea::placeholder { color: var(--fg-3); }
|
|
930
|
+
.chat-composer textarea:focus {
|
|
931
|
+
background: var(--bg-2);
|
|
932
|
+
border-color: var(--accent);
|
|
933
|
+
box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent) 20%, transparent);
|
|
934
|
+
outline: none;
|
|
935
|
+
}
|
|
936
|
+
.chat-composer .send,
|
|
937
|
+
.chat-composer button {
|
|
938
|
+
width: 44px; height: 44px; border-radius: 50%;
|
|
939
|
+
background: var(--accent); color: var(--accent-fg);
|
|
940
|
+
border: 0; cursor: pointer; font-size: 18px; font-weight: 700;
|
|
941
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
942
|
+
flex-shrink: 0; font-family: var(--ff-body);
|
|
943
|
+
transition: background var(--dur-snap, .15s) var(--ease, ease), transform .1s ease;
|
|
944
|
+
}
|
|
945
|
+
.chat-composer .send:hover,
|
|
946
|
+
.chat-composer button:hover { transform: scale(1.04); }
|
|
947
|
+
.chat-composer .send:active,
|
|
948
|
+
.chat-composer button:active { transform: scale(0.96); }
|
|
949
|
+
.chat-composer .send:disabled,
|
|
950
|
+
.chat-composer button:disabled {
|
|
951
|
+
background: var(--bg-3); color: var(--fg-3); cursor: not-allowed; transform: none;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.aicat-portrait { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; }
|
|
955
|
+
.aicat-face {
|
|
956
|
+
width: 32px; height: 32px; font-size: 24px;
|
|
957
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
958
|
+
background: color-mix(in oklab, var(--mascot) 22%, var(--bg-2));
|
|
959
|
+
border-radius: 50%; flex-shrink: 0;
|
|
960
|
+
}
|
|
961
|
+
.aicat-meta { display: flex; flex-direction: column; font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--fg-3); }
|
|
962
|
+
.aicat-meta .name { color: var(--mascot); font-weight: 600; }
|
|
963
|
+
|
|
964
|
+
/* ============================================================
|
|
965
|
+
Sidebar polish: hide zero-count badges; tonal active state;
|
|
966
|
+
monospace count chips.
|
|
967
|
+
============================================================ */
|
|
968
|
+
.app-side .count {
|
|
969
|
+
background: color-mix(in oklab, var(--mascot) 92%, transparent);
|
|
970
|
+
padding: 1px 8px; font-size: 10px; font-weight: 700;
|
|
971
|
+
font-family: var(--ff-mono); letter-spacing: 0.04em;
|
|
972
|
+
min-width: 18px; text-align: center;
|
|
973
|
+
}
|
|
974
|
+
.app-side a:has(> .count:empty) > .count,
|
|
975
|
+
.app-side .count:empty { display: none; }
|
|
976
|
+
.app-side a .glyph { font-family: var(--ff-mono); font-size: 13px; font-weight: 600; color: var(--fg-3); text-align: center; }
|
|
977
|
+
.app-side a.active .glyph { color: var(--accent); }
|