Skip to content

Commit bd14f6b

Browse files
committed
Slated light mode
1 parent 38cc461 commit bd14f6b

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

apps/dashboard/src/app/(main)/(protected)/(outside-dashboard)/projects/footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function Footer () {
77
<footer>
88
<Separator />
99

10-
<div className="flex flex-col md:flex-row p-4 gap-4 backdrop-blur-md bg-white/20 dark:bg-black/20">
10+
<div className="flex flex-col md:flex-row p-4 gap-4 backdrop-blur-md bg-slate-200/20 dark:bg-black/20">
1111
<div className="flex flex-col gap-4 md:flex-1">
1212
<ul className="flex gap-4 flex-grow">
1313
{[

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/(overview)/setup-page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ export default function SetupPage(props: { toMetrics: () => void }) {
427427
<X className="w-4 h-4 ml-1 mt-0.5" />
428428
</Button>
429429
</div>
430-
<div className="flex gap-4 justify-center items-center border rounded-2xl py-4 px-8 backdrop-blur-md bg-white/20 dark:bg-black/20">
430+
<div className="flex gap-4 justify-center items-center border rounded-2xl py-4 px-8 backdrop-blur-md bg-slate-200/20 dark:bg-black/20">
431431
<GlobeIllustration />
432432

433433
<div className="flex flex-col gap-4">

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/sidebar-layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,14 +511,14 @@ export default function SidebarLayout(props: { projectId: string, children?: Rea
511511
return (
512512
<div className="w-full flex">
513513
{/* Left Sidebar */}
514-
<div className="flex-col border-r min-w-[240px] h-screen sticky top-0 hidden md:flex backdrop-blur-md bg-white/20 dark:bg-black/20 z-[10]">
514+
<div className="flex-col border-r min-w-[240px] h-screen sticky top-0 hidden md:flex backdrop-blur-md bg-slate-200/20 dark:bg-black/20 z-[10]">
515515
<SidebarContent projectId={props.projectId} />
516516
</div>
517517

518518
{/* Main Content Area */}
519519
<div className="flex flex-col flex-grow w-0">
520520
{/* Header */}
521-
<div className="h-14 border-b flex items-center justify-between sticky top-0 backdrop-blur-md bg-white/20 dark:bg-black/20 z-10 px-4 md:px-6">
521+
<div className="h-14 border-b flex items-center justify-between sticky top-0 backdrop-blur-md bg-slate-200/20 dark:bg-black/20 z-10 px-4 md:px-6">
522522
<div className="hidden md:flex">
523523
<HeaderBreadcrumb projectId={props.projectId} />
524524
</div>
@@ -558,7 +558,7 @@ export default function SidebarLayout(props: { projectId: string, children?: Rea
558558
</div>
559559

560560
{/* Stack Companion - Sticky positioned like left sidebar */}
561-
<div className="h-screen sticky top-0 backdrop-blur-md bg-white/20 dark:bg-black/20 z-[10]">
561+
<div className="h-screen sticky top-0 backdrop-blur-md bg-slate-200/20 dark:bg-black/20 z-[10]">
562562
<StackCompanion onExpandedChange={setCompanionExpanded} />
563563
</div>
564564
</div>

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/users/[userId]/page-client.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ function EditableInput({
125125
tabIndex={readOnly ? -1 : undefined}
126126
className={cn(
127127
"w-full px-1 py-0 h-[unset] border-transparent",
128-
/* Hover */ !readOnly && "hover:ring-1 hover:ring-slate-300 dark:hover:ring-slate-500 hover:bg-slate-100 dark:hover:bg-slate-800 hover:cursor-pointer",
129-
/* Focus */ !readOnly && "focus:cursor-[unset] focus-visible:ring-slate-500 dark:focus-visible:ring-slate-50 focus-visible:bg-slate-100 dark:focus-visible:bg-slate-800",
128+
/* Hover */ !readOnly && "hover:ring-1 hover:ring-slate-300 dark:hover:ring-gray-500 hover:bg-slate-50 dark:hover:bg-gray-800 hover:cursor-pointer",
129+
/* Focus */ !readOnly && "focus:cursor-[unset] focus-visible:ring-slate-500 dark:focus-visible:ring-gray-50 focus-visible:bg-slate-100 dark:focus-visible:bg-gray-800",
130130
readOnly && "focus-visible:ring-0 cursor-default",
131131
shiftTextToLeft && "ml-[-7px]",
132132
inputClassName,

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/widget-playground/page-client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1815,7 +1815,7 @@ function BigIconButton({ icon, children, ...props }: { icon: React.ReactNode} &
18151815
return (
18161816
<Button
18171817
variant="outline"
1818-
className={cn("h-20 w-20 p-1 rounded-full backdrop-blur-md bg-white/20 dark:bg-black/20")}
1818+
className={cn("h-20 w-20 p-1 rounded-full backdrop-blur-md bg-slate-200/20 dark:bg-black/20")}
18191819
{...props}
18201820
>
18211821
{icon}

apps/dashboard/src/app/globals.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
--success: 120 40% 50%;
3535
--success-foreground: 0 0% 98%;
3636

37-
--border: 240 5.9% 80%;
38-
--border-in-card: 240 5.9% 80%;
37+
--border: 240 5.9% 90%;
38+
--border-in-card: 240 5.9% 90%;
3939
--input: 240 5.9% 80%;
4040
--input-in-card: 240 5.9% 80%;
4141
--ring: 240 10% 3.9%;

apps/dashboard/src/components/navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function Navbar({ ...props }) {
1111
const { resolvedTheme, setTheme } = useTheme();
1212
return (
1313
<header
14-
className={`sticky top-0 z-30 flex items-center justify-between border-b backdrop-blur-md bg-white/20 dark:bg-black/20 px-4 shrink-0 ${props.className || ""}`}
14+
className={`sticky top-0 z-30 flex items-center justify-between border-b backdrop-blur-md bg-slate-200/20 dark:bg-black/20 px-4 shrink-0 ${props.className || ""}`}
1515
style={{ height: `50px` }}
1616
>
1717
<div className="flex items-center justify-center">

apps/dashboard/src/components/stack-companion.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ export function StackCompanion({ className, onExpandedChange }: StackCompanionPr
214214
{/* Single Expanding Sidebar */}
215215
<div
216216
className={cn(
217-
"h-screen bg-background border-l shadow-lg flex relative",
218-
isExpanded ? "" : "w-12",
217+
"h-screen border-l flex relative",
218+
isExpanded ? "shadow-lg" : "w-12",
219219
!isResizing ? "transition-all duration-300 ease-in-out" : ""
220220
)}
221221
style={isExpanded ? { width: `${width}px` } : undefined}

0 commit comments

Comments
 (0)