@parley-im/parley 0.2.7 → 0.2.8
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/package.json +1 -1
- package/web/app.css +24 -49
- package/web/chat.html +1 -2
- package/web/ended.html +1 -0
- package/web/missing.html +1 -0
- package/web/panel.html +1 -0
package/package.json
CHANGED
package/web/app.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* parley: one stylesheet for the guest chat, your session view, your
|
|
2
|
-
control panel and parley's site.
|
|
3
|
-
people who use Claude Code and Codex: Instrument Sans for everything
|
|
2
|
+
control panel and parley's site. Near black, with deep, murky ocean green
|
|
3
|
+
for accents, for the people who use Claude Code and Codex: Instrument Sans for everything
|
|
4
4
|
people read, JetBrains Mono for the wordmark, labels, files and numbers.
|
|
5
5
|
The agent's words are marked with a dot, as in Claude Code, and while it
|
|
6
6
|
writes, P goes by in Morse. The fonts are served from here, never from a
|
|
@@ -11,55 +11,30 @@
|
|
|
11
11
|
@font-face { font-family: "JetBrains Mono"; src: url("/static/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
|
|
12
12
|
|
|
13
13
|
:root {
|
|
14
|
-
--bg: #
|
|
15
|
-
--panel: #
|
|
16
|
-
--subtle: #
|
|
17
|
-
--hover: #
|
|
18
|
-
--line: #
|
|
19
|
-
--line-strong: #
|
|
20
|
-
--text: #
|
|
21
|
-
--muted: #
|
|
22
|
-
--faint: #
|
|
23
|
-
--accent: #
|
|
24
|
-
--accent-fill: #
|
|
25
|
-
--accent-soft: #
|
|
14
|
+
--bg: #070a09; /* near black, the deep */
|
|
15
|
+
--panel: #0d1311;
|
|
16
|
+
--subtle: #121a17;
|
|
17
|
+
--hover: #18221e;
|
|
18
|
+
--line: #1a2420;
|
|
19
|
+
--line-strong: #2a3833;
|
|
20
|
+
--text: #e6ece9;
|
|
21
|
+
--muted: #95a39d;
|
|
22
|
+
--faint: #5d6b65;
|
|
23
|
+
--accent: #6db39c; /* sea glass, for links and small marks */
|
|
24
|
+
--accent-fill: #1f5c50; /* deep ocean green, for buttons and fills */
|
|
25
|
+
--accent-soft: #11241f;
|
|
26
26
|
--accent-ink: #ffffff;
|
|
27
|
-
--tile: #
|
|
28
|
-
--guest: #
|
|
29
|
-
--guest-ink: #
|
|
30
|
-
--ok: #
|
|
31
|
-
--warn: #
|
|
32
|
-
--danger: #
|
|
33
|
-
--shadow: 0 1px 2px rgba(
|
|
27
|
+
--tile: #1f5c50; /* the mark's tile */
|
|
28
|
+
--guest: #12302a; /* your own messages */
|
|
29
|
+
--guest-ink: #d5e7e0;
|
|
30
|
+
--ok: #4fb88a;
|
|
31
|
+
--warn: #d9a24a;
|
|
32
|
+
--danger: #f2615d;
|
|
33
|
+
--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -16px rgba(0, 0, 0, 0.8);
|
|
34
34
|
--sans: "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
35
35
|
--display: var(--sans);
|
|
36
36
|
--mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
|
|
37
|
-
color-scheme:
|
|
38
|
-
}
|
|
39
|
-
@media (prefers-color-scheme: dark) {
|
|
40
|
-
:root:not([data-theme="light"]) {
|
|
41
|
-
--bg: #0b1513; /* the deep */
|
|
42
|
-
--panel: #111c19;
|
|
43
|
-
--subtle: #16231f;
|
|
44
|
-
--hover: #1d2b27;
|
|
45
|
-
--line: #1f2d29;
|
|
46
|
-
--line-strong: #30423c;
|
|
47
|
-
--text: #e3ebe7;
|
|
48
|
-
--muted: #9baea6;
|
|
49
|
-
--faint: #62726b;
|
|
50
|
-
--accent: #86c2ae; /* sea glass, through murky water */
|
|
51
|
-
--accent-fill: #2e6c5f;
|
|
52
|
-
--accent-soft: #19302a;
|
|
53
|
-
--accent-ink: #ffffff;
|
|
54
|
-
--tile: #2e6c5f;
|
|
55
|
-
--guest: #1b2e28;
|
|
56
|
-
--guest-ink: #dbe9e3;
|
|
57
|
-
--ok: #5fc296;
|
|
58
|
-
--warn: #dba54a;
|
|
59
|
-
--danger: #ff6f6b;
|
|
60
|
-
--shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
|
|
61
|
-
color-scheme: dark;
|
|
62
|
-
}
|
|
37
|
+
color-scheme: dark;
|
|
63
38
|
}
|
|
64
39
|
|
|
65
40
|
* { box-sizing: border-box; }
|
|
@@ -123,7 +98,7 @@ code, kbd, pre { font-family: var(--mono); }
|
|
|
123
98
|
.btn:hover { background: var(--subtle); }
|
|
124
99
|
.btn:disabled { opacity: 0.5; cursor: default; }
|
|
125
100
|
.btn.primary { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); }
|
|
126
|
-
.btn.primary:hover {
|
|
101
|
+
.btn.primary:hover { filter: brightness(1.18); }
|
|
127
102
|
.btn.danger { color: var(--danger); }
|
|
128
103
|
.btn.confirm { background: var(--danger); color: #fff; border-color: var(--danger); }
|
|
129
104
|
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
|
|
@@ -291,7 +266,7 @@ textarea::placeholder { color: var(--faint); }
|
|
|
291
266
|
.icon-btn:hover { background: var(--subtle); color: var(--text); }
|
|
292
267
|
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
293
268
|
.send { background: var(--accent-fill); color: var(--accent-ink); border-radius: 11px; }
|
|
294
|
-
.send:hover { background: var(--accent-fill); color: var(--accent-ink);
|
|
269
|
+
.send:hover { background: var(--accent-fill); color: var(--accent-ink); filter: brightness(1.18); }
|
|
295
270
|
.send:disabled { background: var(--subtle); color: var(--faint); cursor: default; opacity: 1; }
|
|
296
271
|
.attachments { display: flex; gap: 8px; padding: 10px 10px 0; flex-wrap: wrap; }
|
|
297
272
|
.thumb { position: relative; }
|
package/web/chat.html
CHANGED
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content">
|
|
6
6
|
<meta name="robots" content="noindex, nofollow">
|
|
7
7
|
<meta name="referrer" content="no-referrer">
|
|
8
|
-
<meta name="theme-color" content="#
|
|
9
|
-
<meta name="theme-color" content="#f2f4f1" media="(prefers-color-scheme: light)">
|
|
8
|
+
<meta name="theme-color" content="#070a09">
|
|
10
9
|
<meta property="og:title" content="{{PREVIEW_TITLE}}">
|
|
11
10
|
<meta property="og:description" content="{{PREVIEW_TEXT}}">
|
|
12
11
|
<meta property="og:site_name" content="parley">
|
package/web/ended.html
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<meta name="theme-color" content="#070a09">
|
|
6
7
|
<meta name="robots" content="noindex, nofollow">
|
|
7
8
|
<title>This parley has ended</title>
|
|
8
9
|
<link rel="icon" href="/static/icon.svg?v=5" type="image/svg+xml">
|
package/web/missing.html
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<meta name="theme-color" content="#070a09">
|
|
6
7
|
<meta name="robots" content="noindex, nofollow">
|
|
7
8
|
<title>Link not found</title>
|
|
8
9
|
<link rel="icon" href="/static/icon.svg?v=5" type="image/svg+xml">
|
package/web/panel.html
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<meta name="theme-color" content="#070a09">
|
|
6
7
|
<title>Control panel · parley</title>
|
|
7
8
|
<link rel="icon" href="/static/icon.svg?v=5" type="image/svg+xml">
|
|
8
9
|
<link rel="stylesheet" href="/static/app.css">
|