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
6 changes: 6 additions & 0 deletions packages/observer-dashboard/public/agent-relay-logo-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/observer-dashboard/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
204 changes: 94 additions & 110 deletions packages/observer-dashboard/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');
@import "tailwindcss";

/* ===== shadcn/ui theme mapping ===== */
@theme inline {
--color-background: var(--color-bg-primary);
--color-foreground: var(--color-text-primary);
Expand All @@ -29,136 +28,112 @@
--radius-lg: 0.75rem;
}

/* ===== Theme System - CSS Variables ===== */

:root,
.theme-dark {
color-scheme: dark;

/* Background Colors */
--color-bg-deep: #0a0a0f;
--color-bg-primary: #0d0d14;
--color-bg-secondary: #12121c;
--color-bg-tertiary: #181824;
--color-bg-card: #1a1a28;
--color-bg-elevated: #202030;
--color-bg-hover: rgba(255, 255, 255, 0.04);
--color-bg-active: rgba(255, 255, 255, 0.08);

/* Text Colors */
--color-text-primary: #f0f0f5;
--color-text-secondary: #a0a0b0;
--color-text-muted: #606070;
--color-text-dim: #404050;
--color-text-inverse: #0a0a0f;

/* Border Colors */
--color-border-default: rgba(255, 255, 255, 0.1);
--color-border-subtle: rgba(255, 255, 255, 0.06);
--color-border-light: rgba(255, 255, 255, 0.1);
--color-border-medium: rgba(255, 255, 255, 0.15);

/* Accent Colors - Neon */
--color-accent-cyan: #00d9ff;
--color-accent-orange: #ff6b35;
--color-accent-purple: #a855f7;
--color-accent-green: #00ffc8;
--color-accent-hover: #00b8d9;
--color-accent-light: rgba(0, 217, 255, 0.15);

/* Status Colors */
--color-success: #00ffc8;
--color-success-light: rgba(0, 255, 200, 0.15);
--color-warning: #ff6b35;
--color-warning-light: rgba(255, 107, 53, 0.15);
--color-error: #ff4757;
--color-error-light: rgba(255, 71, 87, 0.15);

/* Sidebar Colors */
--color-sidebar-bg: #0d0d14;
--color-sidebar-border: rgba(255, 255, 255, 0.08);
--color-sidebar-hover: rgba(255, 255, 255, 0.06);

/* Scrollbar */
--scrollbar-thumb: rgba(255, 255, 255, 0.1);
--scrollbar-thumb-hover: rgba(255, 255, 255, 0.2);

/* Selection */
--selection-bg: rgba(0, 217, 255, 0.15);
--selection-color: #00d9ff;

/* Focus */
--focus-color: #00d9ff;
--color-bg-primary: #0c0d13;
--color-bg-secondary: #12121a;
--color-bg-tertiary: #171824;
--color-bg-card: #161722;
--color-bg-elevated: #1c1d2b;
--color-bg-hover: rgba(129, 140, 248, 0.08);
--color-bg-active: rgba(129, 140, 248, 0.14);
--color-text-primary: #e4e4ef;
--color-text-secondary: #a3a3b7;
--color-text-muted: #78788e;
--color-text-dim: #55556a;
--color-text-inverse: #ffffff;
--color-border-default: rgba(120, 120, 160, 0.24);
--color-border-subtle: rgba(120, 120, 160, 0.14);
--color-border-light: rgba(120, 120, 160, 0.22);
--color-border-medium: rgba(120, 120, 160, 0.32);
--color-accent-cyan: #6366f1;
--color-accent-orange: #f59e0b;
--color-accent-purple: #a78bfa;
--color-accent-green: #34d399;
--color-accent-hover: #818cf8;
--color-accent-light: rgba(99, 102, 241, 0.16);
--color-success: #34d399;
--color-success-light: rgba(52, 211, 153, 0.14);
--color-warning: #f59e0b;
--color-warning-light: rgba(245, 158, 11, 0.14);
--color-error: #fb7185;
--color-error-light: rgba(251, 113, 133, 0.14);
--color-sidebar-bg: #0c0d13;
--color-sidebar-border: rgba(120, 120, 160, 0.18);
--color-sidebar-hover: rgba(129, 140, 248, 0.08);
--scrollbar-thumb: rgba(120, 120, 160, 0.24);
--scrollbar-thumb-hover: rgba(129, 140, 248, 0.4);
--selection-bg: rgba(99, 102, 241, 0.18);
--selection-color: #a5b4fc;
--focus-color: #818cf8;
}

