diff options
| author | Adam <[email protected]> | 2025-12-31 14:35:41 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-31 14:35:41 -0600 |
| commit | 16957fd10780fabed58349d138166ec4b6768568 (patch) | |
| tree | 78d0c336944768e7c8a62634a5e504ce61ed4623 | |
| parent | 7f3a0b8e5c1fe664547e28e473d234d39921e248 (diff) | |
| download | opencode-16957fd10780fabed58349d138166ec4b6768568.tar.gz opencode-16957fd10780fabed58349d138166ec4b6768568.zip | |
fix(app): auto-accept colors
| -rw-r--r-- | packages/app/src/components/prompt-input.tsx | 2 | ||||
| -rw-r--r-- | packages/ui/src/theme/themes/oc-1.json | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 38b80cc3b..a45a6d587 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1408,7 +1408,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { classList={{ "_hidden group-hover/prompt-input:flex size-6 items-center justify-center": true, "text-text-base": !permission.isAutoAccepting(params.id!), - "bg-surface-success-base": permission.isAutoAccepting(params.id!), + "hover:bg-surface-success-base": permission.isAutoAccepting(params.id!), }} > <Icon diff --git a/packages/ui/src/theme/themes/oc-1.json b/packages/ui/src/theme/themes/oc-1.json index 9f54bd6b4..2c7673850 100644 --- a/packages/ui/src/theme/themes/oc-1.json +++ b/packages/ui/src/theme/themes/oc-1.json @@ -314,9 +314,9 @@ "surface-interactive-hover": "var(--cobalt-light-4)", "surface-interactive-weak": "var(--cobalt-light-2)", "surface-interactive-weak-hover": "var(--cobalt-light-3)", - "surface-success-base": "var(--apple-light-3)", - "surface-success-weak": "var(--apple-light-2)", - "surface-success-strong": "var(--apple-light-9)", + "surface-success-base": "var(--apple-dark-3)", + "surface-success-weak": "var(--apple-dark-2)", + "surface-success-strong": "var(--apple-dark-9)", "surface-warning-base": "var(--solaris-light-3)", "surface-warning-weak": "var(--solaris-light-2)", "surface-warning-strong": "var(--solaris-light-9)", @@ -439,8 +439,8 @@ "icon-strong-focus": "#fdfcfc", "icon-brand-base": "var(--white)", "icon-interactive-base": "var(--cobalt-dark-9)", - "icon-success-base": "var(--apple-dark-7)", - "icon-success-hover": "var(--apple-dark-8)", + "icon-success-base": "var(--apple-dark-9)", + "icon-success-hover": "var(--apple-dark-10)", "icon-success-active": "var(--apple-dark-11)", "icon-warning-base": "var(--amber-dark-7)", "icon-warning-hover": "var(--amber-dark-8)", |
