Skip to content

Commit 40bd9d0

Browse files
committed
Make the 'me' avatar look better
1 parent 066663e commit 40bd9d0

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/webviews/components/exchange/request.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function RequestViewItem(props: Request) {
77
return (
88
<div className="mb-4 mt-2">
99
<div className="flex">
10-
<div className="mr-3 mt-1 flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full bg-blue-500 text-xs font-medium text-white">
10+
<div className="bg-activity-bar-background text-activity-bar-active-foreground mr-3 mt-1 flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full text-xs font-medium leading-none">
1111
Me
1212
</div>
1313
<Exchange className="flex-grow rounded bg-panel-background p-2">

tailwind.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,15 @@ export default {
116116
shadow: 'var(--vscode-sideBarStickyScroll-shadow)',
117117
},
118118
},
119+
'activity-bar': {
120+
background: 'var(--vscode-activityBar-background)',
121+
foreground: 'var(--vscode-activityBar-foreground)',
122+
border: 'var(--vscode-activityBar-border)',
123+
'active-background': 'var(--vscode-activityBar-activeBackground)',
124+
'active-border': 'var(--vscode-activityBar-activeBorder)',
125+
'active-foreground': 'var(--vscode-activityBar-activeForeground)',
126+
'inactive-foreground': 'var(--vscode-activityBar-inactiveForeground)',
127+
},
119128
},
120129
animation: {
121130
'translate-lr': 'translate-lr 3s linear infinite',

0 commit comments

Comments
 (0)