fix(ui): change auto-approve banner from warning to info style
This commit is contained in:
parent
11bb49c53e
commit
17e9be99dd
1 changed files with 5 additions and 5 deletions
|
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||||
|
|
||||||
import { Checkbox } from '@renderer/components/ui/checkbox';
|
import { Checkbox } from '@renderer/components/ui/checkbox';
|
||||||
import { Label } from '@renderer/components/ui/label';
|
import { Label } from '@renderer/components/ui/label';
|
||||||
import { AlertTriangle, Info } from 'lucide-react';
|
import { Info } from 'lucide-react';
|
||||||
|
|
||||||
interface SkipPermissionsCheckboxProps {
|
interface SkipPermissionsCheckboxProps {
|
||||||
id: string;
|
id: string;
|
||||||
|
|
@ -33,13 +33,13 @@ export const SkipPermissionsCheckbox: React.FC<SkipPermissionsCheckboxProps> = (
|
||||||
<div
|
<div
|
||||||
className="mt-1.5 rounded-md border px-3 py-2 text-xs"
|
className="mt-1.5 rounded-md border px-3 py-2 text-xs"
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: 'var(--warning-bg)',
|
backgroundColor: 'rgba(59, 130, 246, 0.08)',
|
||||||
borderColor: 'var(--warning-border)',
|
borderColor: 'rgba(59, 130, 246, 0.2)',
|
||||||
color: 'var(--warning-text)',
|
color: 'var(--color-text-secondary)',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className="flex items-start gap-2">
|
<div className="flex items-start gap-2">
|
||||||
<AlertTriangle className="mt-0.5 size-3.5 shrink-0" />
|
<Info className="mt-0.5 size-3.5 shrink-0 text-blue-400" />
|
||||||
<p>
|
<p>
|
||||||
Unleash Claude's full power — no interruptions asking for permission. Autonomous
|
Unleash Claude's full power — no interruptions asking for permission. Autonomous
|
||||||
mode — all tools execute without confirmation. Be cautious with untrusted code.
|
mode — all tools execute without confirmation. Be cautious with untrusted code.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue