Skip to content

Commit ce807e1

Browse files
bchapuisclaude
andcommitted
Standardize on neutral grays across app and www chrome
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c7f56bb commit ce807e1

11 files changed

Lines changed: 17 additions & 17 deletions

File tree

apps/app/src/components/app-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function AppHeader() {
2626
"bg-neutral-300/50 hover:bg-neutral-300/50 dark:bg-neutral-600/50 dark:hover:bg-neutral-600/50";
2727

2828
return (
29-
<header className="flex h-12 shrink-0 items-center justify-between gap-2 ps-5 pe-3 border-b">
29+
<header className="flex h-12 shrink-0 items-center justify-between gap-2 ps-5 pe-3 border-b border-neutral-200 dark:border-neutral-800 bg-neutral-100 dark:bg-neutral-900">
3030
<div className="flex items-center gap-2">
3131
<Link to="/" className="flex items-center gap-2">
3232
<Bot className="h-6 w-6" />

apps/app/src/components/docs/code-block.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ export function CodeBlock({ children, className, language }: CodeBlockProps) {
7474
<div className="relative group">
7575
<pre
7676
className={cn(
77-
"mb-4 mt-6 overflow-x-auto rounded-lg border bg-zinc-950 text-white p-4",
77+
"mb-4 mt-6 overflow-x-auto rounded-lg border bg-neutral-950 text-white p-4",
7878
className
7979
)}
8080
>
8181
<div className="flex items-center justify-center h-20">
82-
<div className="text-zinc-400 text-sm">
82+
<div className="text-neutral-400 text-sm">
8383
Loading syntax highlighting...
8484
</div>
8585
</div>
@@ -93,7 +93,7 @@ export function CodeBlock({ children, className, language }: CodeBlockProps) {
9393
<Button
9494
size="icon"
9595
variant="ghost"
96-
className="absolute right-0 top-0 h-8 w-8 text-zinc-400 z-10"
96+
className="absolute right-0 top-0 h-8 w-8 text-neutral-400 z-10"
9797
onClick={handleCopy}
9898
>
9999
{copied ? <Check className="h-4 w-4" /> : <Copy className="h-4 w-4" />}

apps/app/src/components/layouts/inset-layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function InsetLayout({
2424
{title && (
2525
<div
2626
className={cn(
27-
"flex justify-between items-center mb-2 border-b px-6 py-2 sticky top-0 bg-background z-10",
27+
"flex justify-between items-center mb-2 border-b border-neutral-200 dark:border-neutral-800 px-6 py-2 sticky top-0 bg-background z-10",
2828
titleClassName
2929
)}
3030
>

apps/app/src/components/login-form.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ export function LoginForm({ className, returnTo, ...props }: LoginFormProps) {
7171
By signing up, you agree to our{" "}
7272
<a
7373
href={`${import.meta.env.VITE_WEBSITE_URL}/terms`}
74-
className="underline hover:text-gray-700"
74+
className="underline hover:text-neutral-700"
7575
>
7676
Terms of Service
7777
</a>{" "}
7878
and{" "}
7979
<a
8080
href={`${import.meta.env.VITE_WEBSITE_URL}/privacy`}
81-
className="underline hover:text-gray-700"
81+
className="underline hover:text-neutral-700"
8282
>
8383
Privacy Policy
8484
</a>

apps/app/src/components/sidebar/app-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function AppSidebar({
1414
return (
1515
<Sidebar
1616
collapsible="icon"
17-
className="flex-1 border-none sticky overflow-x-hidden"
17+
className="flex-1 border-none sticky overflow-x-hidden bg-neutral-50 dark:bg-neutral-800"
1818
{...props}
1919
>
2020
<SidebarContent className="h-full">

apps/app/src/components/ui/tag-filter-buttons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export function TagFilterButtons({
133133
"inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors",
134134
"focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
135135
"border-transparent bg-secondary text-secondary-foreground",
136-
"cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-800",
136+
"cursor-pointer hover:bg-neutral-200 dark:hover:bg-neutral-800",
137137
activeElement === "categories" &&
138138
focusedIndex === currentButtonIndex &&
139139
"ring-2 ring-ring",

apps/app/src/components/workflow/fields/geojson-field.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function GeoJSONField({
5555
strokeColor: "#3b82f6",
5656
strokeWidth: 2,
5757
fillColor: "rgba(59, 130, 246, 0.2)",
58-
backgroundColor: "#f8fafc",
58+
backgroundColor: "#fafafa",
5959
};
6060

6161
const result = geojsonToSvg(

apps/app/src/components/workflow/workflow-canvas.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ function StatusBar({ workflowStatus, errorMessage }: StatusBarProps) {
8989
label: "Error",
9090
},
9191
cancelled: {
92-
color: "text-gray-600 dark:text-gray-400",
93-
bg: "bg-gray-200 dark:bg-gray-700",
92+
color: "text-neutral-600 dark:text-neutral-400",
93+
bg: "bg-neutral-200 dark:bg-neutral-700",
9494
label: "Cancelled",
9595
},
9696
paused: {

apps/app/src/components/workflow/workflow-edge.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const WorkflowEdge = memo(
9999
const getColor = () => {
100100
if (!isValid) return "#f87171"; // red-400
101101
if (selected) return "#3b82f6"; // blue-500
102-
return "#d1d5db"; // gray-300
102+
return "#d4d4d4"; // neutral-300
103103
};
104104

105105
return renderPath(edgePath, getColor(), isActive, zIndex);
@@ -131,7 +131,7 @@ export const WorkflowConnectionLine = memo(
131131
const getColor = () => {
132132
if (connectionStatus === "invalid") return "#f87171"; // red-400
133133
if (connectionStatus === "valid") return "#16a34a"; // green-600
134-
return "#d1d5db"; // gray-300
134+
return "#d4d4d4"; // neutral-300
135135
};
136136

137137
return renderPath(edgePath, getColor(), false, undefined);

apps/www/src/components/site-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function SiteHeader() {
2626
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
2727

2828
return (
29-
<header className="sticky top-0 z-50 w-full px-6 py-4 bg-neutral-100 border-b border-gray-200">
29+
<header className="sticky top-0 z-50 w-full px-6 py-4 bg-neutral-100 border-b border-neutral-200">
3030
<div className="flex items-center justify-between">
3131
<a href="/" className="flex items-center gap-3">
3232
<img src="/icon.svg" alt="Dafthunk" className="h-8 w-8" />

0 commit comments

Comments
 (0)