Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/desktop/src/app/shell/statusbar-controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { cn } from '@/lib/utils'
// Shared chrome styling for interactive statusbar items (button / link / menu
// trigger). The 'text' variant intentionally omits hover/transition/disabled.
const STATUSBAR_ACTION_CLASS =
'inline-flex h-full items-center gap-1 rounded-none px-1.5 text-[0.6875rem] text-(--ui-text-tertiary) transition-colors hover:bg-(--chrome-action-hover) hover:text-foreground disabled:cursor-default disabled:opacity-45'
'inline-flex h-full items-center gap-1.5 rounded-none px-2 text-xs text-(--ui-text-tertiary) transition-colors hover:bg-(--chrome-action-hover) hover:text-foreground disabled:cursor-default disabled:opacity-45'

export interface StatusbarMenuItem {
id: string
Expand Down Expand Up @@ -61,7 +61,7 @@ export function StatusbarControls({ className, leftItems = [], items = [], ...pr
return (
<footer
className={cn(
'flex h-5 shrink-0 items-stretch justify-between gap-2 border-t border-(--ui-stroke-tertiary) bg-(--ui-sidebar-surface-background) px-1 py-0 text-(--ui-text-tertiary) [-webkit-app-region:no-drag]',
'flex h-6 shrink-0 items-stretch justify-between gap-2 border-t border-(--ui-stroke-tertiary) bg-(--ui-sidebar-surface-background) px-1.5 py-0 text-(--ui-text-tertiary) [-webkit-app-region:no-drag]',
className
)}
data-slot="statusbar"
Expand Down Expand Up @@ -96,7 +96,7 @@ function StatusbarItemView({ item, navigate }: { item: StatusbarItem; navigate:
<>
{item.icon}
{item.label && <span className="truncate">{item.label}</span>}
{item.detail && <span className="truncate text-muted-foreground/80">{item.detail}</span>}
{item.detail && <span className="truncate text-muted-foreground">{item.detail}</span>}
</>
)

Expand Down Expand Up @@ -179,7 +179,7 @@ function StatusbarItemView({ item, navigate }: { item: StatusbarItem; navigate:
<Tip label={item.title}>
<div
className={cn(
'inline-flex h-full items-center gap-1 px-1.5 text-[0.6875rem] text-(--ui-text-tertiary)',
'inline-flex h-full items-center gap-1.5 px-2 text-xs text-(--ui-text-tertiary)',
item.className
)}
>
Expand Down
69 changes: 68 additions & 1 deletion apps/desktop/src/themes/presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,80 @@ export const slateTheme: DesktopTheme = {
}
}

/** Vibrant purple-blue with colorful accents — inspired by Codex and modern AI tools. */
export const codexTheme: DesktopTheme = {
name: 'codex',
label: 'Codex',
description: 'Vibrant purple-blue with colorful accents',
colors: {
background: '#F5F3FF',
foreground: '#1E1B2E',
card: '#FFFFFF',
cardForeground: '#1E1B2E',
muted: '#EDE9FE',
mutedForeground: '#6B6590',
popover: '#FFFFFF',
popoverForeground: '#1E1B2E',
primary: '#7C3AED',
primaryForeground: '#FFFFFF',
secondary: '#EDE9FE',
secondaryForeground: '#3B2F6B',
accent: '#DDD6FE',
accentForeground: '#4C1D95',
border: '#DDD6FE',
input: '#E9E5F5',
ring: '#7C3AED',
midground: '#7C3AED',
composerRing: '#7C3AED',
destructive: '#DC2626',
destructiveForeground: '#FFFFFF',
sidebarBackground: '#EDE9FE',
sidebarBorder: '#DDD6FE',
userBubble: '#EDE9FE',
userBubbleBorder: '#C4B5FD'
},
darkColors: {
background: '#0F0A1E',
foreground: '#E8E0F0',
card: '#1A1230',
cardForeground: '#E8E0F0',
muted: '#231A3E',
mutedForeground: '#9585C0',
popover: '#1E1538',
popoverForeground: '#E8E0F0',
primary: '#A78BFA',
primaryForeground: '#0F0A1E',
secondary: '#2D2252',
secondaryForeground: '#C4B5FD',
accent: '#3B2F6B',
accentForeground: '#DDD6FE',
border: '#3D2F72',
input: '#2D2252',
ring: '#A78BFA',
midground: '#7C3AED',
composerRing: '#A78BFA',
destructive: '#F87171',
destructiveForeground: '#0F0A1E',
sidebarBackground: '#0A0718',
sidebarBorder: '#2D2252',
userBubble: '#1E1538',
userBubbleBorder: '#4C1D95'
},
typography: {
fontSans: SYSTEM_SANS,
fontMono: `"JetBrains Mono", ${SYSTEM_MONO}`,
fontUrl: 'https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap'
}
}

export const BUILTIN_THEMES: Record<string, DesktopTheme> = {
nous: nousTheme,
midnight: midnightTheme,
ember: emberTheme,
mono: monoTheme,
cyberpunk: cyberpunkTheme,
slate: slateTheme
slate: slateTheme,
codex: codexTheme
}

export const BUILTIN_THEME_LIST = Object.values(BUILTIN_THEMES)
Expand Down