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
2 changes: 1 addition & 1 deletion src/components/layout/AppFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
function AppFooter() {
return (
<footer
className="footer w-full px-4 text-center bg-gray-50"
className="footer w-full px-4 text-center bg-footer text-footer-foreground"
style={{ height: `${BOTTOM_FOOTER_HEIGHT}px` }}
>
<InlineStack className="w-full" align="space-between">
Expand Down
12 changes: 7 additions & 5 deletions src/components/layout/AppMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const AppMenu = () => {

return (
<div
className="w-full bg-stone-900 px-3 py-2.5 md:px-4"
className="w-full bg-header text-header-foreground px-3 py-2.5 md:px-4"
style={{ height: `${TOP_NAV_HEIGHT}px` }}
>
<InlineStack align="space-between" wrap="nowrap">
Expand All @@ -56,7 +56,7 @@ const AppMenu = () => {
</Link>

{title && (
<CopyText className="text-white text-md font-bold truncate max-w-32 sm:max-w-48 md:max-w-64 lg:max-w-md">
<CopyText className="text-header-foreground text-md font-bold truncate max-w-32 sm:max-w-48 md:max-w-64 lg:max-w-md">
{title}
</CopyText>
)}
Expand Down Expand Up @@ -84,18 +84,20 @@ const AppMenu = () => {
<Button
variant="ghost"
size="icon"
className="md:hidden text-white hover:bg-stone-800"
className="md:hidden text-header-foreground hover:bg-header/80"
aria-label="Open menu"
>
<Menu className="h-5 w-5" />
</Button>
</SheetTrigger>
<SheetContent
side="right"
className="w-fit bg-stone-900 border-stone-700 px-4"
className="w-fit bg-header border-header/50 px-4"
>
<SheetHeader>
<SheetTitle className="text-white">Actions</SheetTitle>
<SheetTitle className="text-header-foreground">
Actions
</SheetTitle>
</SheetHeader>
<BlockStack gap="3" className="mt-6">
<ImportPipeline />
Expand Down
7 changes: 6 additions & 1 deletion src/components/shared/ImportPipeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,12 @@ const ImportPipeline = ({ triggerComponent }: ImportPipelineProps) => {
const ButtonComponent = triggerComponent ? (
triggerComponent
) : (
<Button variant="secondary">Import Pipeline</Button>
<Button
variant="secondary"
className="border border-header-foreground/30 bg-transparent text-header-foreground hover:bg-header-foreground/10"
>
Import Pipeline
</Button>
);

return (
Expand Down
1 change: 1 addition & 0 deletions src/components/shared/NewPipelineButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const NewPipelineButton = () => {
variant="outline"
onClick={handleCreate}
data-testid="new-pipeline-button"
className="border-header-foreground/30 bg-transparent text-header-foreground hover:bg-header-foreground/10 hover:text-header-foreground"
>
New Pipeline
</Button>
Expand Down
164 changes: 88 additions & 76 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,88 +19,96 @@ code {
}

:root {
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
--background: oklch(0.985 0.005 260);
--foreground: oklch(0.2 0.02 260);
--card: oklch(1 0 0);
--card-foreground: oklch(0.145 0 0);
--card-foreground: oklch(0.2 0.02 260);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.145 0 0);
--primary: oklch(0.205 0 0);
--primary-foreground: oklch(0.985 0 0);
--secondary: oklch(0.97 0 0);
--secondary-foreground: oklch(0.205 0 0);
--muted: oklch(0.97 0 0);
--muted-foreground: oklch(0.556 0 0);
--accent: oklch(0.97 0 0);
--accent-foreground: oklch(0.205 0 0);
--destructive: oklch(0.577 0.245 27.325);
--destructive-foreground: oklch(0.577 0.245 27.325);
--warning: oklch(0.85 0.2 50);
--warning-foreground: oklch(0.145 0 0);
--success: oklch(0.7 0.18 140);
--success-foreground: oklch(0.145 0 0);
--info: oklch(0.6 0.13 235);
--info-foreground: oklch(0.145 0 0);
--border: oklch(0.922 0 0);
--input: oklch(0.922 0 0);
--ring: oklch(0.708 0 0);
--chart-1: oklch(0.646 0.222 41.116);
--chart-2: oklch(0.6 0.118 184.704);
--chart-3: oklch(0.398 0.07 227.392);
--chart-4: oklch(0.828 0.189 84.429);
--chart-5: oklch(0.769 0.188 70.08);
--popover-foreground: oklch(0.2 0.02 260);
--primary: oklch(0.55 0.25 265);
--primary-foreground: oklch(0.98 0 0);
--secondary: oklch(0.94 0.03 200);
--secondary-foreground: oklch(0.3 0.05 260);
--muted: oklch(0.95 0.015 260);
--muted-foreground: oklch(0.5 0.03 260);
--accent: oklch(0.65 0.22 330);
--accent-foreground: oklch(0.98 0 0);
--destructive: oklch(0.6 0.28 25);
--destructive-foreground: oklch(0.98 0 0);
--warning: oklch(0.8 0.18 75);
--warning-foreground: oklch(0.2 0 0);
--success: oklch(0.65 0.22 150);
--success-foreground: oklch(0.98 0 0);
--info: oklch(0.6 0.18 240);
--info-foreground: oklch(0.98 0 0);
--border: oklch(0.88 0.02 260);
--input: oklch(0.92 0.015 260);
--ring: oklch(0.55 0.25 265);
--chart-1: oklch(0.65 0.28 25);
--chart-2: oklch(0.6 0.22 150);
--chart-3: oklch(0.55 0.25 265);
--chart-4: oklch(0.75 0.2 75);
--chart-5: oklch(0.65 0.22 330);
--radius: 0.625rem;
--sidebar: oklch(0.985 0 0);
--sidebar-foreground: oklch(0.145 0 0);
--sidebar-primary: oklch(0.205 0 0);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.97 0 0);
--sidebar-accent-foreground: oklch(0.205 0 0);
--sidebar-border: oklch(0.922 0 0);
--sidebar-ring: oklch(0.708 0 0);
--edge-selected: #5b2ef4;
--sidebar: oklch(0.98 0.01 260);
--sidebar-foreground: oklch(0.2 0.02 260);
--sidebar-primary: oklch(0.55 0.25 265);
--sidebar-primary-foreground: oklch(0.98 0 0);
--sidebar-accent: oklch(0.92 0.04 265);
--sidebar-accent-foreground: oklch(0.3 0.05 260);
--sidebar-border: oklch(0.88 0.02 260);
--sidebar-ring: oklch(0.55 0.25 265);
--edge-selected: oklch(0.55 0.28 290);
--header: oklch(0.35 0.15 265);
--header-foreground: oklch(0.98 0 0);
--footer: oklch(0.96 0.02 200);
--footer-foreground: oklch(0.35 0.05 260);
}

.dark {
--background: oklch(0.145 0 0);
--foreground: oklch(0.985 0 0);
--card: oklch(0.145 0 0);
--card-foreground: oklch(0.985 0 0);
--popover: oklch(0.145 0 0);
--popover-foreground: oklch(0.985 0 0);
--primary: oklch(0.985 0 0);
--primary-foreground: oklch(0.205 0 0);
--secondary: oklch(0.269 0 0);
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.269 0 0);
--muted-foreground: oklch(0.708 0 0);
--accent: oklch(0.269 0 0);
--accent-foreground: oklch(0.985 0 0);
--destructive: oklch(0.396 0.141 25.723);
--destructive-foreground: oklch(0.637 0.237 25.331);
--warning: oklch(0.85 0.2 50);
--warning-foreground: oklch(0.145 0 0);
--success: oklch(0.7 0.18 140);
--success-foreground: oklch(0.145 0 0);
--info: oklch(0.6 0.13 235);
--info-foreground: oklch(0.145 0 0);
--border: oklch(0.269 0 0);
--input: oklch(0.269 0 0);
--ring: oklch(0.439 0 0);
--chart-1: oklch(0.488 0.243 264.376);
--chart-2: oklch(0.696 0.17 162.48);
--chart-3: oklch(0.769 0.188 70.08);
--chart-4: oklch(0.627 0.265 303.9);
--chart-5: oklch(0.645 0.246 16.439);
--sidebar: oklch(0.205 0 0);
--sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.488 0.243 264.376);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.269 0 0);
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(0.269 0 0);
--sidebar-ring: oklch(0.439 0 0);
--edge-selected: #5b2ef4;
--background: oklch(0.15 0.02 265);
--foreground: oklch(0.95 0.01 260);
--card: oklch(0.18 0.025 265);
--card-foreground: oklch(0.95 0.01 260);
--popover: oklch(0.2 0.03 265);
--popover-foreground: oklch(0.95 0.01 260);
--primary: oklch(0.7 0.22 265);
--primary-foreground: oklch(0.15 0.02 265);
--secondary: oklch(0.28 0.04 265);
--secondary-foreground: oklch(0.92 0.01 260);
--muted: oklch(0.25 0.03 265);
--muted-foreground: oklch(0.65 0.04 260);
--accent: oklch(0.72 0.2 330);
--accent-foreground: oklch(0.15 0.02 265);
--destructive: oklch(0.65 0.28 25);
--destructive-foreground: oklch(0.98 0 0);
--warning: oklch(0.82 0.18 75);
--warning-foreground: oklch(0.15 0 0);
--success: oklch(0.7 0.22 150);
--success-foreground: oklch(0.15 0 0);
--info: oklch(0.7 0.18 240);
--info-foreground: oklch(0.15 0 0);
--border: oklch(0.32 0.04 265);
--input: oklch(0.28 0.03 265);
--ring: oklch(0.7 0.22 265);
--chart-1: oklch(0.7 0.28 25);
--chart-2: oklch(0.7 0.22 150);
--chart-3: oklch(0.7 0.22 265);
--chart-4: oklch(0.8 0.2 75);
--chart-5: oklch(0.72 0.2 330);
--sidebar: oklch(0.18 0.025 265);
--sidebar-foreground: oklch(0.95 0.01 260);
--sidebar-primary: oklch(0.7 0.22 265);
--sidebar-primary-foreground: oklch(0.15 0.02 265);
--sidebar-accent: oklch(0.28 0.05 265);
--sidebar-accent-foreground: oklch(0.92 0.01 260);
--sidebar-border: oklch(0.32 0.04 265);
--sidebar-ring: oklch(0.7 0.22 265);
--edge-selected: oklch(0.7 0.28 290);
--header: oklch(0.22 0.08 265);
--header-foreground: oklch(0.95 0.01 260);
--footer: oklch(0.2 0.04 265);
--footer-foreground: oklch(0.8 0.03 260);
}

@theme inline {
Expand Down Expand Up @@ -147,6 +155,10 @@ code {
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-ring: var(--sidebar-ring);
--color-edge-selected: var(--edge-selected);
--color-header: var(--header);
--color-header-foreground: var(--header-foreground);
--color-footer: var(--footer);
--color-footer-foreground: var(--footer-foreground);

/* Custom animations */
--animate-revert-copied: revert-copied 0.5s ease-in-out forwards;
Expand Down