agentchannel 0.8.0 → 0.8.2

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/ui/style.css CHANGED
@@ -1,71 +1,101 @@
1
1
  *,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
2
2
 
3
- /* Ghostty-inspired dark theme */
3
+ /* Dark theme (default) — inspired by Linear's dark-native approach */
4
4
  :root {
5
- --bg: #0e1117;
6
- --bg-alt: #1a1f2b;
7
- --bg-sidebar: #060810;
8
- --bg-bubble: #131620;
9
- --bg-bubble-self: #1a1e2a;
10
- --bg-hover: rgba(255,255,255,0.03);
11
- --text: #e8ecf2;
12
- --text-secondary: #b8c0d0;
13
- --text-muted: #606878;
14
- --text-sidebar: #7a8494;
15
- --text-sidebar-active: #cdd6e4;
16
- --mention-bg: rgba(255,140,50,0.12);
17
- --mention-text: #ff8c32;
18
- --border: #1c2030;
19
- --accent: #00e676;
20
- --sidebar-active: #1c2030;
5
+ --bg: #0a0b0f;
6
+ --bg-alt: #14161e;
7
+ --bg-sidebar: #060608;
8
+ --bg-bubble: #111318;
9
+ --bg-bubble-self: #181a22;
10
+ --bg-hover: rgba(255,255,255,0.04);
11
+ --text: #f0f1f3;
12
+ --text-secondary: #a0a8b8;
13
+ --text-body: #bcc3d0;
14
+ --text-muted: #555d6e;
15
+ --text-sidebar: #6b7585;
16
+ --text-sidebar-active: #d0d5de;
17
+ --mention-bg: rgba(0,200,88,0.08);
18
+ --mention-text: #00c858;
19
+ --border: rgba(255,255,255,0.06);
20
+ --accent: #00c858;
21
+ --accent-brand: #00c858;
22
+ --accent-brand-bg: rgba(0,200,88,0.10);
23
+ --sidebar-active: rgba(255,255,255,0.06);
24
+ --tag: #7a8da8;
25
+ --tag-bg: rgba(100,130,180,0.06);
26
+ --icon-btn-bg: rgba(255,255,255,0.08);
27
+ --icon-btn-border: rgba(255,255,255,0.12);
28
+ --icon-btn-hover: rgba(255,255,255,0.16);
29
+ --scrollbar: rgba(255,255,255,0.06);
21
30
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
22
31
  }
23
32
 
24
- /* Light mode — follows system preference */
33
+ /* Light mode — warm Notion-inspired neutrals */
25
34
  @media (prefers-color-scheme: light) {
26
35
  :root:not(.dark) {
27
- --bg: #ffffff; --bg-alt: #f7f7f8; --bg-sidebar: #f7f7f8;
28
- --bg-bubble: #f7f7f8; --bg-bubble-self: #ececf1;
29
- --bg-hover: rgba(0,0,0,0.02);
30
- --text: #0d0d0d; --text-secondary: #6b6c7b; --text-muted: #acacbe;
31
- --text-sidebar: #6b6c7b; --text-sidebar-active: #0d0d0d;
32
- --mention-bg: rgba(59,130,246,0.08); --mention-text: #2563eb;
33
- --border: #e5e5e5; --accent: #0d0d0d; --sidebar-active: #ececf1;
36
+ --bg: #fefefe; --bg-alt: #f5f3ef; --bg-sidebar: #f7f5f2;
37
+ --bg-bubble: #f5f3ef; --bg-bubble-self: #edeae5;
38
+ --bg-hover: rgba(0,0,0,0.03);
39
+ --text: rgba(0,0,0,0.88); --text-body: rgba(0,0,0,0.65); --text-secondary: rgba(0,0,0,0.55); --text-muted: rgba(0,0,0,0.35);
40
+ --text-sidebar: rgba(0,0,0,0.50); --text-sidebar-active: rgba(0,0,0,0.85);
41
+ --mention-bg: rgba(0,200,88,0.06); --mention-text: #1a7a42;
42
+ --border: rgba(0,0,0,0.08); --accent: rgba(0,0,0,0.85); --accent-brand: #00c858;
43
+ --accent-brand-bg: rgba(0,200,88,0.08);
44
+ --sidebar-active: rgba(0,0,0,0.05);
45
+ --tag: rgba(0,0,0,0.40); --tag-bg: rgba(0,0,0,0.04);
46
+ --icon-btn-bg: rgba(0,0,0,0.04); --icon-btn-border: rgba(0,0,0,0.08);
47
+ --icon-btn-hover: rgba(0,0,0,0.08);
48
+ --scrollbar: rgba(0,0,0,0.08);
34
49
  }
35
50
  }
