Skip to content
Merged
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
66 changes: 66 additions & 0 deletions apps/code/src/renderer/assets/images/code.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions apps/code/src/renderer/assets/images/logomark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/code/src/renderer/components/ThemeWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function ThemeWrapper({ children }: { children: React.ReactNode }) {
accentColor={isDarkMode ? "yellow" : "orange"}
grayColor="slate"
panelBackground="solid"
radius="none"
radius="medium"
scaling="105%"
>
{children}
Expand Down
10 changes: 5 additions & 5 deletions apps/code/src/renderer/components/ui/combobox/Combobox.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
}

.combobox-content.size-1 [cmdk-input] {
font-size: 12px;
font-size: 13px;
line-height: var(--line-height-1);
}

Expand Down Expand Up @@ -135,7 +135,7 @@
}

.combobox-content.size-1 [cmdk-group-heading] {
font-size: 12px;
font-size: 13px;
letter-spacing: var(--letter-spacing-1);
line-height: var(--line-height-1);
}
Expand Down Expand Up @@ -192,7 +192,7 @@
}

.combobox-content.size-1 [cmdk-item] {
font-size: 12px;
font-size: 13px;
line-height: var(--line-height-1);
letter-spacing: var(--letter-spacing-1);
border-radius: var(--radius-1);
Expand Down Expand Up @@ -310,7 +310,7 @@
overflow: hidden;
min-width: 0;
font-weight: 400;
font-size: 12px;
font-size: 13px;
line-height: var(--line-height-1);
letter-spacing: var(--letter-spacing-1);
border-radius: var(--radius-1);
Expand Down Expand Up @@ -364,7 +364,7 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-family: var(--font-mono);
font-family: var(--default-font-family);
}

.combobox-trigger-icon {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,13 @@ export function ArchivedTasksViewPresentation({
{isLoading ? (
<Flex align="center" justify="center" gap="2" py="8">
<DotsCircleSpinner size={16} className="text-gray-10" />
<Text className="font-mono text-[12px] text-gray-10">
<Text className="text-[13px] text-gray-10">
Loading archived tasks...
</Text>
</Flex>
) : items.length === 0 ? (
<Flex align="center" justify="center" py="8">
<Text className="font-mono text-[12px] text-gray-10">
No archived tasks
</Text>
<Text className="text-[13px] text-gray-10">No archived tasks</Text>
</Flex>
) : (
<Table.Root
Expand All @@ -137,13 +135,13 @@ export function ArchivedTasksViewPresentation({
>
<Table.Header>
<Table.Row>
<Table.ColumnHeaderCell className="font-mono font-normal text-[12px] text-gray-11">
<Table.ColumnHeaderCell className="font-normal text-[13px] text-gray-11">
Title
</Table.ColumnHeaderCell>
<Table.ColumnHeaderCell className="font-mono font-normal text-[12px] text-gray-11">
<Table.ColumnHeaderCell className="font-normal text-[13px] text-gray-11">
Created
</Table.ColumnHeaderCell>
<Table.ColumnHeaderCell className="font-mono font-normal text-[12px] text-gray-11">
<Table.ColumnHeaderCell className="font-normal text-[13px] text-gray-11">
Repository
</Table.ColumnHeaderCell>
<Table.ColumnHeaderCell />
Expand All @@ -159,18 +157,18 @@ export function ArchivedTasksViewPresentation({
<Table.Cell>
<Flex align="center" gap="2">
<ModeIcon mode={item.archived.mode} />
<Text className="block max-w-[600px] truncate font-mono text-[12px]">
<Text className="block max-w-[600px] truncate text-[13px]">
{item.task?.title ?? "Unknown task"}
</Text>
</Flex>
</Table.Cell>
<Table.Cell>
<Text className="block whitespace-nowrap font-mono text-[12px] text-gray-11">
<Text className="block whitespace-nowrap text-[13px] text-gray-11">
{formatRelativeDate(item.task?.created_at)}
</Text>
</Table.Cell>
<Table.Cell>
<Text className="block max-w-[300px] truncate font-mono text-[12px] text-gray-11">
<Text className="block max-w-[300px] truncate text-[13px] text-gray-11">
{getRepoName(item.task?.repository)}
</Text>
</Table.Cell>
Expand Down Expand Up @@ -248,7 +246,7 @@ export function ArchivedTasksView() {
const queryClient = useQueryClient();

useSetHeaderContent(
<Text size="1" weight="medium" className="font-mono text-[12px]">
<Text size="1" weight="medium" className="text-[13px]">
Archived tasks
</Text>,
);
Expand Down
20 changes: 8 additions & 12 deletions apps/code/src/renderer/features/auth/components/AuthScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { DraggableTitleBar } from "@components/DraggableTitleBar";
import { ZenHedgehog } from "@components/ZenHedgehog";
import { useAuthStore } from "@features/auth/stores/authStore";
import { Callout, Flex, Spinner, Text, Theme } from "@radix-ui/themes";
import posthogIcon from "@renderer/assets/images/posthog-icon.svg";
import phWordmark from "@renderer/assets/images/wordmark.svg";
import codeLogo from "@renderer/assets/images/code.svg";
import logomark from "@renderer/assets/images/logomark.svg";
import { trpcClient } from "@renderer/trpc/client";
import { REGION_LABELS } from "@shared/constants/oauth";
import type { CloudRegion } from "@shared/types/oauth";
Expand Down Expand Up @@ -85,7 +85,7 @@ export function AuthScreen() {
const errorMessage = getErrorMessage(error);

return (
<Theme appearance="light" accentColor="orange">
<Theme appearance="light" accentColor="orange" radius="medium">
<Flex height="100vh" style={{ position: "relative", overflow: "hidden" }}>
<DraggableTitleBar />

Expand Down Expand Up @@ -138,10 +138,10 @@ export function AuthScreen() {
>
{/* Logo */}
<img
src={phWordmark}
src={codeLogo}
alt="PostHog"
style={{
height: "48px",
height: "30px",
objectFit: "contain",
alignSelf: "center",
}}
Expand Down Expand Up @@ -197,11 +197,7 @@ export function AuthScreen() {
{isPending ? (
<Spinner size="1" />
) : (
<img
src={posthogIcon}
alt=""
style={{ width: "20px", height: "20px" }}
/>
<img src={logomark} alt="" style={{ height: "14px" }} />
)}
{isPending
? "Cancel"
Expand Down Expand Up @@ -251,7 +247,7 @@ export function AuthScreen() {
fontSize: "inherit",
}}
>
create one
Create one
</button>
</>
) : (
Expand All @@ -277,7 +273,7 @@ export function AuthScreen() {
fontSize: "inherit",
}}
>
sign in
Sign in
</button>
</>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function InviteCodeScreen() {
const errorMessage = redeemMutation.error?.message ?? null;

return (
<Theme appearance="light" accentColor="orange">
<Theme appearance="light" accentColor="orange" radius="medium">
<Flex height="100vh" style={{ position: "relative", overflow: "hidden" }}>
<DraggableTitleBar />

Expand Down
Loading
Loading