Skip to content

Commit 2b208b3

Browse files
hassoncsChris Hasson
andauthored
Improve the background color of the "Help Improve Kilo Code" banner (#1515)
* Improve the background color of the "Help Improve Kilo Code" banner * Add kilocode change --------- Co-authored-by: Chris Hasson <[email protected]>
1 parent d2bcbb7 commit 2b208b3

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.changeset/thirty-peaches-tell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"kilo-code": patch
3+
---
4+
5+
Improve the background color of the "Help Improve Kilo Code" banner
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import type { Meta, StoryObj } from "@storybook/react-vite"
2+
import TelemetryBanner from "../../../webview-ui/src/components/common/TelemetryBanner"
3+
4+
const meta = {
5+
title: "Component/TelemetryBanner",
6+
component: TelemetryBanner,
7+
tags: ["autodocs"],
8+
} satisfies Meta<typeof TelemetryBanner>
9+
10+
export default meta
11+
type Story = StoryObj<typeof meta>
12+
13+
export const Default: Story = {}

webview-ui/src/components/common/TelemetryBanner.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import { vscode } from "@src/utils/vscode"
99
import { useAppTranslation } from "@src/i18n/TranslationContext"
1010

1111
const BannerContainer = styled.div`
12-
background-color: var(--vscode-banner-background);
12+
border: 1px solid var(--vscode-checkbox-border); // kilocode_change
13+
background-color: var(--vscode-editorSuggestWidget-background); // kilocode_change
1314
padding: 12px 20px;
1415
display: flex;
1516
flex-direction: column;

0 commit comments

Comments
 (0)