36
51
  /* Manual dark override */
37
52
  :root.dark {
38
- --bg: #0e1117; --bg-alt: #1a1f2b; --bg-sidebar: #060810;
39
- --bg-bubble: #131620; --bg-bubble-self: #1a1e2a;
40
- --bg-hover: rgba(255,255,255,0.03);
41
- --text: #e8ecf2; --text-secondary: #b8c0d0; --text-muted: #606878;
42
- --text-sidebar: #8a94a4; --text-sidebar-active: #e8ecf2;
43
- --mention-bg: rgba(255,140,50,0.12); --mention-text: #ff8c32;
44
- --border: #1c2030; --accent: #00e676; --sidebar-active: #1c2030;
53
+ --bg: #0a0b0f; --bg-alt: #14161e; --bg-sidebar: #060608;
54
+ --bg-bubble: #111318; --bg-bubble-self: #181a22;
55
+ --bg-hover: rgba(255,255,255,0.04);
56
+ --text: #f0f1f3; --text-body: #bcc3d0; --text-secondary: #a0a8b8; --text-muted: #555d6e;
57
+ --text-sidebar: #6b7585; --text-sidebar-active: #d0d5de;
58
+ --mention-bg: rgba(0,200,88,0.08); --mention-text: #00c858;
59
+ --border: rgba(255,255,255,0.06); --accent: #00c858; --accent-brand: #00c858;
60
+ --accent-brand-bg: rgba(0,200,88,0.10);
61
+ --sidebar-active: rgba(255,255,255,0.06);
62
+ --tag: #7a8da8; --tag-bg: rgba(100,130,180,0.06);
63
+ --icon-btn-bg: rgba(255,255,255,0.08); --icon-btn-border: rgba(255,255,255,0.12);
64
+ --icon-btn-hover: rgba(255,255,255,0.16);
65
+ --scrollbar: rgba(255,255,255,0.06);
45
66
  }
46
67
  /* Manual light override */
47
68
  :root.light {
48
- --bg: #ffffff; --bg-alt: #f7f7f8; --bg-sidebar: #f7f7f8;
49
- --bg-bubble: #f7f7f8; --bg-bubble-self: #ececf1;
50
- --bg-hover: rgba(0,0,0,0.02);
51
- --text: #0d0d0d; --text-secondary: #6b6c7b; --text-muted: #acacbe;
52
- --text-sidebar: #6b6c7b; --text-sidebar-active: #0d0d0d;
53
- --mention-bg: rgba(59,130,246,0.08); --mention-text: #2563eb;
54
- --border: #e5e5e5; --accent: #0d0d0d; --sidebar-active: #ececf1;
69
+ --bg: #fefefe; --bg-alt: #f5f3ef; --bg-sidebar: #f7f5f2;
70
+ --bg-bubble: #f5f3ef; --bg-bubble-self: #edeae5;
71
+ --bg-hover: rgba(0,0,0,0.03);
72
+ --text: rgba(0,0,0,0.88); --text-body: rgba(0,0,0,0.65); --text-secondary: rgba(0,0,0,0.55); --text-muted: rgba(0,0,0,0.35);
73
+ --text-sidebar: rgba(0,0,0,0.50); --text-sidebar-active: rgba(0,0,0,0.85);
74
+ --mention-bg: rgba(0,200,88,0.06); --mention-text: #1a7a42;
75
+ --border: rgba(0,0,0,0.08); --accent: rgba(0,0,0,0.85); --accent-brand: #00c858;
76
+ --accent-brand-bg: rgba(0,200,88,0.08);
77
+ --sidebar-active: rgba(0,0,0,0.05);
78
+ --tag: rgba(0,0,0,0.40); --tag-bg: rgba(0,0,0,0.04);
79
+ --icon-btn-bg: rgba(0,0,0,0.04); --icon-btn-border: rgba(0,0,0,0.08);
80
+ --icon-btn-hover: rgba(0,0,0,0.08);
81
+ --scrollbar: rgba(0,0,0,0.08);
55
82
  }
56
83
 
57
84
  html { font-size: 16px; -webkit-font-smoothing: antialiased; }
58
85
  body { font-family: var(--font); background: var(--bg); color: var(--text); height: 100vh; overflow: hidden; }
59
86
 
60
- .app { display: flex; height: 100vh; }
87
+ .app { display: flex; height: 100vh; border-top: 1px solid var(--border); }
61
88
 