.theme-light {
color-scheme: light;

/* Background Colors */
--color-bg-deep: #f8f9fa;
--color-bg-primary: #f0f2f5;
--color-bg-deep: #eef1ff;
--color-bg-primary: #f5f7ff;
--color-bg-secondary: #ffffff;
--color-bg-tertiary: #f5f6f8;
--color-bg-tertiary: #eef2ff;
--color-bg-card: #ffffff;
--color-bg-elevated: #ffffff;
--color-bg-hover: rgba(0, 0, 0, 0.04);
--color-bg-active: rgba(0, 0, 0, 0.08);

/* Text Colors */
--color-text-primary: #1a1a2e;
--color-text-secondary: #4a4a5a;
--color-text-muted: #6a6a7a;
--color-text-dim: #8a8a9a;
--color-bg-hover: rgba(99, 102, 241, 0.06);
--color-bg-active: rgba(99, 102, 241, 0.1);
--color-text-primary: #18182b;
--color-text-secondary: #4d4d68;
--color-text-muted: #72728c;
--color-text-dim: #9696ae;
--color-text-inverse: #ffffff;

/* Border Colors */
--color-border-default: rgba(0, 0, 0, 0.1);
--color-border-subtle: rgba(0, 0, 0, 0.06);
--color-border-light: rgba(0, 0, 0, 0.1);
--color-border-medium: rgba(0, 0, 0, 0.15);

/* Accent Colors */
--color-accent-cyan: #0099cc;
--color-accent-orange: #e55a2b;
--color-accent-purple: #8b44d9;
--color-accent-green: #00b894;
--color-accent-hover: #007aa3;
--color-accent-light: rgba(0, 153, 204, 0.12);

/* Status Colors */
--color-success: #00b894;
--color-success-light: rgba(0, 184, 148, 0.12);
--color-warning: #e55a2b;
--color-warning-light: rgba(229, 90, 43, 0.12);
--color-error: #e53935;
--color-error-light: rgba(229, 57, 53, 0.12);

/* Sidebar Colors */
--color-sidebar-bg: #f0f2f5;
--color-sidebar-border: rgba(0, 0, 0, 0.08);
--color-sidebar-hover: rgba(0, 0, 0, 0.06);

/* Scrollbar */
--scrollbar-thumb: rgba(0, 0, 0, 0.15);
--scrollbar-thumb-hover: rgba(0, 0, 0, 0.25);

/* Selection */
--selection-bg: rgba(0, 153, 204, 0.2);
--selection-color: #0099cc;

/* Focus */
--focus-color: #0099cc;
--color-border-default: rgba(99, 102, 241, 0.16);
--color-border-subtle: rgba(99, 102, 241, 0.1);
--color-border-light: rgba(99, 102, 241, 0.16);
--color-border-medium: rgba(99, 102, 241, 0.22);
--color-accent-cyan: #6366f1;
--color-accent-orange: #d97706;
--color-accent-purple: #8b5cf6;
--color-accent-green: #059669;
--color-accent-hover: #4f46e5;
--color-accent-light: rgba(99, 102, 241, 0.12);
--color-success: #059669;
--color-success-light: rgba(5, 150, 105, 0.12);
--color-warning: #d97706;
--color-warning-light: rgba(217, 119, 6, 0.12);
--color-error: #dc2626;
--color-error-light: rgba(220, 38, 38, 0.12);
--color-sidebar-bg: #f5f7ff;
--color-sidebar-border: rgba(99, 102, 241, 0.12);
--color-sidebar-hover: rgba(99, 102, 241, 0.06);
--scrollbar-thumb: rgba(99, 102, 241, 0.18);
--scrollbar-thumb-hover: rgba(99, 102, 241, 0.28);
--selection-bg: rgba(99, 102, 241, 0.16);
--selection-color: #4f46e5;
--focus-color: #6366f1;
}

/* ===== Base Styles ===== */

html,
body {
height: 100%;
overflow: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

body {
margin: 0;
}

* {
box-sizing: border-box;
}

button,
input,
textarea,
select {
font: inherit;
}

:focus-visible {
outline: 2px solid var(--focus-color);
outline-offset: 2px;
Expand Down Expand Up @@ -194,6 +169,15 @@ body {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}

@media (max-width: 1023px) {
html,
body {
overscroll-behavior: none;
touch-action: manipulation;
}
}

Expand Down
5 changes: 4 additions & 1 deletion packages/observer-dashboard/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import './globals.css';

export const metadata: Metadata = {
title: 'Agent Relay Observer',
description: 'Agent Relay Observer dashboard',
description: 'Observer dashboard for Agent Relay workspaces',
icons: {
icon: '/favicon.svg',
},
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
Expand Down
Loading
Loading