Yolo mode warning less scary

This commit is contained in:
andrepimenta
2025-07-14 23:59:22 +01:00
parent 980d19bcb2
commit 2053e768a8
2 changed files with 5 additions and 5 deletions

View File

@@ -1527,13 +1527,13 @@ const styles = `
.yolo-warning { .yolo-warning {
font-size: 12px; font-size: 12px;
color: var(--vscode-inputValidation-errorForeground); color: var(--vscode-foreground);
text-align: center; text-align: center;
font-weight: 500; font-weight: 500;
background-color: var(--vscode-inputValidation-errorBackground); background-color: rgba(255, 99, 71, 0.08);
border: 1px solid var(--vscode-inputValidation-errorBorder); border: 1px solid rgba(255, 99, 71, 0.2);
padding: 8px 12px; padding: 8px 12px;
margin: 4px 12px; margin: 4px 4px;
border-radius: 4px; border-radius: 4px;
animation: slideDown 0.3s ease; animation: slideDown 0.3s ease;
} }

View File

@@ -133,7 +133,7 @@ const html = `<!DOCTYPE html>
</div> </div>
<div id="yoloWarning" class="yolo-warning" style="display: none;"> <div id="yoloWarning" class="yolo-warning" style="display: none;">
⚠️ Yolo Mode Active: Claude Code can execute any tool without asking. ⚠️ Yolo Mode Active: Claude Code will auto-approve all tool requests.
</div> </div>
<!-- File picker modal --> <!-- File picker modal -->