Skip to content

Commit 5b05d45

Browse files
committed
style
1 parent 083d028 commit 5b05d45

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

demo/client.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,10 @@ function createTerminal(): void {
310310
zoneWidget.onRender((e: HTMLElement) => {
311311
if (!initialized) {
312312
initialized = true;
313-
e.style.background = '#ff000040';
313+
e.style.background = '#3C3D3B';
314+
e.style.color = '#fff';
314315
const message = document.createElement('div');
316+
message.style.fontFamily = 'Hack';
315317
const input = document.createElement('input');
316318
input.type = 'text';
317319
input.placeholder = 'Ask me anything...';
@@ -328,8 +330,11 @@ function createTerminal(): void {
328330
return;
329331
}
330332
input.value = '';
331-
input.placeholder = 'You can ask me more...';
332-
message.textContent = 'git log --grep="fix"';
333+
// Simulate network
334+
setTimeout(() => {
335+
input.placeholder = 'Press enter to run or type to clarify...';
336+
message.textContent = 'git log --grep="fix"';
337+
}, 300);
333338
break;
334339
case 'Escape':
335340
zoneWidget.dispose();

0 commit comments

Comments
 (0)