Skip to content

Commit d2103c8

Browse files
committed
Enhance donation UI with theme-consistent styling and layout adjustments
1 parent 5f2c304 commit d2103c8

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

packages/ui/src/components/editor/BuyMeACoffee/BuyMeACoffee.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.container {
22
display: flex;
3+
justify-content: center;
34
}
45

56
.button {

packages/ui/src/components/editor/RecentDonations/RecentDonations.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
}
2626

2727
&__username {
28-
color: black;
29-
background-color: #ffdd00;
28+
color: var(--vscode-button-foreground);
29+
background-color: var(--vscode-button-background);
3030
padding: var(--padding-2px) var(--padding-7px);
3131
font-weight: 600;
3232
border-radius: var(--border-radius-999px);

packages/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "gemini-coder",
33
"displayName": "Code Web Chat (CWC, prev. Gemini Coder)",
44
"description": "Initialize any web chat with your code",
5-
"version": "1.44.0",
5+
"version": "1.45.0",
66
"scripts": {
77
"build": "npx vsce package --no-dependencies",
88
"vscode:prepublish": "npm run compile",

packages/vscode/src/view/frontend/tabs/donations/Donations.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ export const Donations: React.FC<Props> = (props) => {
4747
}
4848
</span>
4949

50-
<UiSeparator size="medium" />
50+
<UiSeparator size="large" />
51+
52+
<UiBuyMeACoffee username="robertpiosik" />
53+
54+
<UiSeparator size="large" />
5155

5256
{!is_initialized ? (
5357
<>Fetching recent donations...</>
@@ -62,10 +66,6 @@ export const Donations: React.FC<Props> = (props) => {
6266
/>
6367
</div>
6468

65-
<UiBuyMeACoffee username="robertpiosik" />
66-
67-
<UiSeparator size="large" />
68-
6969
<UiRecentDonations donations={donations} />
7070
{is_loading_more && (
7171
<div style={{ textAlign: 'center', padding: '1rem' }}>

0 commit comments

Comments
 (0)