enable prompt shell mode

This commit is contained in:
Shantur Rathore
2025-11-16 20:50:20 +00:00
parent 6658c0b15a
commit eb279cf251
5 changed files with 148 additions and 17 deletions

View File

@@ -9,6 +9,7 @@
@apply flex items-end gap-2 p-3;
}
.prompt-input {
@apply flex-1 min-h-[96px] max-h-[200px] p-2.5 border rounded-md text-sm resize-none outline-none transition-colors;
font-family: inherit;
@@ -18,10 +19,20 @@
line-height: var(--line-height-normal);
}
.prompt-input.shell-mode {
border-color: var(--status-success);
box-shadow: inset 0 0 0 1px rgba(76, 175, 80, 0.4);
}
.prompt-input:focus {
border-color: var(--accent-primary);
}
.prompt-input.shell-mode:focus {
border-color: var(--status-success);
box-shadow: inset 0 0 0 1px rgba(76, 175, 80, 0.4);
}
.prompt-input:disabled {
@apply opacity-60 cursor-not-allowed;
}
@@ -36,6 +47,18 @@
color: var(--text-inverted);
}
.send-button.shell-mode {
background-color: var(--status-success);
}
.send-button.shell-mode:hover:not(:disabled) {
filter: brightness(1.05);
}
.send-button.shell-mode:active:not(:disabled) {
filter: brightness(0.95);
}
.send-button:hover:not(:disabled) {
@apply opacity-90 scale-105;
}
@@ -52,6 +75,11 @@
@apply text-base;
}
.shell-icon {
width: 1rem;
height: 1rem;
}
.prompt-input-hints {
@apply px-4 pb-2 flex justify-between items-center;
}