Skip to content

Commit 69c4b2e

Browse files
authored
Merge pull request #138 from atomly/feature/color-theme-updates
feat: update color theme with improved contrast and new palette
2 parents f3fd9ea + cc3c4d2 commit 69c4b2e

File tree

17 files changed

+144
-185
lines changed

17 files changed

+144
-185
lines changed

apps/web/public/marketing/.gitkeep

Whitespace-only changes.
-219 KB
Binary file not shown.

apps/web/src/app/(app)/@appSidebar/_components/app-sidebar-devtools.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ function ReactQueryDevtoolsDialog() {
1919
</DialogTrigger>
2020
<DialogContent className="flex h-full w-full max-w-screen-md! items-center justify-center border-none bg-transparent px-0 py-10">
2121
<ReactQueryDevtoolsPanel
22-
style={{ borderRadius: "1rem", height: "100%", width: "100%" }}
22+
style={{
23+
backgroundColor: "transparent",
24+
borderRadius: "1rem",
25+
height: "100%",
26+
width: "100%",
27+
}}
2328
/>
2429
</DialogContent>
2530
</Dialog>

apps/web/src/app/(app)/@appSidebar/_components/app-sidebar-pages.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const AppSidebarPages = ({
8484

8585
<CollapsibleContent className="flex h-full min-h-0 flex-col">
8686
<SidebarMenuSub className="mx-0 mr-0 flex-1 gap-0 overflow-scroll border-none px-0">
87-
<CreatePageButton className="ml-3.5 border-sidebar-border border-l ps-2.5 pb-2" />
87+
<CreatePageButton className="ml-3.5 border-sidebar-border border-l py-2 ps-2.5" />
8888
<Virtuoso
8989
className="h-full w-full"
9090
data={pages}

apps/web/src/app/(app)/@appSidebar/_components/create-page-button.tsx

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,15 @@ export function CreatePageButton({ className }: CreatePageButtonProps) {
8181
return (
8282
<SidebarMenuSubItem className={className}>
8383
<SidebarMenuSubButton asChild>
84-
<div className="border-2 border-sidebar-border border-dashed">
85-
<Button
86-
variant="ghost"
87-
className="w-full flex-row justify-start"
88-
onClick={handleCreatePage}
89-
disabled={showLoading}
90-
>
91-
<Plus />
92-
{showLoading ? "Creating..." : "New page"}
93-
</Button>
94-
</div>
84+
<Button
85+
variant="ghost"
86+
className="w-full flex-row items-center justify-center border-2 border-sidebar-border border-dashed px-0!"
87+
onClick={handleCreatePage}
88+
disabled={showLoading}
89+
>
90+
<Plus className="-ms-4 size-4" />
91+
<span>{showLoading ? "Creating..." : "New page"}</span>
92+
</Button>
9593
</SidebarMenuSubButton>
9694
</SidebarMenuSubItem>
9795
);

apps/web/src/app/(app)/@chatSidebar/_components/chat-sidebar-trigger.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function ChatSidebarTrigger() {
2727
<span className="sr-only">Toggle Chat Sidebar</span>
2828
</Button>
2929
</TooltipTrigger>
30-
<TooltipContent side="top" align="center">
30+
<TooltipContent className="font-bold" side="top" align="center">
3131
Open Journl assistant
3232
</TooltipContent>
3333
</Tooltip>

apps/web/src/app/(app)/globals.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,12 @@ The rest of the components are set by the Tailwind CSS classes, or by our editor
4646
}
4747

4848
/* Tanstack Query Devtools */
49+
.tsqd-parent-container {
50+
border: 1px solid var(--border) !important;
51+
}
4952
.tsqd-main-panel {
50-
background: transparent;
53+
background: transparent !important;
5154
}
5255
.tsqd-queries-container {
53-
border-radius: 1rem;
56+
border-radius: 1rem !important;
5457
}

apps/web/src/app/(app)/pages/_components/page-title-textarea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export function PageTitleTextarea({
108108
onKeyDown={handleKeyDown}
109109
placeholder={placeholder}
110110
className={cn(
111-
"!bg-transparent !h-auto !outline-none !ring-0 !text-3xl !border-none !font-bold md:!text-4xl lg:!text-5xl placeholder:text-muted-foreground/60",
111+
"!bg-transparent !h-auto !outline-none !ring-0 !text-3xl !border-none !font-bold md:!text-4xl lg:!text-5xl shadow-none placeholder:text-muted-foreground/60",
112112
className,
113113
)}
114114
{...rest}

apps/web/src/app/(dashboard)/account/[pathname]/_components/account-view.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ export async function AuthView({ pathname }: { pathname: string }) {
2323
},
2424
sidebar: {
2525
base: "gap-y-2",
26-
button: "cursor-pointer text-primary",
26+
button:
27+
"cursor-pointer bg-card text-card-foreground border-secondary",
2728
buttonActive:
28-
"cursor-pointer border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
29+
"cursor-pointer border shadow-xs bg-secondary text-secondary-foreground border-primary",
2930
},
3031
}}
3132
pathname={pathname}

apps/web/src/app/(marketing)/_components/hero-floating-shapes.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export function HeroFloatingShapes() {
2222
shapes.forEach((shape, index) => {
2323
const randomType = types[Math.floor(Math.random() * types.length)];
2424
const element = document.createElement("div");
25+
2526
element.className = "absolute opacity-5 animate-pulse";
2627
element.style.left = `${shape.x}%`;
2728
element.style.top = `${shape.y}%`;

0 commit comments

Comments
 (0)