mirror of
https://github.com/andrepimenta/claude-code-chat.git
synced 2025-12-09 19:09:50 +00:00
Yolo mode warning less scary
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user