62
89
  /* Sidebar */
63
90
  .sidebar { width: 260px; background: var(--bg-sidebar); border-right: 1px solid var(--border); display: flex; flex-direction: column; flex-shrink: 0; }
64
- .sidebar__header { padding: 20px; display: flex; flex-direction: column; gap: 2px; }
91
+ .sidebar__header { padding: 16px 20px 0; display: flex; align-items: center; justify-content: space-between; }
92
+ .sidebar__tagline-row { padding: 2px 20px 12px; }
93
+ .sidebar__collapse { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; border-radius: 4px; line-height: 0; }
94
+ .sidebar__collapse:hover { color: var(--text); background: var(--bg-hover); }
65
95
  .sidebar__brand { font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
66
96
  .sidebar__tagline { font-size: 0.7rem; color: var(--text-muted); }
67
97
  .sidebar__channels { flex: 1; padding: 0 8px; overflow-y: auto; }
68
- .sidebar__channel { display: flex; align-items: center; padding: 5px 12px; border-radius: 6px; cursor: pointer; color: var(--text-sidebar); font-size: 0.82rem; transition: all 0.1s; margin-bottom: 0; }
98
+ .sidebar__channel { display: flex; align-items: center; padding: 6px 12px; border-radius: 6px; cursor: pointer; color: var(--text-sidebar); font-size: 0.83rem; transition: all 0.1s; margin-bottom: 1px; }
69
99
  .sidebar__channel:hover { background: var(--bg-hover); }
70
100
  .sidebar__channel.active { background: var(--sidebar-active); color: var(--text-sidebar-active); font-weight: 600; }
71
101
  .sidebar__channel .icon { width: 0; margin-right: 0; }
@@ -73,31 +103,43 @@ body { font-family: var(--font); background: var(--bg); color: var(--text); heig
73
103
  .sidebar__group { padding: 12px 12px 4px; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.05em; }
74
104
  .sidebar__channel.sub { padding-left: 28px; font-size: 0.78rem; }
75
105
  .sidebar__status { padding: 16px 20px; font-size: 0.75rem; color: var(--text-muted); border-top: 1px solid var(--border); }
76
- .sidebar__status.connected { color: #22c55e; }
77
- .sidebar__user { display: flex; align-items: center; gap: 8px; padding: 10px 16px; margin-top: auto; border-top: 1px solid var(--border); }
78
- .sidebar__user.connected { background: rgba(0,230,118,0.35); }
106
+ .sidebar__status.connected { color: var(--accent-brand); }
107
+ .sidebar__user { display: flex; align-items: center; gap: 8px; padding: 10px 16px; margin-top: auto; border-top: 1px solid var(--border); position: relative; overflow: hidden; }
108
+ .sidebar__user.connected { background: var(--accent-brand-bg); }
79
109
  .sidebar__user-name { font-size: 0.78rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
80
- .sidebar__icon-btn { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); cursor: pointer; color: var(--text); padding: 4px; border-radius: 4px; line-height: 0; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; }
81
- .sidebar__icon-btn:hover { background: rgba(255,255,255,0.3); }
110
+ /* Connecting progress bar fills up, then becomes the connected bg */
111
+ .sidebar__progress { position: absolute; bottom: 0; left: 0; right: 0; top: 0; pointer-events: none; }
112
+ .sidebar__progress-bar { position: absolute; bottom: 0; left: 0; top: 0; width: 0; background: var(--accent-brand-bg); animation: progress-fill 3s ease-out forwards; }
113
+ @keyframes progress-fill { 0% { width: 0; } 80% { width: 85%; } 100% { width: 95%; } }
114
+ .sidebar__progress.connected .sidebar__progress-bar { width: 100% !important; animation: none; transition: width 0.3s ease, opacity 1s ease 0.5s; opacity: 0; }
115
+
116
+ .sidebar__icon-btn { background: transparent; border: 1px solid transparent; cursor: pointer; color: var(--text); padding: 4px; border-radius: 4px; line-height: 0; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; }
117
+ .sidebar__icon-btn:hover { background: var(--icon-btn-bg); border-color: var(--icon-btn-border); }
118
+
119
+ /* Resize handles */
120
+ .resize-handle { width: 4px; cursor: col-resize; background: transparent; flex-shrink: 0; position: relative; z-index: 10; }
121
+ .resize-handle:hover, .resize-handle.active { background: var(--border); }
82
122
 
83
123
  /* Main */
84
124
  .main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
85
- .main__header { padding: 16px 24px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
125
+ .main__header { padding: 16px 24px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 1rem; display: flex; align-items: baseline; gap: 8px; }
86
126
  .main__header .channel-name { color: var(--text); }
87
127
  .main__header .channel-desc { color: var(--text-muted); font-weight: 400; font-size: 0.85rem; }
128
+ .header__actions { display: flex; align-items: center; gap: 6px; align-self: center; }
129
+ .header__btn { display: flex; align-items: center; gap: 4px; padding: 4px 10px; border: 1px solid var(--icon-btn-border); border-radius: 6px; background: var(--icon-btn-bg); color: var(--text-secondary); font-size: 0.72rem; cursor: pointer; transition: all 0.15s; }
130
+ .header__btn:hover { background: var(--text); color: var(--bg); }
131
+ .header__btn--leave:hover { background: var(--bg-hover); color: var(--text); }
88
132
 
89
133
  /* Messages */
90
134
  .messages { flex: 1; overflow-y: auto; padding: 24px 0 80px; }
91
135
  .messages__inner { max-width: 768px; margin: 0 auto; padding: 0 24px; }
92
136
 
93
- .conversation { margin-top: 16px; position: relative; }
94
- .conversation:first-child { margin-top: 0; }
95
137
  .conversation__label { display: flex; align-items: baseline; gap: 5px; margin-bottom: 1px; }
96
- .conversation__sender { font-weight: 600; font-size: 0.75rem; color: var(--text); }
97
- .conversation__channel { font-size: 0.65rem; color: var(--text-muted); }
98
- .conversation__time { font-size: 0.65rem; color: var(--text-muted); }
138
+ .conversation__sender { font-weight: 600; font-size: 0.84rem; color: var(--text); }
139
+ .conversation__channel { font-size: 0.7rem; color: var(--text-muted); }
140
+ .conversation__time { font-size: 0.7rem; color: var(--text-muted); }
99
141
 
100
- .conversation__text { font-size: 0.85rem; line-height: 1.5; color: var(--text-secondary); word-wrap: break-word; font-weight: 400; }
142
+ .conversation__text { font-size: 0.82rem; line-height: 1.55; color: var(--text-body); word-wrap: break-word; font-weight: 400; }
101
143
  .conversation__text code { background: var(--bg-alt); padding: 1px 4px; border-radius: 3px; font-size: 0.8rem; font-family: "SF Mono","Fira Code",monospace; }
102
144
  .conversation__text pre, .readme-card pre { background: var(--bg-alt); padding: 12px; border-radius: 6px; margin: 6px 0; overflow-x: auto; position: relative; }
103
145
  .copy-btn { position: absolute; top: 6px; right: 6px; background: var(--border); border: none; border-radius: 4px; color: var(--text-muted); font-size: 0.65rem; padding: 2px 6px; cursor: pointer; opacity: 0; transition: opacity 0.15s; }
@@ -119,7 +161,19 @@ body { font-family: var(--font); background: var(--bg); color: var(--text); heig
119
161
  .conversation__text--grouped { }
120
162
 
121
163
  .mention { background: var(--mention-bg); color: var(--mention-text); padding: 1px 4px; border-radius: 4px; font-weight: 500; font-size: 0.875rem; }
122
- .channel-tag { background: rgba(77,186,135,0.1); color: #4dba87; padding: 1px 4px; border-radius: 4px; font-weight: 500; font-size: inherit; cursor: pointer; }
164
+ .channel-tag { background: var(--tag-bg); color: var(--tag); padding: 1px 4px; border-radius: 4px; font-weight: 500; font-size: inherit; cursor: pointer; }
165
+
166
+ /* Subject */
167
+ .conversation__subject { font-weight: 600; font-size: 0.92rem; color: var(--text); margin-bottom: 2px; line-height: 1.4; }
168
+
169
+ /* Tags — inline text style */
170
+ .conversation__tags { margin-bottom: 4px; font-size: 0.78rem; }
171
+ .tag { color: var(--tag); font-size: 0.78rem; font-weight: 400; }
172
+
173
+ /* Message card separation — spacing only, no borders */
174
+ .conversation { margin-top: 2px; position: relative; padding: 8px 14px; border-radius: 8px; }
175
+ .conversation:hover { background: var(--bg-hover); }
176
+ .conversation:first-child { margin-top: 0; }
123
177
 
124
178
  .system-msg { text-align: center; font-size: 0.75rem; color: var(--text-muted); padding: 8px 0; }
125
179
 
@@ -130,21 +184,49 @@ body { font-family: var(--font); background: var(--bg); color: var(--text); heig
130
184
  .members__header { padding: 16px 16px 8px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.05em; }
131
185
  .members__list { flex: 1; padding: 0 8px; overflow-y: auto; }
132
186
  .members__item { display: flex; align-items: center; padding: 4px 8px; border-radius: 6px; font-size: 0.8rem; color: var(--text-secondary); gap: 8px; }
133
- .members__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
187
+ .members__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-brand); flex-shrink: 0; }
134
188
  .members__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
135
189
  .members__role { font-size: 0.6rem; color: var(--text-muted); margin-left: auto; }
136
190
  .members__actions { padding: 12px 8px; border-top: 1px solid var(--border); margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
137
- .members__btn { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border: none; border-radius: 6px; background: var(--bg-alt); color: var(--text-secondary); font-size: 0.72rem; cursor: pointer; transition: all 0.15s; }
138
- .members__btn:hover { background: var(--border); color: var(--text); }
139
- .members__btn--leave { background: none; color: var(--text-muted); font-size: 0.68rem; }
140
- .members__btn--leave:hover { color: #ef4444; background: rgba(239,68,68,0.08); }
191
+ .members__btn { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-alt); color: var(--text-secondary); font-size: 0.72rem; cursor: pointer; transition: all 0.15s; }
192
+ .members__btn:hover { background: var(--bg-hover); color: var(--text); border-color: var(--icon-btn-border); }
193
+ .members__btn--leave { border: 1px solid var(--border); background: var(--bg-alt); color: var(--text-muted); font-size: 0.68rem; }
194
+ .members__btn--leave:hover { background: var(--border); color: var(--text); }
141
195
 
142
196
  ::-webkit-scrollbar { width: 6px; }
143
197
  ::-webkit-scrollbar-track { background: transparent; }
144
- ::-webkit-scrollbar-thumb { background: rgba(128,128,128,0.15); border-radius: 3px; }
198
+ ::-webkit-scrollbar-thumb { background: var(--scrollbar); border-radius: 3px; }
199
+
200
+ /* Collapse buttons */
201
+ .collapse-btn { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 0.9rem; padding: 6px; border-radius: 6px; line-height: 0; align-self: center; }
202
+ .collapse-btn:hover { color: var(--text); background: var(--bg-hover); }
203
+ .members-toggle { position: relative; }
204
+ .members-badge { position: absolute; top: -4px; right: -6px; min-width: 14px; height: 14px; border-radius: 7px; background: var(--text-muted); color: var(--bg); font-size: 0.5rem; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0 3px; }
205
+ .members-badge:empty { display: none; }
206
+ .members-badge.hidden { display: none; }
207
+
208
+ /* Collapsed states */
209
+ .sidebar.collapsed { width: 56px; overflow: hidden; }
210
+ .sidebar.collapsed .sidebar__header { padding: 12px 0; justify-content: center; }
211
+ .sidebar.collapsed .sidebar__brand,
212
+ .sidebar.collapsed .sidebar__tagline-row,
213
+ .sidebar.collapsed .sidebar__channels,
214
+ .sidebar.collapsed #update-banner { display: none; }
215
+ .sidebar.collapsed .sidebar__collapse { display: none; }
216
+ .sidebar__collapse-open { display: none; }
217
+ .sidebar.collapsed .sidebar__collapse-open { display: flex; }
218
+ .sidebar__collapsed-logo { display: none; }
219
+ .sidebar.collapsed .sidebar__collapsed-logo { display: block; text-align: center; margin: 12px 0 0; }
220
+ .sidebar.collapsed .sidebar__user { flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; background: none !important; }
221
+ .sidebar.collapsed .sidebar__user span[style*="flex:1"] { display: none; }
222
+ .sidebar.collapsed .sidebar__user-name { display: none; }
223
+ .sidebar.collapsed .sidebar__user-initial { display: flex; }
224
+ .sidebar__user-initial { display: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-brand-bg); color: var(--text); font-size: 0.72rem; font-weight: 600; align-items: center; justify-content: center; flex-shrink: 0; }
225
+ .members.collapsed { width: 0; overflow: hidden; border: none; }
226
+ .sidebar, .members { transition: width 0.15s ease; }
145
227
 
146
228
  @media (max-width: 700px) {
147
- .sidebar { width: 0; display: none; }
148
- .members { width: 0; display: none; }
229
+ .sidebar { width: 0; overflow: hidden; border: none; }
230
+ .members { width: 0; overflow: hidden; border: none; }
149
231
  .messages__inner { padding: 0 16px; }
150
232
  }