Skip to content

Commit de58ae4

Browse files
authored
fix: brand cleanup (#47)
Made some more brand fixes and general UX cleanup. Relates to #31 and #37 **Before** ![CleanShot 2025-06-03 at 09 45 54](https://github.com/user-attachments/assets/5d897864-cda4-4e76-8519-c15204ac199f) ![CleanShot 2025-06-03 at 09 51 41](https://github.com/user-attachments/assets/2d102b39-cc53-4b94-94bc-f5a5c9895d84) **After** ![CleanShot 2025-06-03 at 09 48 53](https://github.com/user-attachments/assets/f292c777-4e9a-4d9e-b3c8-81d70f686c86) ![CleanShot 2025-06-03 at 09 49 40](https://github.com/user-attachments/assets/99d43627-3065-4465-aa6e-c8f4d7c6f09c) ![CleanShot 2025-06-03 at 09 49 40](https://github.com/user-attachments/assets/78ea2967-9727-4a71-a22a-89cca805b511)
1 parent 9ebee25 commit de58ae4

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

src/components/ChatMessage.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function ChatMessage({ message, isLoading }: ChatMessageProps) {
2828
{!isUserMessage && (
2929
<div
3030
className={cn(
31-
'flex h-8 w-8 shrink-0 select-none items-center justify-center rounded-md bg-indigo-100 text-indigo-600 dark:bg-indigo-900 dark:text-indigo-300',
31+
'flex h-8 w-8 shrink-0 select-none items-center justify-center rounded-md bg-gray-100 text-gray-900 dark:bg-gray-800 dark:text-gray-100',
3232
isLoading && 'animate-[pulse_1.5s_ease-in-out_infinite] opacity-80',
3333
)}
3434
>
@@ -45,10 +45,7 @@ export function ChatMessage({ message, isLoading }: ChatMessageProps) {
4545
>
4646
<div
4747
className={cn(
48-
'rounded-2xl px-4 py-2 text-sm w-full',
49-
isUserMessage
50-
? 'bg-indigo-600 text-white dark:bg-indigo-500'
51-
: 'bg-gray-100 text-gray-900 dark:bg-gray-800 dark:text-gray-100',
48+
'rounded-2xl px-4 py-2 text-sm w-full bg-gray-100 text-gray-900 dark:bg-gray-800 dark:text-gray-100',
5249
)}
5350
>
5451
<div className="prose prose-sm dark:prose-invert max-w-none break-words break-all whitespace-pre-wrap">
@@ -91,7 +88,7 @@ export function ChatMessage({ message, isLoading }: ChatMessageProps) {
9188
</div>
9289

9390
{isUserMessage && (
94-
<div className="flex h-8 w-8 shrink-0 select-none items-center justify-center rounded-md bg-indigo-100 text-indigo-600 dark:bg-indigo-900 dark:text-indigo-300">
91+
<div className="flex h-8 w-8 shrink-0 select-none items-center justify-center rounded-md bg-gray-100 text-gray-900 dark:bg-gray-800 dark:text-gray-100">
9592
<User className="h-5 w-5" />
9693
</div>
9794
)}

src/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const Header: React.FC = () => {
6666
<img
6767
src={isDark ? '/pomerium-icon.svg' : '/pomerium-icon.png'}
6868
alt="Pomerium Logo"
69-
className="w-8 hover:-translate-y-0.5 transition-all"
69+
className="w-8 transition-all"
7070
/>
7171
</a>
7272
<Link to="/">

src/components/ModelSelect.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,18 @@ export function ModelSelect({ value, onValueChange }: ModelSelectProps) {
2020
const { data: models, isLoading } = useModels()
2121

2222
if (isLoading) {
23-
return <div>Loading models...</div>
23+
return (
24+
<div className="text-sm text-primary-foreground">Loading models...</div>
25+
)
2426
}
2527

2628
return (
2729
<DropdownMenu>
2830
<DropdownMenuTrigger asChild>
29-
<Button variant="outline" className="w-fit max-w-[100px] md:max-w-[240px] justify-between">
31+
<Button
32+
variant="outline"
33+
className="w-fit max-w-[100px] md:max-w-[240px] justify-between"
34+
>
3035
<span className="truncate block max-w-[160px] overflow-hidden whitespace-nowrap">
3136
{value || 'Select a model'}
3237
</span>

src/components/ThemeToggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function ThemeToggle() {
5151
{isDarkMode ? (
5252
<Sun className="size-5 text-amber-400" />
5353
) : (
54-
<Moon className="size-5 text-blue-500" />
54+
<Moon className="size-5 text-primary" />
5555
)}
5656
</Button>
5757
)

0 commit comments

Comments
 (0)