From 00ca528a10328ca9905854586dfcdbdaa208d24c Mon Sep 17 00:00:00 2001 From: Johnny Amancio Date: Wed, 8 Apr 2026 21:41:07 +0200 Subject: [PATCH] fix(ui): revert upstream gap and critical color changes to match main instead of v1.2.25 to keep current UI --- packages/ui/src/components/button.css | 13 +------------ packages/ui/src/components/message-part.css | 4 ++-- packages/ui/src/styles/theme.css | 4 ++-- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/packages/ui/src/components/button.css b/packages/ui/src/components/button.css index e26ace6119f..891bc0143a9 100644 --- a/packages/ui/src/components/button.css +++ b/packages/ui/src/components/button.css @@ -1,3 +1,4 @@ +/* kilocode_change - reverted to main */ [data-component="button"] { display: inline-flex; align-items: center; @@ -180,15 +181,3 @@ [data-component="button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"]:hover:not(:disabled) { background-color: var(--surface-base-active); } - -[data-component="button"].titlebar-icon[data-variant="ghost"][aria-current="page"] { - background-color: var(--surface-base-active); -} - -[data-component="button"].titlebar-icon[data-variant="ghost"][aria-current="page"] [data-slot="icon-svg"] { - color: var(--icon-strong-base); -} - -[data-component="button"].titlebar-icon[data-variant="ghost"][aria-current="page"]:hover:not(:disabled) { - background-color: var(--surface-base-active); -} diff --git a/packages/ui/src/components/message-part.css b/packages/ui/src/components/message-part.css index 7685e7dbad0..388dad61be5 100644 --- a/packages/ui/src/components/message-part.css +++ b/packages/ui/src/components/message-part.css @@ -21,7 +21,7 @@ align-self: stretch; width: 100%; max-width: 100%; - gap: 0; + gap: 8px; /* kilocode_change */ &[data-interrupted] { color: var(--text-weak); @@ -156,7 +156,7 @@ align-items: center; justify-content: flex-end; overflow: hidden; - gap: 0; + gap: 6px; /* kilocode_change */ } [data-slot="user-message-meta-tail"] { diff --git a/packages/ui/src/styles/theme.css b/packages/ui/src/styles/theme.css index 021f959e4cb..76b868b81cb 100644 --- a/packages/ui/src/styles/theme.css +++ b/packages/ui/src/styles/theme.css @@ -131,7 +131,7 @@ --surface-warning-base: #fcf3cb; --surface-warning-weak: #fdfaec; --surface-warning-strong: #fbdd46; - --surface-critical-base: #fff2f0; + --surface-critical-base: #feefeb; /* kilocode_change */ --surface-critical-weak: #fff8f6; --surface-critical-strong: #fc533a; --surface-info-base: #fdecfe; @@ -391,7 +391,7 @@ --surface-warning-base: #fdf3cf; --surface-warning-weak: #fdfaed; --surface-warning-strong: #fcd53a; - --surface-critical-base: #1f0603; + --surface-critical-base: #42120b; /* kilocode_change */ --surface-critical-weak: #28110c; --surface-critical-strong: #fc533a; --surface-info-base: #feecfe;